summaryrefslogtreecommitdiffstats
path: root/audio/gkrellmss2/files
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-09-01 02:57:08 +0000
committeredwin <edwin@FreeBSD.org>2003-09-01 02:57:08 +0000
commitf406ce5c8128ef61fba7a98606cd3511edbc2409 (patch)
tree42d19d2c48262d2e0e5b8ae9a6404e11d9d9c965 /audio/gkrellmss2/files
parent4de5b7ee7469d310fd42e33fd31ac5034ef9f664 (diff)
downloadFreeBSD-ports-f406ce5c8128ef61fba7a98606cd3511edbc2409.zip
FreeBSD-ports-f406ce5c8128ef61fba7a98606cd3511edbc2409.tar.gz
New port: audio/gkrellmss2
Attached is a port of the gkrellmss plugin for gkrellm2. PR: ports/47917 Submitted by: Lars Eggert <larse@isi.edu>
Diffstat (limited to 'audio/gkrellmss2/files')
-rw-r--r--audio/gkrellmss2/files/patch-src::Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/audio/gkrellmss2/files/patch-src::Makefile b/audio/gkrellmss2/files/patch-src::Makefile
new file mode 100644
index 0000000..128aefe
--- /dev/null
+++ b/audio/gkrellmss2/files/patch-src::Makefile
@@ -0,0 +1,39 @@
+--- src/Makefile.orig Sat Oct 26 20:48:59 2002
++++ src/Makefile Tue Feb 4 13:17:23 2003
+@@ -10,15 +10,15 @@
+ SD_INCLUDE =
+ SD_LIB = -lasound
+ else
+-SD_INCLUDE = `esd-config --cflags`
+-SD_LIB = `esd-config --libs`
++SD_INCLUDE = `${ESD_CONFIG} --cflags`
++SD_LIB = `${ESD_CONFIG} --libs`
+ endif
+
+ FFTW_LIB_DIR ?=
+
+ FFTW_LIB = $(FFTW_LIB_DIR) -lrfftw -lfftw
+
+-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(SD_INCLUDE)
++FLAGS = -Wall -fPIC $(GTK_INCLUDE) $(SD_INCLUDE)
+ LIBS = $(GTK_LIB) $(SD_LIB) $(FFTW_LIB) -lm
+
+ ifeq ($(OS_NAME),Darwin)
+@@ -42,7 +42,7 @@
+ FLAGS += -DGKRELLM_ALSA5
+ endif
+
+-CC = gcc $(FLAGS) $(CFLAGS)
++CC += $(FLAGS) $(CFLAGS)
+
+ OBJS = gkrellmss.o oscope.o spectrum.o sdlib.o
+
+@@ -56,7 +56,7 @@
+
+ install:
+ $(INSTALL) -d -m 755 $(INSTALLDIR)
+- $(INSTALL) -c $(STRIP) -m 755 gkrellmss.so $(INSTALLDIR)
++ $(INSTALL) gkrellmss.so $(INSTALLDIR)
+
+ gkrellmss.o: gkrellmss.c gkrellmss.h
+ oscope.o: oscope.c gkrellmss.h
OpenPOWER on IntegriCloud