summaryrefslogtreecommitdiff
path: root/time/wmmoonclock
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2016-02-26 10:37:09 +0000
committerjperkin <jperkin@pkgsrc.org>2016-02-26 10:37:09 +0000
commit854303ef9fabaee206c3d1a404b33863c418665f (patch)
treeacd751a163f33099d1daf28d738586bb4208c259 /time/wmmoonclock
parentc049a2ca48d1150abe59446f3082ca4116323bc6 (diff)
downloadpkgsrc-854303ef9fabaee206c3d1a404b33863c418665f.tar.gz
Use OPSYSVARS.
Diffstat (limited to 'time/wmmoonclock')
-rw-r--r--time/wmmoonclock/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/time/wmmoonclock/Makefile b/time/wmmoonclock/Makefile
index 5ace2c452f8..a233e695ecd 100644
--- a/time/wmmoonclock/Makefile
+++ b/time/wmmoonclock/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2015/08/06 22:38:28 khorben Exp $
+# $NetBSD: Makefile,v 1.24 2016/02/26 10:37:09 jperkin Exp $
DISTNAME= wmMoonClock-1.27
PKGREVISION= 1
@@ -12,14 +12,9 @@ COMMENT= Shows lunar ephemeris to fairly high accuracy
WRKSRC= ${WRKDIR}/${DISTNAME}/Src
USE_TOOLS+= gmake
-MAKE_FLAGS+= CFLAGS=${CFLAGS:Q}
-MAKE_FLAGS+= EXTRA_LOCAL_LIBS=${EXTRA_LOCAL_LIBS:Q}
-
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "SunOS"
-EXTRA_LOCAL_LIBS= -lsocket
-.endif
+OPSYSVARS+= MAKE_FLAGS
+MAKE_FLAGS+= CFLAGS=${CFLAGS:Q}
+MAKE_FLAGS.SunOS+= EXTRA_LOCAL_LIBS=-lsocket
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1