aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.php.mk
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2007-03-06 14:21:46 +0800
committerlinimon <linimon@FreeBSD.org>2007-03-06 14:21:46 +0800
commite8d109eb4834142d5f00defae6ed7da5e4961289 (patch)
tree52d289195ca2b11badf44bb742d6538fb451bf06 /Mk/bsd.php.mk
parent19f02f435ec1483bd094617e6f20ab7d67fe5f77 (diff)
downloadfreebsd-ports-gnome-e8d109eb4834142d5f00defae6ed7da5e4961289.tar.gz
freebsd-ports-gnome-e8d109eb4834142d5f00defae6ed7da5e4961289.tar.zst
freebsd-ports-gnome-e8d109eb4834142d5f00defae6ed7da5e4961289.zip
* Refine some comments about Linux emulation [1]
* Fix 'make search' with non-default ${PORTSDIR} [2] * Fix typo in USE_LDCONFIG32 message [3] * Allow USE_PHP after inclusion of bsd.port.pre.mk [4] * Document NO_LDCONFIG_MTREE [5] * Update/enhance description of INSTALLS_SHLIB and USE_LDCONFIG [6] * Remove obsolete code in bsd.port.mk dealing with 4.X and other, even older, releases [7] * Remove references to obsolete ports from bsd.java.mk [8] PR: 105883 [1], 105917 [2], 106195 [3], 106557 [4], 108738 [5], 108739 [6], 108782 [7], 103357 [8] Submitted by: bsam [1], shaun [2], edwin [3], ale [4], gerald [5] [6], linimon [7], kris [7], gabor [4]
Diffstat (limited to 'Mk/bsd.php.mk')
-rw-r--r--Mk/bsd.php.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/Mk/bsd.php.mk b/Mk/bsd.php.mk
index 90b70257781f..b22fab24fa86 100644
--- a/Mk/bsd.php.mk
+++ b/Mk/bsd.php.mk
@@ -31,8 +31,12 @@
# Don't specify any WANT_PHP_* knob if your port will work with every PHP SAPI.
#
+.if !defined(_PHPMKINCLUDED)
+
PHP_Include_MAINTAINER= ale@FreeBSD.org
+_PHPMKINCLUDED= yes
+
.if exists(${LOCALBASE}/etc/php.conf)
.include "${LOCALBASE}/etc/php.conf"
PHP_EXT_DIR!= ${LOCALBASE}/bin/php-config --extension-dir | ${SED} -ne 's,^${LOCALBASE}/lib/php/\(.*\),\1,p'
@@ -224,8 +228,10 @@ php-ini:
@${ECHO_CMD} "****************************************************************************"
.endif
+.endif
+
# Extensions
-.if ${USE_PHP:L} != "yes"
+.if defined(_POSTMKINCLUDED) && ${USE_PHP:L} != "yes"
# non-version specific components
_USE_PHP_ALL= bcmath bz2 calendar ctype curl dba dbase \
exif fileinfo fribidi ftp gd gettext gmp \