diff options
author | kris <kris@FreeBSD.org> | 2005-04-11 05:07:07 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2005-04-11 05:07:07 +0800 |
commit | 7bc2c8ff6198fbfea7b503db4e59c6e82fbbb446 (patch) | |
tree | 81d576791c173dc5d30f156a75ee01dcd494291f | |
parent | ea0e163066046ff21a7bb5d95813e32b36e3cb1a (diff) | |
download | freebsd-ports-gnome-7bc2c8ff6198fbfea7b503db4e59c6e82fbbb446.tar.gz freebsd-ports-gnome-7bc2c8ff6198fbfea7b503db4e59c6e82fbbb446.tar.zst freebsd-ports-gnome-7bc2c8ff6198fbfea7b503db4e59c6e82fbbb446.zip |
Only broken on sparc64 in the !WITH_APACHE2 case
-rw-r--r-- | www/mod_jk2/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/www/mod_jk2/Makefile b/www/mod_jk2/Makefile index f38831baa471..aa7d087b935d 100644 --- a/www/mod_jk2/Makefile +++ b/www/mod_jk2/Makefile @@ -29,14 +29,14 @@ WRKSRC= ${WRKDIR}/jakarta-tomcat-connectors-jk2-${PORTVERSION}-src/jk/native2 .include <bsd.port.pre.mk> -.if ${ARCH} == "sparc64" -BROKEN= "Fails to link on sparc64" -.endif - .if exists(${LOCALBASE}/include/apache2/apr.h) WITH_APACHE2= yes .endif +.if ${ARCH} == "sparc64" && !defined(WITH_APACHE2) +BROKEN= "Fails to link on sparc64" +.endif + .if defined(WITH_APACHE2) APACHE2= 2 PLIST_SUB= APACHE2=2 |