summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authoragc <agc>2000-07-03 15:13:18 +0000
committeragc <agc>2000-07-03 15:13:18 +0000
commit6ece0d7cc25a7d488788a662ca75874f477c9d75 (patch)
tree8feb5eb29330ec8caebc36e8841c6e2143f6cc2c /net
parent558d99ec9e1aea72acb4f8bd18d18a7d15008195 (diff)
downloadpkgsrc-6ece0d7cc25a7d488788a662ca75874f477c9d75.tar.gz
Make this package work on Solaris.
Diffstat (limited to 'net')
-rw-r--r--net/pchar/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/net/pchar/Makefile b/net/pchar/Makefile
index 7f0326dea04..f34b53d3ba1 100644
--- a/net/pchar/Makefile
+++ b/net/pchar/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2000/06/15 11:32:20 hubertf Exp $
+# $NetBSD: Makefile,v 1.6 2000/07/03 15:13:18 agc Exp $
DISTNAME= pchar-1.2
CATEGORIES= net
@@ -9,15 +9,18 @@ HOMEPAGE= http://www.ca.sandia.gov/~bmah/Software/pchar/
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-snmp=${PREFIX}
+BUILD_DEFS+= USE_INET6
-BUILD_DEFS+= USE_INET6
.include "../../mk/bsd.prefs.mk"
+
.if defined(USE_INET6) && ${USE_INET6} == YES
CONFIGURE_ARGS+= --with-ipv6
.endif
+.if ${OPSYS} == "NetBSD"
DEPENDS+= ucd-snmp-*:../../net/ucd-snmp
+CONFIGURE_ARGS+= --with-snmp=${PREFIX}
+.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pchar ${PREFIX}/sbin