aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2012-02-09 02:55:37 +0800
committerpgollucci <pgollucci@FreeBSD.org>2012-02-09 02:55:37 +0800
commit42e4b2dc6007bb02fc3b7f1b3df2964d851b8c81 (patch)
tree21e9bc097f7ff135ecd5dfaa2fbd5a661621f527 /devel
parent6e29a25efd53bb0c7d23207aee11e1ec2f6186a9 (diff)
downloadfreebsd-ports-gnome-42e4b2dc6007bb02fc3b7f1b3df2964d851b8c81.tar.gz
freebsd-ports-gnome-42e4b2dc6007bb02fc3b7f1b3df2964d851b8c81.tar.zst
freebsd-ports-gnome-42e4b2dc6007bb02fc3b7f1b3df2964d851b8c81.zip
- Allow security/openssl to be used instead of base system
PR: ports/160593 Submitted by: bf Approved by: maintainer timeout (mm ; 152 days)
Diffstat (limited to 'devel')
-rw-r--r--devel/libevent2/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/devel/libevent2/Makefile b/devel/libevent2/Makefile
index d8d26bfbde9b..8f338c776d97 100644
--- a/devel/libevent2/Makefile
+++ b/devel/libevent2/Makefile
@@ -20,6 +20,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
FETCH_ARGS= -pRr
USE_GNOME= lthack
GNU_CONFIGURE= yes
+CONFIGURE_ENV= LDFLAGS="${LDFLAGS}"
USE_LDCONFIG= ${PREFIX}/lib/event2
OPTIONS= OPENSSL "Enable OpenSSL support" on \
@@ -34,6 +35,8 @@ CONFIGURE_ARGS+= --disable-openssl
PLIST_SUB+= OPENSSL="@comment "
.else
USE_OPENSSL= yes
+CPPFLAGS+= -I${OPENSSLINC}
+LDFLAGS+= -L${OPENSSLLIB}
PLIST_SUB+= OPENSSL=""
.endif