summaryrefslogtreecommitdiff
path: root/net/pchar
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2000-07-03 15:13:18 +0000
committeragc <agc@pkgsrc.org>2000-07-03 15:13:18 +0000
commit59b8ebf0f390f391a264425f62b1b22c2a3b00d2 (patch)
tree8feb5eb29330ec8caebc36e8841c6e2143f6cc2c /net/pchar
parentc69d680f2945df9cff31f87c9ed6114c5880f6e8 (diff)
downloadpkgsrc-59b8ebf0f390f391a264425f62b1b22c2a3b00d2.tar.gz
Make this package work on Solaris.
Diffstat (limited to 'net/pchar')
-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