summaryrefslogtreecommitdiff
path: root/audio/opmixer
diff options
context:
space:
mode:
authorTrevor Johnson <trevor@FreeBSD.org>2002-09-21 22:31:35 +0000
committerTrevor Johnson <trevor@FreeBSD.org>2002-09-21 22:31:35 +0000
commita96591b83173356546a26a488a9a249913a10855 (patch)
treecaab9cc284c4582f5ae69f26eb9a673bfa0f3497 /audio/opmixer
parentRIP, <machine/soundcard.h>. (diff)
Respect CFLAGS and CXXFLAGS.
Notes
Notes: svn path=/head/; revision=67022
Diffstat (limited to 'audio/opmixer')
-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