aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2018-04-05 16:42:23 +0800
committerkrion <krion@FreeBSD.org>2018-04-05 16:42:23 +0800
commitd5f9ad1dbf5ea37c87b9c8b9e76f8152a8a063ab (patch)
tree3111e5aaff1e2264b7d926ce945d8d26ce9889bc /www
parent45266216a7dd39651cc7b6827565aa3002cb5033 (diff)
downloadfreebsd-ports-gnome-d5f9ad1dbf5ea37c87b9c8b9e76f8152a8a063ab.tar.gz
freebsd-ports-gnome-d5f9ad1dbf5ea37c87b9c8b9e76f8152a8a063ab.tar.zst
freebsd-ports-gnome-d5f9ad1dbf5ea37c87b9c8b9e76f8152a8a063ab.zip
Fix build with ld.lld linker.
Add LICENSE while I'm on it. PR: 221800 Submitted by: emaste Approved by: portmgr (LLD_UNSAFE blanket)
Diffstat (limited to 'www')
-rw-r--r--www/mod_jk/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/www/mod_jk/Makefile b/www/mod_jk/Makefile
index cba30feaef03..1f5e8069d7fc 100644
--- a/www/mod_jk/Makefile
+++ b/www/mod_jk/Makefile
@@ -12,6 +12,8 @@ DISTNAME= tomcat-connectors-${PORTVERSION}-src
MAINTAINER?= girgen@FreeBSD.org
COMMENT?= Apache JK module for connecting to Tomcat using AJP1X
+LICENSE= APACHE20
+
USES= apache:2.2+ gmake
APACHE_VER= 2.0
GNU_CONFIGURE= yes
@@ -21,6 +23,10 @@ WRKSRC= ${WRKDIR}/tomcat-connectors-${PORTVERSION}-src/native
SUB_FILES= mod_jk.conf.sample pkg-message
+post-patch:
+ @${REINPLACE_CMD} -e 's|APXSLDFLAGS=@APXSLDFLAGS@|APXSLDFLAGS=@LDFLAGS@|g' \
+ ${WRKSRC}/apache-2.0/Makefile.in
+
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}
${APXS} -i -n jk -S LIBEXECDIR=${STAGEDIR}${PREFIX}/${APACHEMODDIR} ${WRKSRC}/apache-${APACHE_VER}/mod_jk.so