freebsd-ports/audio/xmms-imms/files/patch-configure.ac
Mark Linimon 48420a5ebd Switch autoconf dependencies from 2.53 or 2.59 to 2.61.
PR:		ports/116639
Submitted by:	aDe
2007-09-30 04:47:36 +00:00

24 lines
935 B
Text

--- configure.ac.orig 2004-08-17 22:56:28.000000000 -0700
+++ configure.ac 2007-09-22 21:50:52.000000000 -0700
@@ -33,4 +33,4 @@
[Extra debug output]),
- [enable_debug='yes' XCPPFLAGS="-ggdb -O0 -DDEBUG"],
- [enable_debug='no' XCPPFLAGS="-O3"])
+ [enable_debug='yes' XCPPFLAGS="-g -DDEBUG"],
+ [enable_debug='no' XCPPFLAGS=""])
@@ -121,2 +121,3 @@
LIBS="$LIBS-ltag"
+ saved_cppflags="$CPPFLAGS"
CPPFLAGS=`taglib-config --cflags`
@@ -128,3 +129,4 @@
AC_MSG_RESULT(yes)],
- [LIBS=$saved_libs AC_MSG_RESULT(no)])
+ [LIBS="$saved_libs"; AC_MSG_RESULT(no)])
+ CPPFLAGS="$saved_cppflags"
fi
@@ -167,3 +169,3 @@
if test "$with_screensaver" != "no"; then
- LDFLAGS="-shared -L/usr/X11R6/lib"
+ LDFLAGS="-L/usr/X11R6/lib"
AC_CHECK_LIB(Xext, XextFindDisplay,, [with_screensaver=no])