summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2004-04-11 09:28:20 +0000
committersnj <snj@pkgsrc.org>2004-04-11 09:28:20 +0000
commit13e38658aeac6050d1fe5bda8acd12a387788014 (patch)
tree11dcb1c0392cfa121bfa464ac5b247156a8cbb3d /time
parentfb9e8401e327ad4b59762f4ae307ac44328e1700 (diff)
downloadpkgsrc-13e38658aeac6050d1fe5bda8acd12a387788014.tar.gz
Convert to buildlink3 and simplify by using CPPFLAGS.SunOS.
Diffstat (limited to 'time')
-rw-r--r--time/sunclock/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/time/sunclock/Makefile b/time/sunclock/Makefile
index 7f16c50600f..d62d6dd4bf3 100644
--- a/time/sunclock/Makefile
+++ b/time/sunclock/Makefile
@@ -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 @@ MASTER_SITES= ${MASTER_SITE_XCONTRIB:=applications/}
MAINTAINER= perry@NetBSD.org
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"