pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/php-snmp fix build on Mac OS X - adjust so that th...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6c193ef9a30e
branches:  trunk
changeset: 532895:6c193ef9a30e
user:      jdolecek <jdolecek%pkgsrc.org@localhost>
date:      Mon Sep 03 19:51:40 2007 +0000

description:
fix build on Mac OS X - adjust so that the logic in package config.m4 would correctly
find the builtin installation

diffstat:

 net/php-snmp/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 446eaa61b04e -r 6c193ef9a30e net/php-snmp/Makefile
--- a/net/php-snmp/Makefile     Mon Sep 03 17:01:00 2007 +0000
+++ b/net/php-snmp/Makefile     Mon Sep 03 19:51:40 2007 +0000
@@ -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 @@
 
 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"



Home | Main Index | Thread Index | Old Index