blob: 547a14171f8cad20eb8f70f465542b1df94f14df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# $NetBSD: Makefile,v 1.32 2003/09/12 20:07:29 grant Exp $
#
PKGNAME= ap-php-${PHP_BASE_VERS}
PKGREVISION= # empty
COMMENT= Apache (${PKG_APACHE}) module for PHP4
DEPENDS+= php>=${PHP_BASE_VERS}:../../www/php4
USE_BUILDLINK2= YES
APACHE_MODULE= YES
SHLIBTOOL_OVERRIDE= ${WRKSRC}/libtool
.include "../../www/php4/Makefile.php"
# Ensure we export symbols in the linked shared object.
LDFLAGS+= ${EXPORT_SYMBOLS_LDFLAGS}
do-install:
${INSTALL_DATA} ${WRKSRC}/.libs/libphp4.so \
${PREFIX}/lib/httpd/mod_php4.so
.include "../../mk/apache.mk"
.include "../../mk/bsd.pkg.mk"
|