diff options
author | wiz <wiz@pkgsrc.org> | 2001-01-29 11:34:21 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2001-01-29 11:34:21 +0000 |
commit | b979f7222ad9bade13f010cd27e5bc6afab1681c (patch) | |
tree | 86f14acd24842161759a420487862022044c2b4b /www/php3-mysql | |
parent | 6a13219ca89e5dae86f27159ff86006058c06859 (diff) | |
download | pkgsrc-b979f7222ad9bade13f010cd27e5bc6afab1681c.tar.gz |
Add automatic ${VARIABLE} handling for MESSAGE files.
Convert most MESSAGE files to new syntax (${VARIABLE} gets replaced,
not @VARIABLE@, nor @@VARIABLE@@).
By default, substitutions are done for LOCALBASE, PKGNAME, PREFIX,
X11BASE, X11PREFIX; additional patterns can be added via MESSAGE_SUBST.
Clean up some packages while I'm there; add RCS tags to most MESSAGEs.
Remove some uninteresting MESSAGEs.
Diffstat (limited to 'www/php3-mysql')
-rw-r--r-- | www/php3-mysql/Makefile | 5 | ||||
-rw-r--r-- | www/php3-mysql/pkg/MESSAGE | 9 |
2 files changed, 7 insertions, 7 deletions
diff --git a/www/php3-mysql/Makefile b/www/php3-mysql/Makefile index b5e71690115..f6e8b9692da 100644 --- a/www/php3-mysql/Makefile +++ b/www/php3-mysql/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2000/10/21 23:04:34 wiz Exp $ +# $NetBSD: Makefile,v 1.9 2001/01/29 11:34:46 wiz Exp $ # PKGNAME= php-mysql-${PHP_VERSION} @@ -9,8 +9,6 @@ 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 && \ @@ -18,6 +16,5 @@ 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" diff --git a/www/php3-mysql/pkg/MESSAGE b/www/php3-mysql/pkg/MESSAGE index 57bb90dec6e..7ebad5c1862 100644 --- a/www/php3-mysql/pkg/MESSAGE +++ b/www/php3-mysql/pkg/MESSAGE @@ -1,12 +1,15 @@ -$NetBSD: MESSAGE,v 1.2 2000/10/02 14:29:23 agc Exp $ +====================================================================== +$NetBSD: MESSAGE,v 1.3 2001/01/29 11:34:47 wiz Exp $ To enable fully this package, you will need to ensure that the following lines appear in php3.ini (which is normally -@PREFIX@/etc/php3.ini) +${PREFIX}/etc/php3.ini) - extension_dir=@PREFIX@/lib/php3 + extension_dir=${PREFIX}/lib/php3 extension=mysql.so If you are using the ap-php3 package (php3 as an apache module), you will need to restart apache. The command "apachectl restart" will do this. + +====================================================================== |