aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/syslog-ng-devel
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2009-08-27 06:26:23 +0800
committercy <cy@FreeBSD.org>2009-08-27 06:26:23 +0800
commitecb9af618c9a4e8e7287144613cb88f85832b8d7 (patch)
tree36d40268847441ac5726b5117c88d105c39dfbdc /sysutils/syslog-ng-devel
parent9021c3f8996095f4f0899f70d44000f195542456 (diff)
downloadfreebsd-ports-graphics-ecb9af618c9a4e8e7287144613cb88f85832b8d7.tar.gz
freebsd-ports-graphics-ecb9af618c9a4e8e7287144613cb88f85832b8d7.tar.zst
freebsd-ports-graphics-ecb9af618c9a4e8e7287144613cb88f85832b8d7.zip
Add OpenSSL support.
PR: 138214 Submitted by: Chris Cowart <ccowart@rescomp.berkeley.edu>
Diffstat (limited to 'sysutils/syslog-ng-devel')
-rw-r--r--sysutils/syslog-ng-devel/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/sysutils/syslog-ng-devel/Makefile b/sysutils/syslog-ng-devel/Makefile
index 8ae3d821aa7..9209c4bb878 100644
--- a/sysutils/syslog-ng-devel/Makefile
+++ b/sysutils/syslog-ng-devel/Makefile
@@ -7,7 +7,7 @@
PORTNAME= syslog-ng
PORTVERSION= 3.0.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= http://www.balabit.com/downloads/files/syslog-ng/sources/$(PORTVERSION)/source/
PKGNAMESUFFIX= 3
@@ -27,13 +27,18 @@ GNU_CONFIGURE= yes
USE_GNOME= glib20
SUB_FILES= pkg-message
SUB_LIST= RC_SUBR_SUFFIX=${RC_SUBR_SUFFIX}
+USE_OPENSSL= yes
+
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet11-config
CONFIGURE_ARGS= --sysconfdir=${LOCALBASE}/etc --localstatedir=/var/db \
--enable-dynamic-linking --with-libnet=${LOCALBASE}/bin
-CONFIGURE_ENV= CFLAGS="`${LIBNET_CONFIG} --cflags`" \
- LDFLAGS="`${LIBNET_CONFIG} --libs`"
+CONFIGURE_ENV= CFLAGS="`${LIBNET_CONFIG} --cflags` ${CFLAGS}" \
+ LDFLAGS="`${LIBNET_CONFIG} --libs` ${LDFLAGS}" \
+ OPENSSL_CFLAGS="${OPENSSL_CFLAGS}" \
+ OPENSSL_LIBS="${OPENSSL_LDFLAGS} -lcrypto -lssl"
+
.if defined(WITH_TCP_WRAPPERS)
CONFIGURE_ARGS+=--enable-tcp-wrapper