summaryrefslogtreecommitdiff
path: root/x11/kdelibs2/patches/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'x11/kdelibs2/patches/patch-af')
-rw-r--r--x11/kdelibs2/patches/patch-af38
1 files changed, 33 insertions, 5 deletions
diff --git a/x11/kdelibs2/patches/patch-af b/x11/kdelibs2/patches/patch-af
index 31400dc9b9f..a3ee618f6fe 100644
--- a/x11/kdelibs2/patches/patch-af
+++ b/x11/kdelibs2/patches/patch-af
@@ -1,11 +1,39 @@
---- configure.orig Wed Nov 14 09:58:06 2001
-+++ configure Fri Nov 23 13:41:42 2001
-@@ -9648,7 +9648,7 @@
- ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+$NetBSD: patch-af,v 1.5 2002/04/10 12:27:33 dmcmahill Exp $
+
+--- configure.orig Tue Nov 13 15:58:06 2001
++++ configure Tue Apr 9 23:46:42 2002
+@@ -2496,5 +2496,5 @@
+ elif test $ac_cv_prog_cxx_g = yes; then
+ if test "$GXX" = yes; then
+- CXXFLAGS="-g -O2"
++ CXXFLAGS="-g"
+ else
+ CXXFLAGS="-g"
+@@ -2502,5 +2502,5 @@
+ else
+ if test "$GXX" = yes; then
+- CXXFLAGS="-O2"
++ CXXFLAGS=""
+ else
+ CXXFLAGS=
+@@ -2594,5 +2594,5 @@
+ if test "$GXX" = "yes"; then
+ if test "$kde_use_debug_code" = "yes"; then
+- CXXFLAGS="-g -O2 -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings $CXXFLAGS"
++ CXXFLAGS="-g -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings $CXXFLAGS"
+
+ echo "$as_me:2598: checking whether $CXX supports -Wno-long-long" >&5
+@@ -2699,5 +2699,5 @@
+ fi
+ else
+- CXXFLAGS="-O2 $CXXFLAGS"
++ CXXFLAGS="$CXXFLAGS"
+ fi
+ fi
+@@ -9649,5 +9649,5 @@
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+ac_link='rm -rf SunWS_cache; ${LIBTOOL_SHELL} --tag=CXX --mode=link ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
ac_cxxflags_safe="$CXXFLAGS"
- ac_ldflags_safe="$LDFLAGS"