aboutsummaryrefslogtreecommitdiff
path: root/audio/alienwah/files
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-09-21 02:16:11 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-09-21 02:16:11 +0000
commitb5c3714bcdb707f16fbb49bfb59464dfa8eb3f9a (patch)
tree89f42b80d06a36e377f87f0d63a512de0e5c0c98 /audio/alienwah/files
parent5754bc6142b179d4785d9c358141ccfb5a35cc26 (diff)
downloadports-b5c3714bcdb707f16fbb49bfb59464dfa8eb3f9a.tar.gz
ports-b5c3714bcdb707f16fbb49bfb59464dfa8eb3f9a.zip
Notes
Diffstat (limited to 'audio/alienwah/files')
-rw-r--r--audio/alienwah/files/patch-Makefile40
1 files changed, 40 insertions, 0 deletions
diff --git a/audio/alienwah/files/patch-Makefile b/audio/alienwah/files/patch-Makefile
new file mode 100644
index 000000000000..3a2a6f0686f9
--- /dev/null
+++ b/audio/alienwah/files/patch-Makefile
@@ -0,0 +1,40 @@
+--- Makefile.orig Sun Jan 6 18:34:24 2002
++++ Makefile Mon May 13 01:20:42 2002
+@@ -1,25 +1,16 @@
+ # parts taken from ladspa-sdk src/makefile
+
+-INCLUDES = -I/usr/local/include
+-#LIBRARIES = -ldl -lm
+-CFLAGS = $(INCLUDES) -Wall -Werror -O3 -fPIC
+-CXXFLAGS = $(CFLAGS)
++CXXFLAGS += -I${LOCALBASE}/include
+ PLUGINS = aw.so
+-CC = cc
+-CPP = c++
+
+ ###############################################################################
+ #
+ # RULES TO BUILD PLUGINS FROM C OR C++ CODE
+ #
+
+-%.so: %.c
+- $(CC) $(CFLAGS) -c $*.c
+- $(LD) -o $*.so $*.o -shared
+-
+ %.so: %.cpp
+- $(CPP) $(CXXFLAGS) -c $*.cpp
+- $(CPP) -o $*.so $*.o -shared
++ $(CXX) $(CXXFLAGS) -c $*.cpp
++ $(CXX) -o $*.so $*.o -shared
+
+ ###############################################################################
+ #
+@@ -29,7 +20,7 @@
+ all: $(PLUGINS)
+
+ install:
+- cp aw.so /usr/local/lib/ladspa/
++ cp aw.so ${LOCALBASE}/lib/ladspa/
+
+ clean:
+ -rm -f *.o *.so