aboutsummaryrefslogtreecommitdiffstats
path: root/devel/umbrello
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2003-01-27 04:44:14 +0800
committerdemon <demon@FreeBSD.org>2003-01-27 04:44:14 +0800
commit2e5b57f10b6c88f9e0c94d4fce41d6465153e42d (patch)
treea2fc7c353ea59eee31a37c2028f36413132adc74 /devel/umbrello
parenta1dc30d65a7b73e84775ea7a66f11a3b72d6ca92 (diff)
downloadfreebsd-ports-gnome-2e5b57f10b6c88f9e0c94d4fce41d6465153e42d.tar.gz
freebsd-ports-gnome-2e5b57f10b6c88f9e0c94d4fce41d6465153e42d.tar.zst
freebsd-ports-gnome-2e5b57f10b6c88f9e0c94d4fce41d6465153e42d.zip
Properly define CONFIGURE_TARGET;
Respect CFLAGS.
Diffstat (limited to 'devel/umbrello')
-rw-r--r--devel/umbrello/Makefile2
-rw-r--r--devel/umbrello/files/patch-configure65
2 files changed, 66 insertions, 1 deletions
diff --git a/devel/umbrello/Makefile b/devel/umbrello/Makefile
index d86f4e9e46b0..77d462e22be4 100644
--- a/devel/umbrello/Makefile
+++ b/devel/umbrello/Makefile
@@ -21,6 +21,6 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_BZIP2= yes
INSTALLS_SHLIB= yes
-CONFIGURE_TARGET=
+CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
.include <bsd.port.mk>
diff --git a/devel/umbrello/files/patch-configure b/devel/umbrello/files/patch-configure
new file mode 100644
index 000000000000..f509ec41c56b
--- /dev/null
+++ b/devel/umbrello/files/patch-configure
@@ -0,0 +1,65 @@
+--- configure.orig Sun Jan 26 20:31:23 2003
++++ configure Sun Jan 26 20:34:46 2003
+@@ -2706,13 +2706,13 @@
+ CFLAGS=$ac_save_CFLAGS
+ elif test $ac_cv_prog_cc_g = yes; then
+ if test "$GCC" = yes; then
+- CFLAGS="-g -O2"
++# CFLAGS="-g -O2"
+ else
+ CFLAGS="-g"
+ fi
+ else
+ if test "$GCC" = yes; then
+- CFLAGS="-O2"
++ CFLAGS="$CFLAGS"
+ else
+ CFLAGS=
+ fi
+@@ -3116,10 +3116,10 @@
+ if test $kde_use_debug_code = "full"; then
+ CFLAGS="-g3 $CFLAGS"
+ else
+- CFLAGS="-g -O2 $CFLAGS"
++ CFLAGS="-g $CFLAGS"
+ fi
+ else
+- CFLAGS="-O2 $CFLAGS"
++ CFLAGS="$CFLAGS"
+ fi
+ fi
+
+@@ -3355,13 +3355,13 @@
+ CXXFLAGS=$ac_save_CXXFLAGS
+ elif test $ac_cv_prog_cxx_g = yes; then
+ if test "$GXX" = yes; then
+- CXXFLAGS="-g -O2"
++# CXXFLAGS="-g -O2"
+ else
+ CXXFLAGS="-g"
+ fi
+ else
+ if test "$GXX" = yes; then
+- CXXFLAGS="-O2"
++ CXXFLAGS="$CXXFLAGS"
+ else
+ CXXFLAGS=
+ fi
+@@ -3541,7 +3541,7 @@
+ if test "$kde_use_debug_code" = "full"; then
+ CXXFLAGS="-g3 $CXXFLAGS"
+ else
+- CXXFLAGS="-g -O2 $CXXFLAGS"
++ CXXFLAGS="-g $CXXFLAGS"
+ fi
+ fi
+
+@@ -3710,7 +3710,7 @@
+ if test "$CXX" = "KCC"; then
+ CXXFLAGS="+K3 $CXXFLAGS"
+ else
+- CXXFLAGS="-O2 $CXXFLAGS"
++ CXXFLAGS="$CXXFLAGS"
+ fi
+ fi
+ fi