summaryrefslogtreecommitdiff
path: root/devel/php-gmp
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2004-10-31 21:07:13 +0000
committerjdolecek <jdolecek@pkgsrc.org>2004-10-31 21:07:13 +0000
commit49e9ef7f781dc0f511e367dcdf4f2798c1b025ed (patch)
tree43db2985256b44525aca65ddff538530e5c2c223 /devel/php-gmp
parent52c19805011b2d8d525f4d2a6c01cf961940d9aa (diff)
downloadpkgsrc-49e9ef7f781dc0f511e367dcdf4f2798c1b025ed.tar.gz
extension modules must be able to override CONFIGURE_ARGS, so include
lang/php/ext.mk before setting CONFIGURE_ARGS
Diffstat (limited to 'devel/php-gmp')
-rw-r--r--devel/php-gmp/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/php-gmp/Makefile b/devel/php-gmp/Makefile
index ce8c3aff496..05cc445ee48 100644
--- a/devel/php-gmp/Makefile
+++ b/devel/php-gmp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2004/10/31 19:30:30 jdolecek Exp $
+# $NetBSD: Makefile,v 1.2 2004/10/31 21:07:14 jdolecek Exp $
MODNAME= gmp
CATEGORIES+= devel math
@@ -7,8 +7,9 @@ COMMENT= PHP extension for arbitrary precision math
USE_BUILDLINK3= YES
+.include "../../lang/php/ext.mk"
+
CONFIGURE_ARGS+= --with-${MODNAME}=shared,${BUILDLINK_PREFIX.gmp}
-.include "../../lang/php/ext.mk"
.include "../../devel/gmp/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"