1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/audio/dap/files/patch-ag
Steve Price c28c7b2d12 Fix sound file read/write/import/export.
PR:		19895
Submitted by:	maintainer
2000-07-16 19:53:07 +00:00

28 lines
806 B
Plaintext

diff -urN ../dap-2.1.1.orig/libaudiofile/Makefile.linux ./libaudiofile/Makefile.linux
--- ../dap-2.1.1.orig/libaudiofile/Makefile.linux Tue Feb 29 08:49:10 2000
+++ ./libaudiofile/Makefile.linux Sun Jun 11 14:27:36 2000
@@ -1,11 +1,11 @@
-CC = gcc
-CXX = g++
+CC ?= gcc
+CXX ?= g++
BACKDIR = ../bak/libaudiofile
HOMEDIR = $(HOME)
INCDIR = -I.
-CCFLAGS = $(INCDIR) $(DEBUG) $(OPTIM) -DLINUX -DBIGENDIAN -DUSINGGCC -Wall -Wno-unused
+CCFLAGS = $(INCDIR) $(OPTIM) -DLINUX -DBIGENDIAN -DUSINGGCC -Wall -Wno-unused
DEBUG = -g3
-OPTIM = -O1
+OPTIM = ${CXXFLAGS}
LIBNAME = libaudiofile.a
OBJS = audiofile.o ieee.o macros.o raw.o wav.o
@@ -21,6 +21,7 @@
libaudiofile.a: $(OBJS)
rm -f $(LIBNAME)
ar ruv $(LIBNAME) $(OBJS)
+ ranlib $(LIBNAME)
clean:
-rm -f $(OBJS) core