summaryrefslogtreecommitdiff
path: root/x11/qt3-libs/patches
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-09-28 05:27:06 +0000
committergrant <grant@pkgsrc.org>2003-09-28 05:27:06 +0000
commited485850eb7fb8ac8ca96300bb093646bbfa53eb (patch)
treea1321a66a6ac80025b8bf123f68c5ab03fa8b635 /x11/qt3-libs/patches
parentf200003b98b38b6f8611f48ec125284064c291fd (diff)
downloadpkgsrc-ed485850eb7fb8ac8ca96300bb093646bbfa53eb.tar.gz
only pass gcc specific flags if we are using gcc.
Diffstat (limited to 'x11/qt3-libs/patches')
-rw-r--r--x11/qt3-libs/patches/patch-ah12
1 files changed, 12 insertions, 0 deletions
diff --git a/x11/qt3-libs/patches/patch-ah b/x11/qt3-libs/patches/patch-ah
new file mode 100644
index 00000000000..112b3064beb
--- /dev/null
+++ b/x11/qt3-libs/patches/patch-ah
@@ -0,0 +1,12 @@
+$NetBSD: patch-ah,v 1.1 2003/09/28 05:27:30 grant Exp $
+
+--- configure.orig 2003-02-11 14:19:48.000000000 +1100
++++ configure
+@@ -501,7 +501,6 @@ while [ "$#" -gt 0 ]; do
+ CFG_EXCEPTION_SUPPORT=no
+ QMAKE_VARS="$QMAKE_VARS \"QMAKE_CFLAGS+=-fno-exceptions\""
+ QMAKE_VARS="$QMAKE_VARS \"QMAKE_CXXFLAGS+=-fno-exceptions\""
+- QMAKE_VARS="$QMAKE_VARS \"QMAKE_LFLAGS+=-fno-exceptions\""
+ else
+ UNKNOWN_OPT=yes
+ fi