NetBSD Problem Report #26869
Received: (qmail 7076 invoked by uid 605); 6 Sep 2004 18:59:17 -0000
Message-Id: <20040906185913.2E4A411152@narn.netbsd.org>
Date: Mon, 6 Sep 2004 18:59:13 +0000 (UTC)
From: geos@epost.de
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: georg.schwarz@freenet.de
To: gnats-bugs@gnats.NetBSD.org
Subject: pkgsrc/time/phoon fails to compile on IRIX 5.3 (and maybe others)
X-Send-Pr-Version: www-1.0
>Number: 26869
>Category: pkg
>Synopsis: pkgsrc/time/phoon fails to compile on IRIX 5.3 (and maybe others)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: is
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Sep 06 19:00:01 +0000 2004
>Closed-Date: Sat Sep 23 22:13:29 +0000 2006
>Last-Modified: Sat Sep 23 22:15:02 +0000 2006
>Originator: Georg Schwarz
>Release: current pkgsrc
>Organization:
>Environment:
IRIX lorenz 5.3 08031225 IP20 mips
>Description:
Compiling pkgsrc/time/phoon fails on IRIX 5.3 due to BSD being defined. IRIX is a SysV-style OS.
>How-To-Repeat:
>Fix:
patch the phoon Makefile to comment out the respective define (adapt the existing patch)
--- Makefile.orig1 Mon Sep 6 20:45:10 2004
+++ Makefile Mon Sep 6 20:45:21 2004
@@ -5,7 +5,7 @@
INSTALL = install
-DEFINES = -DBSD
+#DEFINES = -DBSD
#DEFINES = -DSYSV
CFLAGS += $(DEFINES)
Then add the following lines to the package Makefile:
--- Makefile.orig Mon Sep 6 20:45:52 2004
+++ Makefile Mon Sep 6 20:53:39 2004
@@ -12,4 +12,10 @@
WRKSRC= ${WRKDIR}/phoon
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "IRIX"
+MAKEFLAGS+= DEFINES=-DSYSV
+.else
+MAKEFLAGS+= DEFINES=-DBSD
+.endif
.include "../../mk/bsd.pkg.mk"
Other OSes (Solaris?) might also better be SYSV than BSD, too.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->is
Responsible-Changed-By: reed
Responsible-Changed-When: Tue Sep 7 02:11:37 UTC 2004
Responsible-Changed-Why:
Assigned to maintainer: is.
State-Changed-From-To: open->closed
State-Changed-By: schwarz@netbsd.org
State-Changed-When: Sat, 23 Sep 2006 22:13:29 +0000
State-Changed-Why:
fix applied to Makefile, treating IRIX correctly as SysV.
From: Georg Schwarz <schwarz@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/26869 CVS commit: pkgsrc/time/phoon
Date: Sat, 23 Sep 2006 22:12:15 +0000 (UTC)
Module Name: pkgsrc
Committed By: schwarz
Date: Sat Sep 23 22:12:15 UTC 2006
Modified Files:
pkgsrc/time/phoon: Makefile
Log Message:
IRIX is also a System V OS. Fixes PR#26869.
To generate a diff of this commit:
cvs rdiff -r1.8 -r1.9 pkgsrc/time/phoon/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.