svn commit: r421698 - head/devel/cgit

John Marino marino at FreeBSD.org
Sat Sep 10 14:55:32 UTC 2016


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}


More information about the svn-ports-head mailing list