aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2002-09-22 06:31:35 +0800
committertrevor <trevor@FreeBSD.org>2002-09-22 06:31:35 +0800
commitfb9c83d6f66358b7cae94dbf319518f942835a0a (patch)
tree9c4935a767024c4aebec35a486b28264396127a7
parent7d6a69744238f3df1af4404243e89ef2aaa76960 (diff)
downloadfreebsd-ports-gnome-fb9c83d6f66358b7cae94dbf319518f942835a0a.tar.gz
freebsd-ports-gnome-fb9c83d6f66358b7cae94dbf319518f942835a0a.tar.zst
freebsd-ports-gnome-fb9c83d6f66358b7cae94dbf319518f942835a0a.zip
Respect CFLAGS and CXXFLAGS.
-rw-r--r--audio/opmixer/files/patch-Makefile13
-rw-r--r--audio/opmixer/files/patch-configure23
2 files changed, 36 insertions, 0 deletions
diff --git a/audio/opmixer/files/patch-Makefile b/audio/opmixer/files/patch-Makefile
new file mode 100644
index 000000000000..27e401cf51ef
--- /dev/null
+++ b/audio/opmixer/files/patch-Makefile
@@ -0,0 +1,13 @@
+$FreeBSD$
+
+--- Makefile.orig Wed Jun 20 16:34:12 2001
++++ Makefile Sat Sep 21 14:52:09 2002
+@@ -1,6 +1,6 @@
+ # Generated automatically from Makefile.in by configure.
+-CFLAGS := -g -O2 -DLINUX -Wall
+-CXXFLAGS := -g -O2 -DLINUX -Wall -I/usr/local/include `gtkmm-config --cflags`
++CFLAGS += -DLINUX
++CXXFLAGS += -DLINUX `gtkmm-config --cflags`
+ LDFLAGS := `gtkmm-config --libs`
+
+ all: opmixer opmixer-load volset
diff --git a/audio/opmixer/files/patch-configure b/audio/opmixer/files/patch-configure
new file mode 100644
index 000000000000..b978356e8c74
--- /dev/null
+++ b/audio/opmixer/files/patch-configure
@@ -0,0 +1,23 @@
+$FreeBSD$
+
+--- configure.orig Wed Jun 20 16:34:09 2001
++++ configure Sat Sep 21 14:53:40 2002
+@@ -874,18 +874,6 @@ fi
+ echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
+ if test "$ac_test_CXXFLAGS" = set; then
+ CXXFLAGS="$ac_save_CXXFLAGS"
+-elif test $ac_cv_prog_cxx_g = yes; then
+- if test "$GXX" = yes; then
+- CXXFLAGS="-g -O2"
+- else
+- CXXFLAGS="-g"
+- fi
+-else
+- if test "$GXX" = yes; then
+- CXXFLAGS="-O2"
+- else
+- CXXFLAGS=
+- fi
+ fi
+
+ echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6