aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/rsyslog3
diff options
context:
space:
mode:
authorsat <sat@FreeBSD.org>2008-05-15 12:54:42 +0800
committersat <sat@FreeBSD.org>2008-05-15 12:54:42 +0800
commit140a84f642075ed592c8f3263b723fe7fa6a763f (patch)
tree65fd5223d4e312b6e177eea4d1da2691473aa2dd /sysutils/rsyslog3
parent53b4afddb0f79ef3df83ab2985d9fc5773f3a943 (diff)
downloadfreebsd-ports-gnome-140a84f642075ed592c8f3263b723fe7fa6a763f.tar.gz
freebsd-ports-gnome-140a84f642075ed592c8f3263b723fe7fa6a763f.tar.zst
freebsd-ports-gnome-140a84f642075ed592c8f3263b723fe7fa6a763f.zip
- Depend on pkg-config [1]
- Add a debug knob Reported by: pointyhat via pav
Diffstat (limited to 'sysutils/rsyslog3')
-rw-r--r--sysutils/rsyslog3/Makefile5
-rw-r--r--sysutils/rsyslog3/bsd.rsyslog.mk1
2 files changed, 5 insertions, 1 deletions
diff --git a/sysutils/rsyslog3/Makefile b/sysutils/rsyslog3/Makefile
index 7a47d31575be..a8239aa1b83a 100644
--- a/sysutils/rsyslog3/Makefile
+++ b/sysutils/rsyslog3/Makefile
@@ -16,7 +16,10 @@ MAN8= rsyslogd.8
MAN5= rsyslog.conf.5
CONFIGURE_ARGS+=--enable-klog --disable-static --enable-mail \
- --enable-imfile --enable-imtemplate --enable-openssl \
+ --enable-imfile --enable-imtemplate --enable-openssl
+.ifdef WITH_DEBUG
+CONFIGURE_ARGS+=--enable-rtinst --enable-debug
+.endif
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
diff --git a/sysutils/rsyslog3/bsd.rsyslog.mk b/sysutils/rsyslog3/bsd.rsyslog.mk
index d824cd55a0a8..4fdb3afa7af9 100644
--- a/sysutils/rsyslog3/bsd.rsyslog.mk
+++ b/sysutils/rsyslog3/bsd.rsyslog.mk
@@ -9,6 +9,7 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+USE_GNOME+= pkgconfig
.ifdef MNAME
PKGNAMESUFFIX?= -${MNAME}