summaryrefslogtreecommitdiff
path: root/net/php-snmp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/php-snmp/Makefile')
-rw-r--r--net/php-snmp/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/net/php-snmp/Makefile b/net/php-snmp/Makefile
index 4f59d3804b7..2f6eb3115ce 100644
--- a/net/php-snmp/Makefile
+++ b/net/php-snmp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2006/06/04 16:26:55 joerg Exp $
+# $NetBSD: Makefile,v 1.9 2007/09/03 19:51:40 jdolecek Exp $
MODNAME= snmp
CATEGORIES+= net
@@ -6,7 +6,9 @@ COMMENT= PHP extension for SNMP
CONFLICTS= php-snmp-[0-9]*
-CONFIGURE_ARGS+= --with-${MODNAME}=${PREFIX}
+# use plain version withut =${PREFIX} - logic in config.m4 assumes net-snmp-config
+# is under ${PREFIX} when it's passed, which fails if it's buildin (such as on Mac OS X)
+CONFIGURE_ARGS+= --with-${MODNAME}
.include "../../lang/php/ext.mk"
.include "../../net/net-snmp/buildlink3.mk"