1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/audio/dap/files/patch-ad
Volker Stolz 83be251886 Update to 2.1.6
PR:		ports/67363
Submitted by:	Roman Neuhauser
2004-07-05 20:42:33 +00:00

25 lines
902 B
Plaintext

--- spkit/spkit/Makefile.linux.orig Fri Jul 5 06:10:23 2002
+++ spkit/spkit/Makefile.linux Sun Jan 5 22:15:45 2003
@@ -1,15 +1,15 @@
-CC = gcc
-CXX = g++
+CC ?= gcc
+CXX ?= g++
SOUND = ../../sound
TOOLTIP = ../../tooltips
BACKDIR = ../../bak/spkit/spkit
MAINDIR = ../../main
HOMEDIR = $(HOME)
-X11DIR = /usr/X11R6
-INCDIR = -I. -I.. -I../.. -I$(SOUND) -I$(MAINDIR) -I$(TOOLTIP) -I$(X11DIR)/include -I$(X11DIR)/include/X11 -I$(OTHER_INCLUDE_DIR)
-CCFLAGS = $(INCDIR) $(DEBUG) $(OPTIM) -DLINUX -DBIGENDIAN -DUSINGGCC -Wall -Wno-unused
+X11DIR = ${X11BASE}
+INCDIR = -I. -I.. -I../.. -I$(SOUND) -I$(MAINDIR) -I$(TOOLTIP) -I$(X11DIR)/include -I$(X11DIR)/include/X11 -I$(OTHER_INCLUDE_DIR)
+CCFLAGS += $(INCDIR) $(DEBUG) $(OPTIM) -DLINUX -DBIGENDIAN -DUSINGGCC -Wall -Wno-unused
DEBUG = -g3
-OPTIM = -O2
+OPTIM = ${CXXFLAGS}
.c.o:
$(CC) $(CCFLAGS) -c $*.c -o $*.o