From 0bca77fc7fe43d154981bc6fea2ecb35545faee6 Mon Sep 17 00:00:00 2001 From: hubertf Date: Fri, 27 Apr 2001 14:22:18 +0000 Subject: Make this pkg build with sun-jre/jdk: it comes with a include/linux dir, so we need to set -I to get the headers there. (There's some -I.../include/netbsd already, i guess that's for a NetBSD-native JDK or something, not touching that one). Adresses PR 12571 by Omar Asfour --- www/ap-jk/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'www/ap-jk') diff --git a/www/ap-jk/Makefile b/www/ap-jk/Makefile index ef9e0249716..a4f38f731da 100644 --- a/www/ap-jk/Makefile +++ b/www/ap-jk/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2001/04/21 13:42:39 wiz Exp $ +# $NetBSD: Makefile,v 1.3 2001/04/27 14:22:18 hubertf Exp $ DISTNAME= jakarta-tomcat-3.2.1-src PKGNAME= ap-jk-3.2.1 @@ -20,7 +20,9 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/src/native/apache1.3 do-build: (cd ${WRKSRC} && \ ${LOCALBASE}/sbin/apxs -o mod_jk.so \ - -I../jk -I${JAVA_HOME}/include -I${JAVA_HOME}/include/netbsd \ + -I../jk -I${JAVA_HOME}/include \ + -I${JAVA_HOME}/include/netbsd \ + -I${JAVA_HOME}/include/linux \ -c *.c ../jk/*.c) do-install: -- cgit v1.2.3