summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-27 05:21:22 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-27 05:21:22 +0000
commit1e209f03d361b0f4462bacb6fc65142800b4dd69 (patch)
tree1fed7001a829f006a6ac3c86f00e17f6006a4a2e /net-analyzer/ntop/files
parentStable on x86; thanks to Thomas Cort for testing (diff)
downloadgentoo-2-1e209f03d361b0f4462bacb6fc65142800b4dd69.tar.gz
gentoo-2-1e209f03d361b0f4462bacb6fc65142800b4dd69.tar.bz2
gentoo-2-1e209f03d361b0f4462bacb6fc65142800b4dd69.zip
Make sure the inverted options are handled properly #111557.
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'net-analyzer/ntop/files')
-rw-r--r--net-analyzer/ntop/files/ntop-3.2-build.patch32
1 files changed, 26 insertions, 6 deletions
diff --git a/net-analyzer/ntop/files/ntop-3.2-build.patch b/net-analyzer/ntop/files/ntop-3.2-build.patch
index 8539b3a98168..eae246978929 100644
--- a/net-analyzer/ntop/files/ntop-3.2-build.patch
+++ b/net-analyzer/ntop/files/ntop-3.2-build.patch
@@ -131,18 +131,26 @@ cleanup autotools
ac_willfailoverride="no")
AC_ARG_ENABLE(void,
-@@ -665,63 +665,63 @@
+@@ -665,63 +665,83 @@
AC_ARG_WITH(ssl,
[ --without-ssl disable HTPPS support [[default=enabled]]],
- ac_disable_openssl="yes",
-+ ac_disable_openssl="$withval",
++ if test "x$withval" = xno; then
++ ac_disable_openssl="yes"
++ else
++ ac_disable_openssl="no"
++ fi,
ac_disable_openssl="no")
AC_ARG_WITH(zlib,
[ --without-zlib disable zlib [[default=enabled]]],
- ac_disable_zlib="yes",
-+ ac_disable_zlib="$withval",
++ if test "x$withval" = xno; then
++ ac_disable_zlib="yes"
++ else
++ ac_disable_zlib="no"
++ fi,
ac_disable_zlib="no")
AC_ARG_ENABLE(sslv3,
@@ -166,7 +174,11 @@ cleanup autotools
AC_ARG_ENABLE(plugins,
[ --disable-plugins disable compilation of plugins [[default=enabled]]],
- ac_disable_plugins="yes",
-+ ac_disable_plugins="$enableval",
++ if test "x$enableval" = xno; then
++ ac_disable_plugins="yes"
++ else
++ ac_disable_plugins="no"
++ fi,
ac_disable_plugins="no")
AC_ARG_ENABLE( static-plugins,
@@ -185,7 +197,11 @@ cleanup autotools
AC_ARG_ENABLE(snmp,
[ --disable-snmp Disable SNMP support [[default=disable]]],
- ac_disable_snmp="no",
-+ ac_disable_snmp="$enableval",
++ if test "x$enableval" = xno; then
++ ac_disable_snmp="yes"
++ else
++ ac_disable_snmp="no"
++ fi,
ac_disable_snmp="yes")
AC_ARG_ENABLE(i18n,
@@ -204,7 +220,11 @@ cleanup autotools
[ --disable-ipv6 use IPv6 [[default=enabled]]],
- ac_disable_ipv6="yes",
- ac_disable_ipv6="no")
-+ ac_disable_ipv6="$enableval",
++ if test "x$enableval" = xno; then
++ ac_disable_ipv6="yes"
++ else
++ ac_disable_ipv6="no"
++ fi,
+ ac_disable_ipv6="no")
dnl>