Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Sep 2016 14:55:31 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r421698 - head/devel/cgit
Message-ID:  <201609101455.u8AEtVE8078102@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Sat Sep 10 14:55:31 2016
New Revision: 421698
URL: https://svnweb.freebsd.org/changeset/ports/421698

Log:
  devel/cgit: Sed in flags for USES=ssl (supports ports SSL)
  
  Passing through CFLAGS and LDFLAGS definitions doesn't work
  
  Approved by:	SSL blanket

Modified:
  head/devel/cgit/Makefile

Modified: head/devel/cgit/Makefile
==============================================================================
--- head/devel/cgit/Makefile	Sat Sep 10 14:39:54 2016	(r421697)
+++ head/devel/cgit/Makefile	Sat Sep 10 14:55:31 2016	(r421698)
@@ -38,7 +38,10 @@ post-extract:
 	@${MV} ${WRKDIR}/git-${GIT_VERSION} ${WRKSRC}/git
 
 post-patch:
-	@${REINPLACE_CMD} -e 's/-liconv/${ICONV_LIB}/' ${WRKSRC}/git/Makefile
+	@${REINPLACE_CMD} -e 's/-liconv/${ICONV_LIB}/' \
+		-e "s|\(ALL_CFLAGS =\)|\1 -I${OPENSSLINC}|g" \
+		-e "s|\(ALL_LDFLAGS =\)|\1 -L${OPENSSLLIB}|g" \
+		${WRKSRC}/git/Makefile
 
 post-install:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}



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