diff options
author | ale <ale@FreeBSD.org> | 2004-01-21 07:15:15 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2004-01-21 07:15:15 +0800 |
commit | c5f2e7f729cc4eae2d71c08e2d545cbb64c3c8c1 (patch) | |
tree | 7681893b1659e16cbb7312f320d7dd98e6851f03 /devel/ZendOptimizer | |
parent | 4349b2400e09fecee461d245874e203bbfd6d412 (diff) | |
download | freebsd-ports-graphics-c5f2e7f729cc4eae2d71c08e2d545cbb64c3c8c1.tar.gz freebsd-ports-graphics-c5f2e7f729cc4eae2d71c08e2d545cbb64c3c8c1.tar.zst freebsd-ports-graphics-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/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/devel/ZendOptimizer/Makefile b/devel/ZendOptimizer/Makefile index 9eceec54ff7..8c098997685 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}) |