From bc2f6aca1a4ed97bd569db43dc0e05253efc9e00 Mon Sep 17 00:00:00 2001 From: jdolecek Date: Mon, 3 Sep 2007 19:51:40 +0000 Subject: fix build on Mac OS X - adjust so that the logic in package config.m4 would correctly find the builtin installation --- net/php-snmp/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'net/php-snmp') 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" -- cgit v1.2.3