Date: Sat, 10 Sep 2016 14:39:55 +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: r421697 - in head/devel/bunny: . files Message-ID: <201609101439.u8AEdt1b070521@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marino Date: Sat Sep 10 14:39:54 2016 New Revision: 421697 URL: https://svnweb.freebsd.org/changeset/ports/421697 Log: devel/bunny: Add cflags for SSL support, honor LDFLAGS I could have converted the LDFLAGS change into another sed instruction, but I choose to replace post-patch target with an actual patch for ease of comprehension. Approved by: SSSL blanket Added: head/devel/bunny/files/ head/devel/bunny/files/patch-Makefile (contents, props changed) Modified: head/devel/bunny/Makefile Modified: head/devel/bunny/Makefile ============================================================================== --- head/devel/bunny/Makefile Sat Sep 10 14:36:06 2016 (r421696) +++ head/devel/bunny/Makefile Sat Sep 10 14:39:54 2016 (r421697) @@ -15,6 +15,8 @@ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/COPYING USES= ssl tar:tgz +LDFLAGS+= -L${OPENSSLLIB} +CFLAGS+= -I${OPENSSLINC} WRKSRC= ${WRKDIR}/${PORTNAME} @@ -27,9 +29,6 @@ ONLY_FOR_ARCHS_REASON= Fails to compile: OPTIONS_DEFINE=DOCS -post-patch: - @${REINPLACE_CMD} -e '/^CFLAGS/d' ${WRKSRC}/${MAKEFILE} - do-install: .for f in ${PLIST_FILES} ${INSTALL_PROGRAM} ${WRKSRC}/${f:C/bin\///} ${STAGEDIR}${PREFIX}/bin Added: head/devel/bunny/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/bunny/files/patch-Makefile Sat Sep 10 14:39:54 2016 (r421697) @@ -0,0 +1,12 @@ +--- Makefile.orig 2007-11-06 11:04:07 UTC ++++ Makefile +@@ -19,8 +19,7 @@ + # + + PROGNAME = bunny-gcc bunny-trace bunny-exec bunny-flow bunny-main +-CFLAGS = -Wall -O3 -funroll-loops -fno-strict-aliasing -ffast-math -Wno-pointer-sign +-EX_LIBS = -lcrypto -lm ++EX_LIBS = $(LDFLAGS) -lcrypto -lm + + # CFLAGS = -Wall -g -ggdb -g3 -Wno-pointer-sign + # CFLAGS += -DDEBUG_TRACE=1
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609101439.u8AEdt1b070521>