aboutsummaryrefslogtreecommitdiff
path: root/sysutils/syslog-ng/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/syslog-ng/Makefile')
-rw-r--r--sysutils/syslog-ng/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/sysutils/syslog-ng/Makefile b/sysutils/syslog-ng/Makefile
index 142009bf04c7..0e70b48c3b8d 100644
--- a/sysutils/syslog-ng/Makefile
+++ b/sysutils/syslog-ng/Makefile
@@ -41,7 +41,7 @@ SUB_FILES= pkg-message
INSTALL_TARGET= install-strip
CONFIGURE_ARGS= --sysconfdir=${LOCALBASE}/etc --localstatedir=/var/db \
- --enable-dynamic-linking \
+ --enable-dynamic-linking --disable-linux-caps \
--enable-debug --enable-manpages \
--datadir=${PREFIX}/share/syslog-ng/
@@ -125,12 +125,6 @@ PLIST_FILES+= lib/syslog-ng/libjson-plugin.so
CONFIGURE_ARGS+= --disable-json
.endif
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 900034
-CONFIGURE_ARGS+= --disable-linux-caps
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's:libnet-config:libnet11-config:g' \
${WRKSRC}/configure
@@ -154,4 +148,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/lib/ivykis/src/include/iv*.h \
${STAGEDIR}${PREFIX}/include/syslog-ng/
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>