aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2003-01-30 23:54:05 +0800
committerdemon <demon@FreeBSD.org>2003-01-30 23:54:05 +0800
commitc07be82c21410d2e97760caeda9e63cf750f7f45 (patch)
tree7549e97a431045ab24a4d6748bbda8a7bc1130a2
parent4238c559cb8d9ce8423471d9c1fb5e5e93d2ed0e (diff)
downloadfreebsd-ports-gnome-c07be82c21410d2e97760caeda9e63cf750f7f45.tar.gz
freebsd-ports-gnome-c07be82c21410d2e97760caeda9e63cf750f7f45.tar.zst
freebsd-ports-gnome-c07be82c21410d2e97760caeda9e63cf750f7f45.zip
Respect CFLAGS.
-rw-r--r--x11/kdelibs3/files/patch-configure38
-rw-r--r--x11/kdelibs4/files/patch-configure38
2 files changed, 76 insertions, 0 deletions
diff --git a/x11/kdelibs3/files/patch-configure b/x11/kdelibs3/files/patch-configure
new file mode 100644
index 000000000000..6ddc066122cd
--- /dev/null
+++ b/x11/kdelibs3/files/patch-configure
@@ -0,0 +1,38 @@
+--- configure.orig Thu Jan 30 15:08:09 2003
++++ configure Thu Jan 30 15:08:30 2003
+@@ -2813,7 +2813,7 @@
+ fi
+ else
+ if test "$GCC" = yes; then
+- CFLAGS="-O2"
++ CFLAGS=""
+ else
+ CFLAGS=
+ fi
+@@ -3220,7 +3220,7 @@
+ CFLAGS="-g -O2 $CFLAGS"
+ fi
+ else
+- CFLAGS="-O2 $CFLAGS"
++ CFLAGS="$CFLAGS"
+ fi
+ fi
+
+@@ -3462,7 +3462,7 @@
+ fi
+ else
+ if test "$GXX" = yes; then
+- CXXFLAGS="-O2"
++ CXXFLAGS=""
+ else
+ CXXFLAGS=
+ fi
+@@ -3811,7 +3811,7 @@
+ if test "$CXX" = "KCC"; then
+ CXXFLAGS="+K3 $CXXFLAGS"
+ else
+- CXXFLAGS="-O2 $CXXFLAGS"
++ CXXFLAGS="$CXXFLAGS"
+ fi
+ fi
+ fi
diff --git a/x11/kdelibs4/files/patch-configure b/x11/kdelibs4/files/patch-configure
new file mode 100644
index 000000000000..6ddc066122cd
--- /dev/null
+++ b/x11/kdelibs4/files/patch-configure
@@ -0,0 +1,38 @@
+--- configure.orig Thu Jan 30 15:08:09 2003
++++ configure Thu Jan 30 15:08:30 2003
+@@ -2813,7 +2813,7 @@
+ fi
+ else
+ if test "$GCC" = yes; then
+- CFLAGS="-O2"
++ CFLAGS=""
+ else
+ CFLAGS=
+ fi
+@@ -3220,7 +3220,7 @@
+ CFLAGS="-g -O2 $CFLAGS"
+ fi
+ else
+- CFLAGS="-O2 $CFLAGS"
++ CFLAGS="$CFLAGS"
+ fi
+ fi
+
+@@ -3462,7 +3462,7 @@
+ fi
+ else
+ if test "$GXX" = yes; then
+- CXXFLAGS="-O2"
++ CXXFLAGS=""
+ else
+ CXXFLAGS=
+ fi
+@@ -3811,7 +3811,7 @@
+ if test "$CXX" = "KCC"; then
+ CXXFLAGS="+K3 $CXXFLAGS"
+ else
+- CXXFLAGS="-O2 $CXXFLAGS"
++ CXXFLAGS="$CXXFLAGS"
+ fi
+ fi
+ fi