summaryrefslogtreecommitdiff
path: root/www/libproxy
diff options
context:
space:
mode:
authorhasso <hasso@pkgsrc.org>2009-03-18 03:55:29 +0000
committerhasso <hasso@pkgsrc.org>2009-03-18 03:55:29 +0000
commit00495007da69a21266292f30ce618cf5e3be73ba (patch)
tree3004c635128140492935a1aa6946684c13275907 /www/libproxy
parenteb00ba66c274a957a72a0035a082afac459b5153 (diff)
downloadpkgsrc-00495007da69a21266292f30ce618cf5e3be73ba.tar.gz
Add back a CFLAGS hack for NetBSD overlooked by me in last commit.
Diffstat (limited to 'www/libproxy')
-rw-r--r--www/libproxy/distinfo4
-rw-r--r--www/libproxy/patches/patch-aa18
2 files changed, 16 insertions, 6 deletions
diff --git a/www/libproxy/distinfo b/www/libproxy/distinfo
index 2e5bd6e4c01..192b274846f 100644
--- a/www/libproxy/distinfo
+++ b/www/libproxy/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.2 2009/03/12 13:31:48 hasso Exp $
+$NetBSD: distinfo,v 1.3 2009/03/18 03:55:29 hasso Exp $
SHA1 (libproxy-0.2.3.tar.gz) = 2b2b00a179740548035a1145bbae600db9b0a2ce
RMD160 (libproxy-0.2.3.tar.gz) = c86c4f8403cb879380e101d074af469c960b5c1c
Size (libproxy-0.2.3.tar.gz) = 378773 bytes
-SHA1 (patch-aa) = ab5445d93d3dc0e17828ddb18c5e662ea982e262
+SHA1 (patch-aa) = b657736fc5dd29c33f099b757cfbe98735736dc5
SHA1 (patch-ab) = 092f99af979d3a456e188386a3e62da1ac6e843d
SHA1 (patch-ac) = 891e6217c1d7cd78a5f57afb8b1267aed8c1de75
SHA1 (patch-ad) = f88c2818f861533a504119333e5aff44bb12ce0f
diff --git a/www/libproxy/patches/patch-aa b/www/libproxy/patches/patch-aa
index 50cba895385..6101daa0d10 100644
--- a/www/libproxy/patches/patch-aa
+++ b/www/libproxy/patches/patch-aa
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.2 2009/03/12 13:31:48 hasso Exp $
+$NetBSD: patch-aa,v 1.3 2009/03/18 03:55:29 hasso Exp $
---- configure.ac.orig 2009-03-12 12:13:00 +0200
-+++ configure.ac 2009-03-12 12:15:44 +0200
+--- configure.ac.orig 2008-06-05 23:56:16 +0300
++++ configure.ac 2009-03-18 05:25:38 +0200
@@ -41,14 +41,14 @@ AC_ARG_WITH([gnome],
[AS_HELP_STRING([--with-gnome],
[build GNOME configuration plugin @<:@automatic@:>@])],
@@ -76,7 +76,17 @@ $NetBSD: patch-aa,v 1.2 2009/03/12 13:31:48 hasso Exp $
NETWORKMANAGER_CFLAGS="$NetworkManager_CFLAGS"
NETWORKMANAGER_LIBS="$NetworkManager_LIBS"
AC_SUBST(NETWORKMANAGER_CFLAGS)
-@@ -182,6 +182,9 @@ CFLAGS="-g -std=c99 $CFLAGS -DPLUGINDIR=
+@@ -178,10 +178,19 @@ PLUGINDIR=$libdir/$PACKAGE_NAME/$PACKAGE
+ AC_SUBST(PLUGINDIR)
+ 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.
AC_FUNC_MALLOC
#AC_CHECK_FUNCS([gethostbyname gethostname memset socket strdup strstr])