mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-06 11:41:52 +00:00
Fix build with ld.lld linker.
Add LICENSE while I'm on it. PR: 221800 Submitted by: emaste Approved by: portmgr (LLD_UNSAFE blanket)
This commit is contained in:
parent
1e6b771b72
commit
59e1e3ab82
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=466541
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user