diff options
author | dinoex <dinoex@FreeBSD.org> | 2013-02-19 05:36:06 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2013-02-19 05:36:06 +0800 |
commit | 3f434488504fbf2ce4107dc93d7475237624e4d0 (patch) | |
tree | acb35b7d86285deffc8f1344405de77d2a7cfced /sysutils/syslog-ng-devel | |
parent | 197ce9363526b211f5098f58511b184b601ba8ff (diff) | |
download | freebsd-ports-gnome-3f434488504fbf2ce4107dc93d7475237624e4d0.tar.gz freebsd-ports-gnome-3f434488504fbf2ce4107dc93d7475237624e4d0.tar.zst freebsd-ports-gnome-3f434488504fbf2ce4107dc93d7475237624e4d0.zip |
- fix option SPOOF
- move from libnet-devel -> libnet
- use LIB_DEPENDS for libnet
Diffstat (limited to 'sysutils/syslog-ng-devel')
-rw-r--r-- | sysutils/syslog-ng-devel/Makefile | 6 |
1 files changed, 3 insertions, 3 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: |