1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- Resolve IPV6 port logic issue when IPV6 support is disabled.

Reported by:	Dean Freeman <wfreeman@sourcefire.com>
Feature safe:	yes
This commit is contained in:
Ryan Steinmetz 2012-03-30 15:26:53 +00:00
parent 51bd89445a
commit 3c8b1c8015
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=293997

View File

@ -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