summaryrefslogtreecommitdiff
path: root/Mk/bsd.php.mk
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2007-03-06 06:21:46 +0000
committerMark Linimon <linimon@FreeBSD.org>2007-03-06 06:21:46 +0000
commitfbcb891de43772c1492ca91807fe9cb01bd3ee29 (patch)
tree9c936cb8147055ab92d464167a799f5604c2f9b9 /Mk/bsd.php.mk
parent- Remove support for FreeBSD 4. (diff)
* 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]
Notes
Notes: svn path=/head/; revision=186638
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 \