aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorzi <zi@FreeBSD.org>2012-03-30 23:26:53 +0800
committerzi <zi@FreeBSD.org>2012-03-30 23:26:53 +0800
commit431871ef10713922aa2e19df30d74f7bec3c1a44 (patch)
tree5bffda14838fa971386168e69625fe1f7fab9bca /security
parentb65bda9c9ca71e8bb9e7706f62676e21f3b35a14 (diff)
downloadfreebsd-ports-gnome-431871ef10713922aa2e19df30d74f7bec3c1a44.tar.gz
freebsd-ports-gnome-431871ef10713922aa2e19df30d74f7bec3c1a44.tar.zst
freebsd-ports-gnome-431871ef10713922aa2e19df30d74f7bec3c1a44.zip
- Resolve IPV6 port logic issue when IPV6 support is disabled.
Reported by: Dean Freeman <wfreeman@sourcefire.com> Feature safe: yes
Diffstat (limited to 'security')
-rw-r--r--security/snort/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/snort/Makefile b/security/snort/Makefile
index 6b7fe6cebda8..6e90fb6f5790 100644
--- a/security/snort/Makefile
+++ b/security/snort/Makefile
@@ -191,7 +191,7 @@ post-patch:
@${REINPLACE_CMD} -e 's|libdir)/pkgconfig|prefix)/libdata/pkgconfig|' ${WRKSRC}/Makefile.in \
${WRKSRC}/src/dynamic-preprocessors/libs/Makefile.in
@${REINPLACE_CMD} -e 's|libnet-config|${LIBNET_CONFIG}|g' ${WRKSRC}/configure
-.if !defined(WITH_IPV6)
+.if defined(WITHOUT_IPV6)
@${REINPLACE_CMD} -e 's|^ipvar |var |' ${WRKSRC}/etc/snort.conf
@${REINPLACE_CMD} -e '/normalize_ip6/s/^preprocessor/#preprocessor/' ${WRKSRC}/etc/snort.conf
@${REINPLACE_CMD} -e '/normalize_icmp6/s/^preprocessor/#preprocessor/' ${WRKSRC}/etc/snort.conf