summaryrefslogtreecommitdiff
path: root/www/libproxy/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'www/libproxy/patches/patch-aa')
-rw-r--r--www/libproxy/patches/patch-aa100
1 files changed, 100 insertions, 0 deletions
diff --git a/www/libproxy/patches/patch-aa b/www/libproxy/patches/patch-aa
new file mode 100644
index 00000000000..cc4519770fe
--- /dev/null
+++ b/www/libproxy/patches/patch-aa
@@ -0,0 +1,100 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/03/04 02:11:07 jmcneill Exp $
+
+--- configure.orig 2008-06-05 16:56:33.000000000 -0400
++++ configure
+@@ -20509,16 +20509,16 @@ fi
+ if test "${with_gnome+set}" = set; then
+ withval=$with_gnome;
+ else
+- test x$have_gconf == xyes &&
+- test x$have_x11 == xyes &&
+- test x$have_xmu == xyes &&
++ test x$have_gconf = xyes &&
++ test x$have_x11 = xyes &&
++ test x$have_xmu = xyes &&
+ with_gnome=yes
+ fi
+
+ if test x$with_gnome = xyes; then
+- if test x$have_gconf == xyes && \
+- test x$have_x11 == xyes && \
+- test x$have_xmu == xyes; then
++ if test x$have_gconf = xyes && \
++ test x$have_x11 = xyes && \
++ test x$have_xmu = xyes; then
+ GNOME_CFLAGS="$x11_CFLAGS $xmu_CFLAGS $gconf_CFLAGS"
+ GNOME_LIBS="$x11_LIBS $xmu_LIBS $gconf_LIBS"
+
+@@ -20545,14 +20545,14 @@ fi
+ if test "${with_kde+set}" = set; then
+ withval=$with_kde;
+ else
+- test x$have_x11 == xyes &&
+- test x$have_xmu == xyes &&
++ test x$have_x11 = xyes &&
++ test x$have_xmu = xyes &&
+ with_kde=yes
+ fi
+
+ if test x$with_kde = xyes; then
+- if test x$have_x11 == xyes && \
+- test x$have_xmu == xyes; then
++ if test x$have_x11 = xyes && \
++ test x$have_xmu = xyes; then
+ KDE_CFLAGS="$x11_CFLAGS $xmu_CFLAGS"
+ KDE_LIBS="$x11_LIBS $xmu_LIBS"
+
+@@ -20579,11 +20579,11 @@ fi
+ if test "${with_webkit+set}" = set; then
+ withval=$with_webkit;
+ else
+- test x$have_webkit == xyes && with_webkit=yes
++ test x$have_webkit = xyes && with_webkit=yes
+ fi
+
+ if test x$with_webkit = xyes; then
+- if test x$have_webkit == xyes; then
++ if test x$have_webkit = xyes; then
+ WEBKIT_CFLAGS="$webkit_CFLAGS"
+ WEBKIT_LIBS="$webkit_LIBS"
+
+@@ -20610,11 +20610,11 @@ fi
+ if test "${with_mozjs+set}" = set; then
+ withval=$with_mozjs;
+ else
+- test x$have_mozjs == xyes && with_mozjs=yes
++ test x$have_mozjs = xyes && with_mozjs=yes
+ fi
+
+ if test x$with_mozjs = xyes; then
+- if test x$have_mozjs == xyes; then
++ if test x$have_mozjs = xyes; then
+ MOZJS_CFLAGS="$mozjs_CFLAGS"
+ MOZJS_LIBS="$mozjs_LIBS"
+
+@@ -20641,11 +20641,11 @@ fi
+ if test "${with_networkmanager+set}" = set; then
+ withval=$with_networkmanager;
+ else
+- test x$have_networkmanager == xyes && with_networkmanager=yes
++ test x$have_networkmanager = xyes && with_networkmanager=yes
+ fi
+
+ if test x$with_networkmanager = xyes; then
+- if test x$have_networkmanager == xyes; then
++ if test x$have_networkmanager = xyes; then
+ NETWORKMANAGER_CFLAGS="$NetworkManager_CFLAGS"
+ NETWORKMANAGER_LIBS="$NetworkManager_LIBS"
+
+@@ -21611,6 +21611,11 @@ fi
+ PLUGINDIR=$libdir/$PACKAGE_NAME/$PACKAGE_VERSION/plugins
+
+ CFLAGS="-g -std=c99 $CFLAGS -DPLUGINDIR=\\\"$PLUGINDIR\\\" -DSYSCONFDIR=\\\"$sysconfdir\\\" -D_POSIX_C_SOURCE=1"
++case $host_os in
++ netbsd*)
++ CFLAGS="$CFLAGS -D_NETBSD_SOURCE"
++ ;;
++esac
+
+ ### Checks for library functions.
+