diff options
author | jdolecek <jdolecek@pkgsrc.org> | 2005-12-03 18:52:54 +0000 |
---|---|---|
committer | jdolecek <jdolecek@pkgsrc.org> | 2005-12-03 18:52:54 +0000 |
commit | 2aca315d5f3e175bac18a66d27d8be0e41134705 (patch) | |
tree | eda3e5c85ed3296e325c6f084cfa8fe322d8922a | |
parent | 56477da8e499e19c095e0256edf79606ed6280ee (diff) | |
download | pkgsrc-2aca315d5f3e175bac18a66d27d8be0e41134705.tar.gz |
automatically include extension-specific MESSAGE if it exists
-rw-r--r-- | lang/php/ext.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lang/php/ext.mk b/lang/php/ext.mk index ffb867ed718..ba2fde57047 100644 --- a/lang/php/ext.mk +++ b/lang/php/ext.mk @@ -1,4 +1,4 @@ -# $NetBSD: ext.mk,v 1.12 2005/12/03 13:32:42 jdolecek Exp $ +# $NetBSD: ext.mk,v 1.13 2005/12/03 18:52:54 jdolecek Exp $ # # PHP extension package framework, for both PECL and bundled PHP extensions. # @@ -55,6 +55,11 @@ MESSAGE_SRC= ${.CURDIR}/../../lang/php/MESSAGE.module MESSAGE_SUBST+= MODNAME=${PKGMODNAME} MESSAGE_SUBST+= PHP_EXTENSION_DIR=${PHP_EXTENSION_DIR} +# Also include extension-specific message +.if exists(${.CURDIR}/MESSAGE) +MESSAGE_SRC+= ${.CURDIR}/MESSAGE +.endif + pre-configure: phpize-module phpize-module: |