diff options
Diffstat (limited to 'www/php3-mysql/Makefile')
-rw-r--r-- | www/php3-mysql/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/www/php3-mysql/Makefile b/www/php3-mysql/Makefile index bf5859319a8..2cd683565d0 100644 --- a/www/php3-mysql/Makefile +++ b/www/php3-mysql/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2000/05/25 08:15:28 rh Exp $ +# $NetBSD: Makefile,v 1.7 2000/10/02 13:28:45 agc Exp $ # PKGNAME= php-mysql-${PHP_VERSION} @@ -9,6 +9,8 @@ CONFIGURE_ARGS+=--with-mysql=${LOCALBASE} BUILDING_EXTENSION_MODULE=yes +MESSAGE_FILE= ${WRKDIR}/MESSAGE + do-build: cd ${WRKSRC}/functions && \ ${COMPILE.c} -I.. -I. -I${LOCALBASE}/include/mysql -fPIC -DPIC -DCOMPILE_DL mysql.c && \ @@ -16,5 +18,7 @@ do-build: do-install: ${INSTALL_DATA} ${WRKSRC}/functions/mysql.so ${PREFIX}/lib/php3/ + ${SED} -e 's|@PREFIX@|${PREFIX}|g' ${PKGDIR}/MESSAGE >${MESSAGE_FILE} + .include "../php3/Makefile" |