summaryrefslogtreecommitdiff
path: root/www/ap-php4
diff options
context:
space:
mode:
authorveego <veego>2001-10-19 09:55:31 +0000
committerveego <veego>2001-10-19 09:55:31 +0000
commit190e99e0b239f9445dd5061f6d5afd0ca4fa825b (patch)
tree0ca7b9ca74846b08da441813bd9132d582629d40 /www/ap-php4
parent5f566adacef90e72498fa443005e153ef16b6462 (diff)
downloadpkgsrc-190e99e0b239f9445dd5061f6d5afd0ca4fa825b.tar.gz
'LDFLAGS+=-Wl,--export-dynamic' doesn't work on Solaris.
Diffstat (limited to 'www/ap-php4')
-rw-r--r--www/ap-php4/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/www/ap-php4/Makefile b/www/ap-php4/Makefile
index 8a69a9e2d38..e784c0f6b6b 100644
--- a/www/ap-php4/Makefile
+++ b/www/ap-php4/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2001/10/16 04:54:23 jlam Exp $
+# $NetBSD: Makefile,v 1.17 2001/10/19 09:55:31 veego Exp $
.include "../php4/Makefile.php"
@@ -16,7 +16,9 @@ USE_BUILDLINK_ONLY= YES
CONFIGURE_ARGS+= --with-apxs=${LOCALBASE}/sbin/apxs
# Ensure we export symbols in the linked shared object.
+.if ${OPSYS} != "SunOS"
LDFLAGS+= -Wl,--export-dynamic
+.endif
do-install:
${INSTALL_DATA} ${WRKSRC}/.libs/libphp4.so \