freebsd-ports/audio/caps-plugins/files/patch-Makefile
Edward Tomasz Napierala af05110c34 Update to 0.4.3.
2009-08-26 16:49:39 +00:00

25 lines
575 B
Text

--- Makefile.orig 2009-07-31 15:12:45.000000000 +0200
+++ Makefile 2009-08-26 18:39:34.000000000 +0200
@@ -1,9 +1,8 @@
-PREFIX = /usr/local
-CC = g++
+CC = $(CXX)
# only use -ffast-math if you're feeling mighty adventurous. (g++ issues)
-OPTS = -O2 -funroll-loops -Wall -fPIC -DPIC
+OPTS = -Wall -fPIC -DPIC
#OPTS = -g -DDEBUG
_LDFLAGS = -nostartfiles -shared
@@ -13,8 +12,8 @@
-include defines.make
-CFLAGS = $(OPTS) $(_CFLAGS)
-LDFLAGS = $(_LDFLAGS) $(CFLAGS)
+CFLAGS += $(OPTS) $(_CFLAGS)
+LDFLAGS += $(_LDFLAGS) $(CFLAGS)
PLUG = caps
VERSION = 0.4.3