summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorghen <ghen@pkgsrc.org>2006-09-14 15:48:27 +0000
committerghen <ghen@pkgsrc.org>2006-09-14 15:48:27 +0000
commit48e5bd9779d8e30728d2ad858e6b471a7da27805 (patch)
treea8ac2c9ccbc85f4443a256f1e56f20ec3abf86bb
parenteac294bb90285474d321e1cc3f642a51de8f468c (diff)
downloadpkgsrc-48e5bd9779d8e30728d2ad858e6b471a7da27805.tar.gz
Advertize NET_SNMP_SYS_CONTACT, NET_SNMP_SYS_LOCATION, NET_SNMP_PERSISTENTDIR
and NET_SNMP_MIBDIRS as being user-settable.
-rw-r--r--net/net-snmp/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/net/net-snmp/Makefile b/net/net-snmp/Makefile
index fd7f1b45ac6..457fae5ab57 100644
--- a/net/net-snmp/Makefile
+++ b/net/net-snmp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.51 2006/07/29 16:48:27 adam Exp $
+# $NetBSD: Makefile,v 1.52 2006/09/14 15:48:27 ghen Exp $
DISTNAME= net-snmp-5.3.1
CATEGORIES= net
@@ -40,6 +40,11 @@ NET_SNMP_SYS_LOCATION?= defaultlocation
NET_SNMP_PERSISTENTDIR?= ${VARBASE}/net-snmp
NET_SNMP_MIBDIRS?= \$$HOME/.snmp/mibs:${PREFIX}/share/snmp/mibs:${PREFIX}/lib/tcl/tnm2.1.10/mibs:/usr/local/share/snmp/mibs
+BUILD_DEFS+= NET_SNMP_SYS_CONTACT
+BUILD_DEFS+= NET_SNMP_SYS_LOCATION
+BUILD_DEFS+= NET_SNMP_PERSISTENTDIR
+BUILD_DEFS+= NET_SNMP_MIBDIRS
+
CONFIGURE_ARGS+= --enable-shared
CONFIGURE_ARGS+= --with-defaults
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}