aboutsummaryrefslogtreecommitdiffstats
path: root/audio/wsoundserver
diff options
context:
space:
mode:
authorreg <reg@FreeBSD.org>2000-10-03 09:07:56 +0800
committerreg <reg@FreeBSD.org>2000-10-03 09:07:56 +0800
commit2a0af2aee8fe905f19f969df496fac8282adf7e1 (patch)
tree6538a24e86d6eee0532675e994571986e3a5de9e /audio/wsoundserver
parentc18c6b24439a561772fe9fef94b058a835659697 (diff)
downloadfreebsd-ports-gnome-2a0af2aee8fe905f19f969df496fac8282adf7e1.tar.gz
freebsd-ports-gnome-2a0af2aee8fe905f19f969df496fac8282adf7e1.tar.zst
freebsd-ports-gnome-2a0af2aee8fe905f19f969df496fac8282adf7e1.zip
Don't hack CFLAGS support. Fix the problem.
Diffstat (limited to 'audio/wsoundserver')
-rw-r--r--audio/wsoundserver/Makefile1
-rw-r--r--audio/wsoundserver/files/patch-af25
2 files changed, 25 insertions, 1 deletions
diff --git a/audio/wsoundserver/Makefile b/audio/wsoundserver/Makefile
index f03c9e46ac31..0bfa0f1ee90d 100644
--- a/audio/wsoundserver/Makefile
+++ b/audio/wsoundserver/Makefile
@@ -23,7 +23,6 @@ RUN_DEPENDS= wmaker:${PORTSDIR}/x11-wm/windowmaker
USE_X_PREFIX= yes
INSTALLS_SHLIB= yes
USE_LIBTOOL= yes
-MAKE_ARGS= "-E CFLAGS"
.if defined(WITH_ESD)
ESD_DEPENDS= esd.2:${PORTSDIR}/audio/esound
diff --git a/audio/wsoundserver/files/patch-af b/audio/wsoundserver/files/patch-af
new file mode 100644
index 000000000000..50cb9f9940b4
--- /dev/null
+++ b/audio/wsoundserver/files/patch-af
@@ -0,0 +1,25 @@
+--- configure.orig Sat Jun 3 14:45:53 2000
++++ configure Sat Jun 3 14:48:21 2000
+@@ -3401,9 +3401,9 @@
+
+
+ rm -f conf.audiofiletest
+
+- CFLAGS=$AUDIOFILE_CFLAGS
+- LIBS=$AUDIOFILE_LIBS
++ CFLAGS="$CFLAGS $AUDIOFILE_CFLAGS"
++ LIBS="$LIBS $AUDIOFILE_LIBS"
+
+ if test "x$AUDIOFILE_LIBS" = "x"; then
+ echo
+@@ -3677,8 +3674,8 @@
+
+ rm -f conf.esdtest
+
+- CFLAGS=$ESD_CFLAGS
+- LIBS=$ESD_LIBS
++ CFLAGS="$CFLAGS $ESD_CFLAGS"
++ LIBS="$LIBS $ESD_LIBS"
+ for ac_func in esd_get_latency
+ do
+ echo $ac_n "checking for $ac_func""... $ac_c" 1>&6