summaryrefslogtreecommitdiff
path: root/audio/flac
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-03-26 04:00:45 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-03-26 04:00:45 +0000
commit1dd3f6146e98e512ee3868bbbf76cfc323b30cfc (patch)
treeae65058b449539acd92ee1afa443dfde9ade1ae2 /audio/flac
parentFix bogon. Note to self: pay more attention to what you're doing. (diff)
- respect CFLAGS
- build on alpha Submitted by: Christian Weisgerber <naddy@mips.inka.de> (via private mail)
Notes
Notes: svn path=/head/; revision=40384
Diffstat (limited to 'audio/flac')
-rw-r--r--audio/flac/files/patch-configure.in21
-rw-r--r--audio/flac/files/patch-src::flac::Makefile.am10
2 files changed, 28 insertions, 3 deletions
diff --git a/audio/flac/files/patch-configure.in b/audio/flac/files/patch-configure.in
index 8be93be25a0b..561fdd80b377 100644
--- a/audio/flac/files/patch-configure.in
+++ b/audio/flac/files/patch-configure.in
@@ -1,6 +1,21 @@
---- configure.in.orig Sun Mar 18 11:17:30 2001
-+++ configure.in Sun Mar 18 11:17:44 2001
-@@ -33,6 +33,7 @@
+$FreeBSD$
+--- configure.in.orig Fri Feb 23 22:13:02 2001
++++ configure.in Mon Mar 26 02:57:28 2001
+@@ -22,17 +22,18 @@ AM_CONDITIONAL(DEBUG, test x$debug = xtr
+ AM_PATH_XMMS(0.9.5.1, , AC_MSG_WARN([*** XMMS >= 0.9.5.1 not installed - xmms support will not be built]))
+ AM_CONDITIONAL(XMMS, test x$XMMS_INPUT_PLUGIN_DIR != x)
+
+-CFLAGS='-I./include -I $(top_srcdir)/include -Wall -W'
++CFLAGS="$CFLAGS -I./include -I \$(top_srcdir)/include"
+ if test x$debug = xtrue; then
+- CFLAGS="$CFLAGS -g -O0 -DDEBUG"
++ CFLAGS="$CFLAGS -g -DDEBUG"
+ else
+- CFLAGS="$CFLAGS -O3 -fomit-frame-pointer -funroll-loops -ffast-math -finline-functions -DNDEBUG"
++ CFLAGS="$CFLAGS -DNDEBUG"
+ fi
+
+ AC_OUTPUT( Makefile \
src/Makefile \
src/libFLAC/Makefile \
src/flac/Makefile \
diff --git a/audio/flac/files/patch-src::flac::Makefile.am b/audio/flac/files/patch-src::flac::Makefile.am
new file mode 100644
index 000000000000..96a1a056e31f
--- /dev/null
+++ b/audio/flac/files/patch-src::flac::Makefile.am
@@ -0,0 +1,10 @@
+$FreeBSD$
+--- src/flac/Makefile.am.orig Mon Mar 26 04:28:03 2001
++++ src/flac/Makefile.am Mon Mar 26 04:28:10 2001
+@@ -5,5 +5,4 @@ flac_SOURCES = \
+ decode.c \
+ encode.c \
+ main.c
+-flac_LDFLAGS = -lm
+-flac_LDADD = $(top_builddir)/src/libFLAC/libFLAC.la
++flac_LDADD = $(top_builddir)/src/libFLAC/libFLAC.la -lm