aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2013-02-18 21:36:06 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2013-02-18 21:36:06 +0000
commit5a8a7836096e5b01547486f99a32714234229639 (patch)
treeacb35b7d86285deffc8f1344405de77d2a7cfced /sysutils
parent9f6bef882932310149a1542b3ded9a0f725362ed (diff)
downloadports-5a8a7836096e5b01547486f99a32714234229639.tar.gz
ports-5a8a7836096e5b01547486f99a32714234229639.zip
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/syslog-ng-devel/Makefile6
-rw-r--r--sysutils/syslog-ng/Makefile6
2 files changed, 6 insertions, 6 deletions
diff --git a/sysutils/syslog-ng-devel/Makefile b/sysutils/syslog-ng-devel/Makefile
index 3b3153508198..5dc2197bd537 100644
--- a/sysutils/syslog-ng-devel/Makefile
+++ b/sysutils/syslog-ng-devel/Makefile
@@ -81,8 +81,8 @@ CONFIGURE_ARGS+= --disable-tcp-wrapper
.endif
.if defined(WITH_SPOOF)
-BUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet-devel
-LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet116-config
+BUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet
+LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet11-config
CONFIGURE_ARGS+= --enable-spoof-source --with-libnet=${LOCALBASE}/bin
CFLAGS+= `${LIBNET_CONFIG} --cflags` -I${LOCALBASE}/include
LDFLAGS+= `${LIBNET_CONFIG} --libs`
@@ -142,7 +142,7 @@ CONFIGURE_ARGS+= --disable-linux-caps
.endif
post-patch:
- @${REINPLACE_CMD} -e 's:libnet-config:libnet115-config:g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's:libnet-config:libnet11-config:g' ${WRKSRC}/configure
@${LN} ${WRKSRC}/scl/syslog-ng.conf ${WRKSRC}/scl/syslog-ng.conf.dist
post-install:
diff --git a/sysutils/syslog-ng/Makefile b/sysutils/syslog-ng/Makefile
index 0961fee934c0..ab981d1d4e32 100644
--- a/sysutils/syslog-ng/Makefile
+++ b/sysutils/syslog-ng/Makefile
@@ -74,8 +74,8 @@ CONFIGURE_ARGS+= --disable-tcp-wrapper
.endif
.if defined(WITH_SPOOF)
-BUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet-devel
-LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet116-config
+LIB_DEPENDS+= net:${PORTSDIR}/net/libnet
+LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet11-config
CONFIGURE_ARGS+= --enable-spoof-source --with-libnet=${LOCALBASE}/bin
CFLAGS+= -g `${LIBNET_CONFIG} --cflags` -I${LOCALBASE}/include
LDFLAGS+= -g `${LIBNET_CONFIG} --libs`
@@ -130,7 +130,7 @@ PLIST_FILES+= sbin/syslog2ng
.endif
post-patch:
- @${REINPLACE_CMD} -e 's:libnet-config:libnet116-config:g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's:libnet-config:libnet11-config:g' ${WRKSRC}/configure
@${LN} ${WRKSRC}/scl/syslog-ng.conf ${WRKSRC}/scl/syslog-ng.conf.dist
@${FIND} ${WRKSRC} -name "*.orig" -delete