diff options
author | jlam <jlam@pkgsrc.org> | 2001-04-30 03:27:30 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-04-30 03:27:30 +0000 |
commit | 5f2fb1b9ffcd3e4fd48e82c7062638982d99795b (patch) | |
tree | 42df7740b067995cb63e2cc2baf23b7a35b849b2 | |
parent | 752f7906eba7fd00450f6ede1033b16db6552449 (diff) | |
download | pkgsrc-5f2fb1b9ffcd3e4fd48e82c7062638982d99795b.tar.gz |
Ensure we export symbols when linking mod_ssl.so. Also use PERL5_REQD
instead of hardcoding perl-5.* in build dependency.
-rw-r--r-- | www/ap-php4/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/www/ap-php4/Makefile b/www/ap-php4/Makefile index ec656cd3553..a2ed59467eb 100644 --- a/www/ap-php4/Makefile +++ b/www/ap-php4/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2001/03/28 17:56:09 jlam Exp $ +# $NetBSD: Makefile,v 1.11 2001/04/30 03:27:30 jlam Exp $ .include "../../www/php4/Makefile.common" @@ -10,12 +10,15 @@ DEPENDS+= php-${PHP_VERS}:../../www/php4 DEPENDS+= apache>=1.3:../../www/apache # For "apxs": -BUILD_DEPENDS+= perl-5.*:../../lang/perl5 +BUILD_DEPENDS+= perl>=${PERL5_REQD}:../../lang/perl5 CONFIGURE_ARGS+= --with-apxs=${LOCALBASE}/sbin/apxs +# Ensure we export symbols in the linked shared object. +LDFLAGS+= -Wl,-E + do-install: - ${INSTALL_DATA} ${WRKSRC}/.libs/libphp4.so \ + ${INSTALL_DATA} ${WRKSRC}/.libs/libphp4.so \ ${PREFIX}/lib/httpd/mod_php4.so .include "../../mk/bsd.pkg.mk" |