From owner-svn-ports-head@freebsd.org Thu Apr 5 08:42:24 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7AC3CF95D3A; Thu, 5 Apr 2018 08:42:24 +0000 (UTC) (envelope-from krion@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1BBEE7048C; Thu, 5 Apr 2018 08:42:24 +0000 (UTC) (envelope-from krion@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 16A13204E3; Thu, 5 Apr 2018 08:42:24 +0000 (UTC) (envelope-from krion@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w358gNHg087333; Thu, 5 Apr 2018 08:42:23 GMT (envelope-from krion@FreeBSD.org) Received: (from krion@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w358gNP8087332; Thu, 5 Apr 2018 08:42:23 GMT (envelope-from krion@FreeBSD.org) Message-Id: <201804050842.w358gNP8087332@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: krion set sender to krion@FreeBSD.org using -f From: Kirill Ponomarev Date: Thu, 5 Apr 2018 08:42:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r466541 - head/www/mod_jk X-SVN-Group: ports-head X-SVN-Commit-Author: krion X-SVN-Commit-Paths: head/www/mod_jk X-SVN-Commit-Revision: 466541 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Apr 2018 08:42:24 -0000 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}