summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2013-12-13 10:42:57 +0000
committerjperkin <jperkin@pkgsrc.org>2013-12-13 10:42:57 +0000
commita26be1e2fe22b34a5a09e3470539f1b436c63054 (patch)
tree653f37e71d4437e9a2e98859530a820f44963732 /net
parent07db4382a8453c16255fadf1942eca4a8eb9b9e5 (diff)
downloadpkgsrc-a26be1e2fe22b34a5a09e3470539f1b436c63054.tar.gz
Don't play games with CFLAGS/CPPFLAGS and munging -isystem, fixes SunOS.
Diffstat (limited to 'net')
-rw-r--r--net/libcares/distinfo3
-rw-r--r--net/libcares/patches/patch-configure37
2 files changed, 39 insertions, 1 deletions
diff --git a/net/libcares/distinfo b/net/libcares/distinfo
index 95e0ebf01b4..416fc5b337c 100644
--- a/net/libcares/distinfo
+++ b/net/libcares/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.8 2013/07/14 14:51:49 rodent Exp $
+$NetBSD: distinfo,v 1.9 2013/12/13 10:42:57 jperkin Exp $
SHA1 (c-ares-1.10.0.tar.gz) = e44e6575d5af99cb3a38461486e1ee8b49810eb5
RMD160 (c-ares-1.10.0.tar.gz) = aee918002d3fc1b2112c7d95aacf1c00059f4677
Size (c-ares-1.10.0.tar.gz) = 809073 bytes
+SHA1 (patch-configure) = 1726722a94960fabc7fd69c8e7f9ca40a1492713
diff --git a/net/libcares/patches/patch-configure b/net/libcares/patches/patch-configure
new file mode 100644
index 00000000000..22f00bf4e4c
--- /dev/null
+++ b/net/libcares/patches/patch-configure
@@ -0,0 +1,37 @@
+$NetBSD: patch-configure,v 1.1 2013/12/13 10:42:57 jperkin Exp $
+
+Disable CFLAGS and CPPFLAGS munging.
+
+--- configure.orig 2013-05-12 13:39:47.000000000 +0000
++++ configure
+@@ -3503,7 +3503,7 @@ $as_echo "$as_me: $xc_bad_var_msg librar
+ test $xc_bad_var_cflags = yes ||
+ test $xc_bad_var_ldflags = yes ||
+ test $xc_bad_var_cppflags = yes; then
+- as_fn_error $? "Can not continue. Fix errors mentioned immediately above this line." "$LINENO" 5
++ : as_fn_error $? "Can not continue. Fix errors mentioned immediately above this line." "$LINENO" 5
+ fi
+
+ # Find a good install program. We prefer a C program (faster),
+@@ -15525,8 +15525,8 @@ squeeze() {
+ esac
+ done
+ if test "$tmp_has_include" = "yes"; then
+- tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/^-I/ -isystem /g'`
+- tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/ -I/ -isystem /g'`
++ #tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/^-I/ -isystem /g'`
++ #tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/ -I/ -isystem /g'`
+ CFLAGS="$tmp_chg_FLAGS"
+ squeeze CFLAGS
+ fi
+@@ -15540,8 +15540,8 @@ squeeze() {
+ esac
+ done
+ if test "$tmp_has_include" = "yes"; then
+- tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/^-I/ -isystem /g'`
+- tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/ -I/ -isystem /g'`
++ #tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/^-I/ -isystem /g'`
++ #tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/ -I/ -isystem /g'`
+ CPPFLAGS="$tmp_chg_FLAGS"
+ squeeze CPPFLAGS
+ fi