summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorsnj <snj>2004-04-11 09:28:20 +0000
committersnj <snj>2004-04-11 09:28:20 +0000
commitb768aa4557503ce172807cc1f056df6d9b0fa55d (patch)
tree11dcb1c0392cfa121bfa464ac5b247156a8cbb3d /time
parent3d06f5231434c90ff2e5425585c59f44abfc729c (diff)
downloadpkgsrc-b768aa4557503ce172807cc1f056df6d9b0fa55d.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"