summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2006-05-13 00:47:36 +0000
committerminskim <minskim@pkgsrc.org>2006-05-13 00:47:36 +0000
commit73582dead2e79ea9c231bf788fa8ce2c8a39008b (patch)
tree831a7ddc3bc875006d35c315f5681b7a2000a937
parent5cbc8b482736cacdbde016ac8252a50c8abb856b (diff)
downloadpkgsrc-73582dead2e79ea9c231bf788fa8ce2c8a39008b.tar.gz
Pass CPP to configure, which needs it to detect uid_t.
-rw-r--r--databases/php-mysql/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/databases/php-mysql/Makefile b/databases/php-mysql/Makefile
index d86a28abf56..32ad4e6ad47 100644
--- a/databases/php-mysql/Makefile
+++ b/databases/php-mysql/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2006/03/04 21:29:10 jlam Exp $
+# $NetBSD: Makefile,v 1.9 2006/05/13 00:47:36 minskim Exp $
MODNAME= mysql
PKGREVISION= 2
@@ -11,6 +11,7 @@ USE_PHP_EXT_PATCHES= yes
EVAL_PREFIX+= MYSQLDIR=mysql-client
CONFIGURE_ARGS+= --with-${MODNAME}=shared,${MYSQLDIR}
+CONFIGURE_ENV+= CPP=${CPP:Q}
LDFLAGS+= ${COMPILER_RPATH_FLAG}${LOCALBASE}/lib/mysql
.include "../../lang/php/ext.mk"