summaryrefslogtreecommitdiff
path: root/lang/php
diff options
context:
space:
mode:
authorjdolecek <jdolecek>2005-12-03 18:52:54 +0000
committerjdolecek <jdolecek>2005-12-03 18:52:54 +0000
commitcabba97504950c4b4e05958285111fce5510beaf (patch)
treeeda3e5c85ed3296e325c6f084cfa8fe322d8922a /lang/php
parent72a3c1e1ea9ae9160c9fa57623cd653bc3385ed5 (diff)
downloadpkgsrc-cabba97504950c4b4e05958285111fce5510beaf.tar.gz
automatically include extension-specific MESSAGE if it exists
Diffstat (limited to 'lang/php')
-rw-r--r--lang/php/ext.mk7
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: