aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ZendOptimizer
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2004-01-21 07:15:15 +0800
committerale <ale@FreeBSD.org>2004-01-21 07:15:15 +0800
commitc5f2e7f729cc4eae2d71c08e2d545cbb64c3c8c1 (patch)
tree7681893b1659e16cbb7312f320d7dd98e6851f03 /devel/ZendOptimizer
parent4349b2400e09fecee461d245874e203bbfd6d412 (diff)
downloadfreebsd-ports-gnome-c5f2e7f729cc4eae2d71c08e2d545cbb64c3c8c1.tar.gz
freebsd-ports-gnome-c5f2e7f729cc4eae2d71c08e2d545cbb64c3c8c1.tar.zst
freebsd-ports-gnome-c5f2e7f729cc4eae2d71c08e2d545cbb64c3c8c1.zip
ZendOptimizer works on 5.X, too, using the compat4x layer.
Submitted by: Chip Norkus <chip@lunarpages.com> Approved by: nork (mentor/implicitly)
Diffstat (limited to 'devel/ZendOptimizer')
-rw-r--r--devel/ZendOptimizer/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/devel/ZendOptimizer/Makefile b/devel/ZendOptimizer/Makefile
index 9eceec54ff7c..8c0989976851 100644
--- a/devel/ZendOptimizer/Makefile
+++ b/devel/ZendOptimizer/Makefile
@@ -23,11 +23,14 @@ NO_CDROM= "Redistribution of pre-compiled binaries is not permitted"
PKGMESSAGE= ${WRKDIR}/pkg-message
.include <bsd.port.pre.mk>
-.include "${.CURDIR}/../../lang/php4/bsd.php.mk"
+.include "${PORTSDIR}/lang/php4/bsd.php.mk"
# Check for FreeBSD version
-.if ${OSVERSION} < 400000 || ${OSVERSION} > 499999
-IGNORE= "This port is for FreeBSD 4 only"
+.if ${OSVERSION} >= 500000
+LIB_DEPENDS= c.4:${PORTSDIR}/misc/compat4x
+.endif
+.if ${OSVERSION} < 400000
+IGNORE= "This port is for FreeBSD 4 or above"
.else
# Check for ZendOptimizer sources
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})