From owner-svn-ports-all@freebsd.org Sat Sep 10 14:39:56 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 232FBBD5634; Sat, 10 Sep 2016 14:39:56 +0000 (UTC) (envelope-from marino@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 mx1.freebsd.org (Postfix) with ESMTPS id E82371049; Sat, 10 Sep 2016 14:39:55 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u8AEdtRF070523; Sat, 10 Sep 2016 14:39:55 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u8AEdt1b070521; Sat, 10 Sep 2016 14:39:55 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201609101439.u8AEdt1b070521@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Sat, 10 Sep 2016 14:39:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r421697 - in head/devel/bunny: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Sep 2016 14:39:56 -0000 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