openbsd-ports/audio/mpd/patches/patch-configure
dcoppa 463cc8ef61 Update to mpd-0.16.5.
ok jasper@
MAINTAINER's ok
2011-10-30 11:46:18 +00:00

43 lines
1.6 KiB
Plaintext

$OpenBSD: patch-configure,v 1.14 2011/10/30 11:46:18 dcoppa Exp $
Don't reset CPPFLAGS...stupid configure.
--- configure.orig Sun Oct 9 13:44:12 2011
+++ configure Thu Oct 13 16:42:40 2011
@@ -8830,7 +8830,7 @@ if test x$enable_aac = xyes; then
oldcppflags=$CPPFLAGS
CFLAGS="$CFLAGS $MPD_CFLAGS $FAAD_CFLAGS -I."
LIBS="$LIBS $MPD_LIBS $FAAD_LIBS"
- CPPFLAGS=$CFLAGS
+ CPPFLAGS="$CPPFLAGS $CFLAGS"
ac_fn_c_check_header_mongrel "$LINENO" "faad.h" "ac_cv_header_faad_h" "$ac_includes_default"
if test "x$ac_cv_header_faad_h" = xyes; then :
@@ -9084,7 +9084,7 @@ if test x$enable_aac = xyes; then
oldcppflags=$CPPFLAGS
CFLAGS="$CFLAGS $MPD_CFLAGS $FAAD_CFLAGS -Werror"
LIBS="$LIBS $MPD_LIBS $FAAD_LIBS"
- CPPFLAGS=$CFLAGS
+ CPPFLAGS="$CPPFLAGS $CFLAGS"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken libfaad headers" >&5
$as_echo_n "checking for broken libfaad headers... " >&6; }
@@ -9130,7 +9130,7 @@ if test x$enable_aac = xyes; then
oldcppflags=$CPPFLAGS
CFLAGS="$CFLAGS $FAAD_CFLAGS"
LIBS="$LIBS $FAAD_LIBS $MP4FF_LIBS"
- CPPFLAGS=$CFLAGS
+ CPPFLAGS="$CPPFLAGS $CFLAGS"
ac_fn_c_check_header_mongrel "$LINENO" "mp4ff.h" "ac_cv_header_mp4ff_h" "$ac_includes_default"
if test "x$ac_cv_header_mp4ff_h" = xyes; then :
@@ -10637,7 +10637,7 @@ if test x$enable_mpc = xyes; then
oldcppflags=$CPPFLAGS
CFLAGS="$CFLAGS $MPD_CFLAGS $MPCDEC_CFLAGS -I."
LIBS="$LIBS $MPD_LIBS $MPCDEC_LIBS"
- CPPFLAGS=$CFLAGS
+ CPPFLAGS="$CPPFLAGS $CFLAGS"
ac_fn_c_check_header_mongrel "$LINENO" "mpc/mpcdec.h" "ac_cv_header_mpc_mpcdec_h" "$ac_includes_default"
if test "x$ac_cv_header_mpc_mpcdec_h" = xyes; then :
old_mpcdec=no