summaryrefslogtreecommitdiffstats
path: root/www/mod_jk2
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2005-04-10 21:07:07 +0000
committerkris <kris@FreeBSD.org>2005-04-10 21:07:07 +0000
commit7bc2c8ff6198fbfea7b503db4e59c6e82fbbb446 (patch)
tree81d576791c173dc5d30f156a75ee01dcd494291f /www/mod_jk2
parentea0e163066046ff21a7bb5d95813e32b36e3cb1a (diff)
downloadFreeBSD-ports-7bc2c8ff6198fbfea7b503db4e59c6e82fbbb446.zip
FreeBSD-ports-7bc2c8ff6198fbfea7b503db4e59c6e82fbbb446.tar.gz
Only broken on sparc64 in the !WITH_APACHE2 case
Diffstat (limited to 'www/mod_jk2')
-rw-r--r--www/mod_jk2/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/www/mod_jk2/Makefile b/www/mod_jk2/Makefile
index f38831b..aa7d087 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
OpenPOWER on IntegriCloud