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-ae
Steve Price c28c7b2d12 Fix sound file read/write/import/export.
PR:		19895
Submitted by:	maintainer
2000-07-16 19:53:07 +00:00

26 lines
1.0 KiB
Plaintext

diff -urN ../dap-2.1.1.orig/main/Makefile.linux ./main/Makefile.linux
--- ../dap-2.1.1.orig/main/Makefile.linux Thu May 25 17:52:37 2000
+++ ./main/Makefile.linux Sun Jun 11 13:51:02 2000
@@ -1,5 +1,5 @@
-CC = gcc
-CXX = g++
+CC ?= gcc
+CXX ?= g++
FORMS = ../../xforms/FORMS
SOUND = ../sound
SPKIT = ../spkit
@@ -11,10 +11,10 @@
X11DIR = /usr/X11R6
INCDIR = -I. -I.. -I$(SOUND) -I$(SPKIT) -I$(FORMS) -I$(TOOLTIP) -I$(X11DIR)/include
LIBDIR = -L$(SPKIT)/spkit -L$(FORMS) -L$(AUDIO) -L$(AUDIOF) -L$(TOOLTIP) -L$(X11DIR)/lib
-CCFLAGS = $(INCDIR) $(DEBUG) $(OPTIM) -DLINUX -DBIGENDIAN -DUSINGGCC -DSIGNALWORKAROUND -Wall -Wno-unused
+CCFLAGS = $(INCDIR) $(OPTIM) -DLINUX -DBIGENDIAN -DUSINGGCC -Wall -Wno-unused
DEBUG = -g3
-OPTIM = -O1
-LDFLAGS = $(LIBDIR) -ldsp -laudio -laudiofile -ltooltips -lforms -lXpm -lX11 -lm
+OPTIM = ${CXXFLAGS}
+LDFLAGS = $(LIBDIR) -ldsp -laudio -laudiofile -ltooltips -lxforms -lXpm -lX11 -lm
PROGS = DAP
OBJS = DPTich.o DPTich_cb.o DPTich_DSP.o DPTich_edit_cb.o DPTich_macros.o \