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 | 4b122787b2db27b69066dec8d6c3059823c980b1 (patch) | |
tree | eda3e5c85ed3296e325c6f084cfa8fe322d8922a /lang/php | |
parent | 10346852f02156385bdd8f25e6309f69ead20509 (diff) | |
download | pkgsrc-4b122787b2db27b69066dec8d6c3059823c980b1.tar.gz |
automatically include extension-specific MESSAGE if it exists
Diffstat (limited to 'lang/php')
-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: |