From cabba97504950c4b4e05958285111fce5510beaf Mon Sep 17 00:00:00 2001 From: jdolecek Date: Sat, 3 Dec 2005 18:52:54 +0000 Subject: automatically include extension-specific MESSAGE if it exists --- lang/php/ext.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'lang/php') 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: -- cgit v1.2.3