summaryrefslogtreecommitdiff
path: root/www/php4/Makefile.module
diff options
context:
space:
mode:
authorjlam <jlam>2001-04-30 03:25:15 +0000
committerjlam <jlam>2001-04-30 03:25:15 +0000
commitf0fedfccc30080fc9947d341fa92a0550ecbb90c (patch)
tree61fd15f75be34bfb6e53599917d87867500d9267 /www/php4/Makefile.module
parent78479b23ed42648b1e46fd8d99b5f180ff5cd201 (diff)
downloadpkgsrc-f0fedfccc30080fc9947d341fa92a0550ecbb90c.tar.gz
* Introduce variable ${PHP_CONFDIR} for location of php.ini configuration
file. It defaults to ${LOCALBASE}/etc. * Move example configuration files to ${PREFIX}/share/examples/php. * Ensure we export symbols when linking loadable shared object files during extension module creation.
Diffstat (limited to 'www/php4/Makefile.module')
-rw-r--r--www/php4/Makefile.module5
1 files changed, 4 insertions, 1 deletions
diff --git a/www/php4/Makefile.module b/www/php4/Makefile.module
index 1e92173c11f..ac74e520246 100644
--- a/www/php4/Makefile.module
+++ b/www/php4/Makefile.module
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.module,v 1.3 2001/03/01 18:18:17 jlam Exp $
+# $NetBSD: Makefile.module,v 1.4 2001/04/30 03:25:16 jlam Exp $
#
# This Makefile is provided to ease creating PHP4 packages for the extension
# modules distributed in the PHP4 sources.
@@ -25,6 +25,9 @@ MESSAGE_SUBST+= MODNAME=${MODNAME} \
PLIST_SRC= ${.CURDIR}/../../www/php4/pkg/PLIST.module
+# Ensure we export symbols in the linked shared objects.
+LDFLAGS+= -Wl,-E
+
do-build:
@cd ${EXTDIR}; ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${ALL_TARGET}