summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorjperkin <jperkin>2016-01-07 15:46:29 +0000
committerjperkin <jperkin>2016-01-07 15:46:29 +0000
commit58b87bafb902b953ea407e7e40ab86ab4e3e42b1 (patch)
tree0bb9c6c180664e187da7cf6e31166d7c4e9f1a8a /chat
parent10e701a397566254285537eb003f99ac3457cf20 (diff)
downloadpkgsrc-58b87bafb902b953ea407e7e40ab86ab4e3e42b1.tar.gz
Don't modify CFLAGS, especially when done badly and break -gfoo arguments.
Diffstat (limited to 'chat')
-rw-r--r--chat/tirc/distinfo3
-rw-r--r--chat/tirc/patches/patch-configure15
2 files changed, 17 insertions, 1 deletions
diff --git a/chat/tirc/distinfo b/chat/tirc/distinfo
index 417446d63bf..c8d3ec98b97 100644
--- a/chat/tirc/distinfo
+++ b/chat/tirc/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2015/11/03 01:20:25 agc Exp $
+$NetBSD: distinfo,v 1.7 2016/01/07 15:46:29 jperkin Exp $
SHA1 (tirc-1.2.tar.gz) = eae51ae46282943a3c1a3aa134aaec9455e0f65b
RMD160 (tirc-1.2.tar.gz) = 31ad3e1796e28a5cbadb1ff30c4753a72775968e
@@ -13,3 +13,4 @@ SHA1 (patch-af) = 649f4b57ff56bc297f33a0511c6b11bb0016ef73
SHA1 (patch-ag) = 34cfac73b5438ff108f96e57a4196994d50e0a23
SHA1 (patch-ah) = dd9c67e8a51d63b7efa98d8addd6ccd320b7b87e
SHA1 (patch-ai) = 117f8de13192e4123df68860d817a366d6395e76
+SHA1 (patch-configure) = e37b8df9682e38e256b6aefa8c4b45fe4701d012
diff --git a/chat/tirc/patches/patch-configure b/chat/tirc/patches/patch-configure
new file mode 100644
index 00000000000..c21fdd5d19b
--- /dev/null
+++ b/chat/tirc/patches/patch-configure
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure,v 1.1 2016/01/07 15:46:29 jperkin Exp $
+
+Don't munge CFLAGS badly.
+
+--- configure.orig 1999-05-14 20:02:48.000000000 +0000
++++ configure
+@@ -5138,8 +5138,6 @@ EOF
+ fi
+ fi
+
+-CFLAGS=`echo $CFLAGS | sed -e 's/-O.//' -e 's/-g//'`
+-
+ if test "$tirc_cv_efence" = yes; then
+ LIBS="$LIBS -L/usr/local/lib -lefence"
+ fi