aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2012-03-27 18:40:47 +0800
committermm <mm@FreeBSD.org>2012-03-27 18:40:47 +0800
commitfb7340c0135b8850ac7645ecaf40b3d20ce2d88c (patch)
tree0db55d7887a57b6d73add40e9f1e914fe95bcd24
parent21e79f6f53358a8ae0dff8ad2d66c9d5ac7b9703 (diff)
downloadfreebsd-ports-gnome-fb7340c0135b8850ac7645ecaf40b3d20ce2d88c.tar.gz
freebsd-ports-gnome-fb7340c0135b8850ac7645ecaf40b3d20ce2d88c.tar.zst
freebsd-ports-gnome-fb7340c0135b8850ac7645ecaf40b3d20ce2d88c.zip
Fix dependency on PHP if WITH_GEOIP is set
Reported by: Oliver Lehmann Feature safe: yes
-rw-r--r--devel/pear-Horde_Nls/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/devel/pear-Horde_Nls/Makefile b/devel/pear-Horde_Nls/Makefile
index 5a27eb43a4a3..723e0e59ea01 100644
--- a/devel/pear-Horde_Nls/Makefile
+++ b/devel/pear-Horde_Nls/Makefile
@@ -17,6 +17,12 @@ COMMENT= Horde Native Language Support
USE_HORDE_RUN= Horde_Translation Horde_Util
+.include <bsd.port.options.mk>
+
+.if defined(WITH_GEOIP)
+USE_PHP= yes
+.endif
+
.include <bsd.port.pre.mk>
.if defined(WITH_GEOIP)