openbsd-ports/audio/libmad/patches/patch-configure

38 lines
1.0 KiB
Plaintext

$OpenBSD: patch-configure,v 1.2 2010/04/01 21:08:20 naddy Exp $
--- configure.orig Thu Feb 5 10:34:07 2004
+++ configure Thu Apr 1 23:02:56 2010
@@ -19032,6 +19032,7 @@ debug=""
optimize=""
profile=""
+if false; then
set -- $CFLAGS
CFLAGS=""
@@ -19166,6 +19167,7 @@ _ACEOF
;;
esac
+fi
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
@@ -21627,7 +21629,7 @@ _ACEOF
debug=""
if test "$GCC" = yes
then
- optimize="$optimize -fomit-frame-pointer"
+ : optimize="$optimize -fomit-frame-pointer"
fi
;;
esac
@@ -21663,7 +21665,7 @@ test -n "$optimize" && CFLAGS="$CFLAGS $optimize"
test -n "$profile" && CFLAGS="$CFLAGS $profile" LDFLAGS="$LDFLAGS $profile"
- ac_config_files="$ac_config_files Makefile msvc++/Makefile libmad.list"
+ ac_config_files="$ac_config_files Makefile msvc++/Makefile libmad.list mad.pc"
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure