summaryrefslogtreecommitdiff
path: root/www/ap-jk
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2001-04-27 14:22:18 +0000
committerhubertf <hubertf@pkgsrc.org>2001-04-27 14:22:18 +0000
commit28b9afe67026caddab03697d151ef676f342bbc3 (patch)
tree08232609f5d5ffa65682fe704ec00aa064d5f154 /www/ap-jk
parent5ddce61d274f6888461dacbca92918280eacd8d8 (diff)
downloadpkgsrc-28b9afe67026caddab03697d151ef676f342bbc3.tar.gz
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 <oasfour@email.com>
Diffstat (limited to 'www/ap-jk')
-rw-r--r--www/ap-jk/Makefile6
1 files changed, 4 insertions, 2 deletions
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: