summaryrefslogtreecommitdiff
path: root/net/icsi-finger
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2016-02-25 16:20:49 +0000
committerjperkin <jperkin@pkgsrc.org>2016-02-25 16:20:49 +0000
commitc38a63e5d4278b3cbf0ab593b165910762a1d371 (patch)
tree97af6be06b9ddcb0ed7c9f9c32a4c4f218021b96 /net/icsi-finger
parente928cf546372a3d49dac11dbc2bddc9216e4dc5c (diff)
downloadpkgsrc-c38a63e5d4278b3cbf0ab593b165910762a1d371.tar.gz
Use OPSYSVARS.
Diffstat (limited to 'net/icsi-finger')
-rw-r--r--net/icsi-finger/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/net/icsi-finger/Makefile b/net/icsi-finger/Makefile
index 349adbad94e..8353276a93d 100644
--- a/net/icsi-finger/Makefile
+++ b/net/icsi-finger/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2015/11/08 21:41:25 dholland Exp $
+# $NetBSD: Makefile,v 1.29 2016/02/25 16:20:51 jperkin Exp $
#
DISTNAME= icsi-finger-1.0.29
@@ -16,22 +16,19 @@ WRKSRC= ${WRKDIR}/finger
XMPLD= ${DESTDIR}${PREFIX}/share/examples/icsi-finger
XMPLDT= ${XMPLD}/targets
-.include "../../mk/compiler.mk"
-.include "../../mk/bsd.prefs.mk"
-
INSTALLATION_DIRS= bin libexec sbin
INSTALLATION_DIRS+= ${PKGMANDIR}/man1 ${PKGMANDIR}/man5 ${PKGMANDIR}/man8
INSTALLATION_DIRS+= share/examples/icsi-finger/targets
TOOL_DEPENDS+= tradcpp-[0-9]*:../../devel/tradcpp
+.include "../../mk/compiler.mk"
+
.if !empty(PKGSRC_COMPILER:Mclang)
CPPFLAGS+= -Wno-error=return-type
.endif
-.if ${OPSYS} == "SunOS"
-MAKE_ENV+= CPP_ARGS=-DSVR4
-.endif
+MAKE_ENV.SunOS+= CPP_ARGS=-DSVR4
pre-configure:
chmod +w ${WRKSRC}/config.h