freebsd-ports/audio/dap/files/patch-ag
David W. Chapman Jr. ef3cad7ecd Update to 2.1.2
Add PORTDOC compliance

PR:		28581
Submitted by:	Patrick Li <pat@databits.net>
No response:	maintainer
2001-07-22 03:30:11 +00:00

19 lines
563 B
Plaintext

--- libaudiofile/Makefile.linux.orig Sun Jul 1 13:45:51 2001
+++ libaudiofile/Makefile.linux Sun Jul 1 13:46:27 2001
@@ -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