svn commit: r466541 - head/www/mod_jk
Kirill Ponomarev
krion at FreeBSD.org
Thu Apr 5 08:42:24 UTC 2018
Author: krion
Date: Thu Apr 5 08:42:23 2018
New Revision: 466541
URL: https://svnweb.freebsd.org/changeset/ports/466541
Log:
Fix build with ld.lld linker.
Add LICENSE while I'm on it.
PR: 221800
Submitted by: emaste
Approved by: portmgr (LLD_UNSAFE blanket)
Modified:
head/www/mod_jk/Makefile
Modified: head/www/mod_jk/Makefile
==============================================================================
--- head/www/mod_jk/Makefile Thu Apr 5 08:21:24 2018 (r466540)
+++ head/www/mod_jk/Makefile Thu Apr 5 08:42:23 2018 (r466541)
@@ -12,6 +12,8 @@ DISTNAME= tomcat-connectors-${PORTVERSION}-src
MAINTAINER?= girgen at 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
@@ -20,6 +22,10 @@ CONFIGURE_ARGS+= --with-apxs=${APXS}
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}
More information about the svn-ports-all
mailing list