Subject: pkg/33259: net/ntp4 builds no tickadj on modern SunOS
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: S.P.Zeidler <spz@serpens.de>
List: pkgsrc-bugs
Date: 04/14/2006 11:10:00
>Number: 33259
>Category: pkg
>Synopsis: net/ntp4 builds no tickadj on modern SunOS
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Apr 14 11:10:00 +0000 2006
>Originator: S.P.Zeidler
>Release: pkgsrc-current
>Organization:
spz@serpens.de (S.P.Zeidler)
>Environment:
System: Solaris 9 with pkgsrc-current
Architecture: sparc
Machine: sparc
>Description:
net/ntp4 doesn't build tickadj on Sol 5 onwards so shouldn't try
to package it
>How-To-Repeat:
make package in net/ntp4
>Fix:
RCS file: /cvsroot/pkgsrc/net/ntp4/Makefile,v
retrieving revision 1.48
diff -u -r1.48 Makefile
--- Makefile 29 Dec 2005 06:22:00 -0000 1.48
+++ Makefile 14 Apr 2006 10:52:31 -0000
@@ -59,6 +59,8 @@
.elif ${OPSYS} == "IRIX"
TIMETRIM= "@comment "
NO_TIMETRIM= ""
+.elif ${OPSYS} == "SunOS" && ${LOWER_OPSYS} == "solaris"
+TIMETRIM= "@comment "
.endif
PLIST_SUBST+= TIMETRIM=${TIMETRIM} NO_TIMETRIM=${NO_TIMETRIM}
One might want to check for OS_VERSION as well, but I'm hard put to
believe in Sol 4 or less out there :-P