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-ac
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
746 B
Plaintext

diff -urN ../dap-2.1.1.orig/libaudio/Makefile.linux ./libaudio/Makefile.linux
--- ../dap-2.1.1.orig/libaudio/Makefile.linux Tue Feb 22 09:28:50 2000
+++ ./libaudio/Makefile.linux Sun Jun 11 13:51:44 2000
@@ -1,11 +1,11 @@
-CC = gcc
-CXX = g++
+CC ?= gcc
+CXX ?= g++
BACKDIR = ../bak/libaudio
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 = libaudio.a
OBJS = audio.o
@@ -21,6 +21,7 @@
libaudio.a: $(OBJS)
rm -f $(LIBNAME)
ar ruv $(LIBNAME) $(OBJS)
+ ranlib $(LIBNAME)
clean:
-rm -f $(OBJS) core