freebsd-ports/x11-toolkits/fltk/files/patch-ab
Dmitry Sivachenko d788388b32 Update to 1.1.7
PR:		106146
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2006-12-02 14:16:56 +00:00

43 lines
868 B
Text

--- configure.orig Wed Jan 18 11:30:52 2006
+++ configure Mon Nov 20 23:18:10 2006
@@ -1326,7 +1326,7 @@
FL_MAJOR_VERSION=1
FL_MINOR_VERSION=1
FL_PATCH_VERSION=7
-FL_API_VERSION=${FL_MAJOR_VERSION}.${FL_MINOR_VERSION}
+FL_API_VERSION=${FL_MAJOR_VERSION}
@@ -2227,13 +2227,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="-O2"
else
CFLAGS=
fi
@@ -2734,13 +2734,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="-O2"
else
CXXFLAGS=
fi