diff options
author | clsung <clsung@FreeBSD.org> | 2007-02-07 09:36:47 +0800 |
---|---|---|
committer | clsung <clsung@FreeBSD.org> | 2007-02-07 09:36:47 +0800 |
commit | 83dbcafb66755389c8d782445a7568875b49d5b0 (patch) | |
tree | 8c2b533662e5445efb3c6e25558ca63ecaf49757 /security | |
parent | 7d59c84cf3107eccf823cd36dfd1f9038d89a5a6 (diff) | |
download | freebsd-ports-gnome-83dbcafb66755389c8d782445a7568875b49d5b0.tar.gz freebsd-ports-gnome-83dbcafb66755389c8d782445a7568875b49d5b0.tar.zst freebsd-ports-gnome-83dbcafb66755389c8d782445a7568875b49d5b0.zip |
- fix configure errors when WITH_FLEXRESP, WITH_FLEXRESP2
- bump PORTREVISION
Diffstat (limited to 'security')
-rw-r--r-- | security/snort/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/security/snort/Makefile b/security/snort/Makefile index 46bd022e9671..b30412e7f637 100644 --- a/security/snort/Makefile +++ b/security/snort/Makefile @@ -7,7 +7,7 @@ PORTNAME= snort PORTVERSION= 2.6.1.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MASTER_SITES= http://www.snort.org/dl/current/ @@ -59,7 +59,7 @@ LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet11-config LIBNET_CFLAGS!= ${LIBNET_CONFIG} --cflags LIBNET_LIBS!= ${LIBNET_CONFIG} --libs LIBNET_INCDIR= ${LIBNET_CFLAGS:M-I*:S/-I//} -LIBNET_LIBDIR= ${LIBNET_CFLAGS:M-L*:S/-L//} +LIBNET_LIBDIR= ${LIBNET_LIBS:M-L*:S/-L//} .endif .if !defined(WITHOUT_DYNAMIC) @@ -132,6 +132,9 @@ post-patch: ${REINPLACE_CMD} "s,/etc/snort.conf,${CONFIG_DIR}/snort.conf," \ ${WRKSRC}/src/snort.c ${WRKSRC}/snort.8 ${REINPLACE_CMD} -e 's|lib/snort_|lib/snort/|g' ${WRKSRC}/etc/snort.conf +.if exists(${LIBNET_CONFIG}) + ${REINPLACE_CMD} -e 's|libnet-config|${LIBNET_CONFIG}|g' ${WRKSRC}/configure +.endif .if defined(WITHOUT_DYNAMIC) ${REINPLACE_CMD} -e "s,-am: install-libLTLIBRARIES,-am:," \ ${WRKSRC}/src/dynamic-plugins/sf_engine/Makefile.in |