pkgsrc/www/ap-php4/Makefile
jlam 5f2fb1b9ff Ensure we export symbols when linking mod_ssl.so. Also use PERL5_REQD
instead of hardcoding perl-5.* in build dependency.
2001-04-30 03:27:30 +00:00

24 lines
603 B
Makefile

# $NetBSD: Makefile,v 1.11 2001/04/30 03:27:30 jlam Exp $
.include "../../www/php4/Makefile.common"
PKGNAME= ap-php-${PHP_BASE_VERS}nb1
COMMENT= PHP4: Hypertext Preprocessor (Apache module)
DEPENDS+= php-${PHP_VERS}:../../www/php4
DEPENDS+= apache>=1.3:../../www/apache
# For "apxs":
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 \
${PREFIX}/lib/httpd/mod_php4.so
.include "../../mk/bsd.pkg.mk"