pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/time/sunclock Convert to buildlink3 and simplify by us...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/50d7096adf3a
branches:  trunk
changeset: 472549:50d7096adf3a
user:      snj <snj%pkgsrc.org@localhost>
date:      Sun Apr 11 09:28:20 2004 +0000

description:
Convert to buildlink3 and simplify by using CPPFLAGS.SunOS.

diffstat:

 time/sunclock/Makefile |  10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)

diffs (25 lines):

diff -r 33c24c6d2d7d -r 50d7096adf3a time/sunclock/Makefile
--- a/time/sunclock/Makefile    Sun Apr 11 09:23:06 2004 +0000
+++ b/time/sunclock/Makefile    Sun Apr 11 09:28:20 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2003/07/17 22:55:06 grant Exp $
+# $NetBSD: Makefile,v 1.7 2004/04/11 09:28:20 snj Exp $
 #
 
 DISTNAME=      sunclock-1.4
@@ -9,13 +9,9 @@
 MAINTAINER=    perry%NetBSD.org@localhost
 COMMENT=       Show which portion of the Earth's surface is illuminated by the Sun
 
-USE_BUILDLINK2=        yes
+USE_BUILDLINK3=        yes
 USE_IMAKE=     yes
 
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "SunOS"
-CPPFLAGS+=     -DUSE_PUTENV
-.endif
+CPPFLAGS.SunOS=        -DUSE_PUTENV
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index