diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2018-04-05 08:42:23 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2018-04-05 08:42:23 +0000 |
commit | 59e1e3ab82edf9602f83848873e585d58d03b44a (patch) | |
tree | 3111e5aaff1e2264b7d926ce945d8d26ce9889bc | |
parent | www/nextcloud: Fix missing quote in examples (diff) |
Fix build with ld.lld linker.
Add LICENSE while I'm on it.
PR: 221800
Submitted by: emaste
Approved by: portmgr (LLD_UNSAFE blanket)
-rw-r--r-- | www/mod_jk/Makefile | 6 |
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 |