summaryrefslogtreecommitdiff
path: root/net/pchar
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/pchar
parente928cf546372a3d49dac11dbc2bddc9216e4dc5c (diff)
downloadpkgsrc-c38a63e5d4278b3cbf0ab593b165910762a1d371.tar.gz
Use OPSYSVARS.
Diffstat (limited to 'net/pchar')
-rw-r--r--net/pchar/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/net/pchar/Makefile b/net/pchar/Makefile
index 923d16bdf97..a50ccc9a4c7 100644
--- a/net/pchar/Makefile
+++ b/net/pchar/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.40 2014/02/12 23:18:24 tron Exp $
+# $NetBSD: Makefile,v 1.41 2016/02/25 16:20:52 jperkin Exp $
DISTNAME= pchar-1.5
PKGREVISION= 4
@@ -28,9 +28,7 @@ CONFIGURE_ARGS+= --with-snmp=${BUILDLINK_PREFIX.net-snmp}
LIBS+= -lsnmp -lcrypto -ldes
.endif
-.if ${OPSYS} == "Darwin"
-CFLAGS+= -D__APPLE_USE_RFC_3542
-.endif
+CFLAGS.Darwin+= -D__APPLE_USE_RFC_3542
INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin