aboutsummaryrefslogtreecommitdiff
path: root/sysutils/syslog-ng3
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2009-08-26 22:26:23 +0000
committerCy Schubert <cy@FreeBSD.org>2009-08-26 22:26:23 +0000
commit7212f9e669a851548357c9e8c6cdb389ba809320 (patch)
tree92e2873b3bf6d1ff6352803e571da109dbd7c760 /sysutils/syslog-ng3
parent628e9ef57e3a8cebf0b2f3cdbc5743c8d1c5db35 (diff)
downloadports-7212f9e669a851548357c9e8c6cdb389ba809320.tar.gz
ports-7212f9e669a851548357c9e8c6cdb389ba809320.zip
Notes
Diffstat (limited to 'sysutils/syslog-ng3')
-rw-r--r--sysutils/syslog-ng3/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/sysutils/syslog-ng3/Makefile b/sysutils/syslog-ng3/Makefile
index 8ae3d821aa71..9209c4bb878e 100644
--- a/sysutils/syslog-ng3/Makefile
+++ b/sysutils/syslog-ng3/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