mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
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
This commit is contained in:
parent
8f3709040e
commit
b25f8b5999
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=421697
@ -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: invokes i386 asm
|
||||
|
||||
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
|
||||
|
12
devel/bunny/files/patch-Makefile
Normal file
12
devel/bunny/files/patch-Makefile
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user