diff options
author | kim <kim@pkgsrc.org> | 2001-06-21 22:44:03 +0000 |
---|---|---|
committer | kim <kim@pkgsrc.org> | 2001-06-21 22:44:03 +0000 |
commit | aa23164d61c3cc8dfb8ffac4414675fd4f1e69ba (patch) | |
tree | 94d506d2ee2464436e3915b36caa8f5958f5b0e7 /www | |
parent | 6f206944ae30e6b7f49c590cdef7a05391031801 (diff) | |
download | pkgsrc-aa23164d61c3cc8dfb8ffac4414675fd4f1e69ba.tar.gz |
Hyphens in module names are replaced with underscores in the file system.
Diffstat (limited to 'www')
-rw-r--r-- | www/php4/Makefile.module | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/www/php4/Makefile.module b/www/php4/Makefile.module index 15705fd79a0..9ae90694c46 100644 --- a/www/php4/Makefile.module +++ b/www/php4/Makefile.module @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.module,v 1.8 2001/05/03 14:31:01 jlam Exp $ +# $NetBSD: Makefile.module,v 1.9 2001/06/21 22:44:03 kim Exp $ # # This Makefile is provided to ease creating PHP4 packages for the extension # modules distributed in the PHP4 sources. @@ -19,12 +19,12 @@ PHP_MODULE_VERS= ${PHP_BASE_VERS}${PHP_PKG_VERS} DEPENDS+= php-${PHP_VERS}:../../www/php4 -EXTDIR= ${WRKSRC}/ext/${MODNAME} +EXTDIR= ${WRKSRC}/ext/${MODNAME:S/-/_/} MODULESDIR= ${WRKSRC}/modules -PLIST_SUBST+= MODNAME=${MODNAME} +PLIST_SUBST+= MODNAME=${MODNAME:S/-/_/} MESSAGE_SRC= ${.CURDIR}/../../www/php4/pkg/MESSAGE.module -MESSAGE_SUBST+= MODNAME=${MODNAME} +MESSAGE_SUBST+= MODNAME=${MODNAME:S/-/_/} MESSAGE_SUBST+= PHP_EXTENSION_DIR=${PHP_EXTENSION_DIR} PLIST_SRC= ${.CURDIR}/../../www/php4/pkg/PLIST.module @@ -39,5 +39,5 @@ do-install: do-module-install do-module-install: ${INSTALL_DATA_DIR} ${PREFIX}/${PHP_EXTENSION_DIR} - ${INSTALL_DATA} ${MODULESDIR}/${MODNAME}.so \ + ${INSTALL_DATA} ${MODULESDIR}/${MODNAME:S/-/_/}.so \ ${PREFIX}/${PHP_EXTENSION_DIR} |