Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Apr 2018 08:42:23 +0000 (UTC)
From:      Kirill Ponomarev <krion@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r466541 - head/www/mod_jk
Message-ID:  <201804050842.w358gNP8087332@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804050842.w358gNP8087332>