summaryrefslogtreecommitdiff
path: root/net/php-snmp
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2007-09-03 19:51:40 +0000
committerjdolecek <jdolecek@pkgsrc.org>2007-09-03 19:51:40 +0000
commitbc2f6aca1a4ed97bd569db43dc0e05253efc9e00 (patch)
tree71c7567adbccc7e7cafb44fa7adda6dc0a38fe8b /net/php-snmp
parente52f1d9e8f30f6fe66d4292aa9d2265a41519dbd (diff)
downloadpkgsrc-bc2f6aca1a4ed97bd569db43dc0e05253efc9e00.tar.gz
fix build on Mac OS X - adjust so that the logic in package config.m4 would correctly
find the builtin installation
Diffstat (limited to 'net/php-snmp')
-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"