aboutsummaryrefslogtreecommitdiffstats
path: root/audio/gkrellmss/files
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2002-08-22 03:47:59 +0800
committernaddy <naddy@FreeBSD.org>2002-08-22 03:47:59 +0800
commit96dacd1ebf1feb6b123231b836975e302d1b22b1 (patch)
tree7f1b16ab9705d9ccc6e94966b8cb294bf1597e7a /audio/gkrellmss/files
parentc68001aedcd29843a3a3650935db8f7cfdd9d288 (diff)
downloadfreebsd-ports-graphics-96dacd1ebf1feb6b123231b836975e302d1b22b1.tar.gz
freebsd-ports-graphics-96dacd1ebf1feb6b123231b836975e302d1b22b1.tar.zst
freebsd-ports-graphics-96dacd1ebf1feb6b123231b836975e302d1b22b1.zip
Update to 0.5.
PR: 41334 Submitted by: Adam Weinberger <adam@vectors.cx> Approved by: maintainer timeout
Diffstat (limited to 'audio/gkrellmss/files')
-rw-r--r--audio/gkrellmss/files/patch-src::Makefile40
1 files changed, 25 insertions, 15 deletions
diff --git a/audio/gkrellmss/files/patch-src::Makefile b/audio/gkrellmss/files/patch-src::Makefile
index d84008f36eb..e211f8eaa13 100644
--- a/audio/gkrellmss/files/patch-src::Makefile
+++ b/audio/gkrellmss/files/patch-src::Makefile
@@ -1,6 +1,6 @@
---- src/Makefile.orig Sat Aug 25 14:33:25 2001
-+++ src/Makefile Sun Sep 30 18:26:49 2001
-@@ -1,13 +1,13 @@
+--- src/Makefile.orig Sun Aug 4 18:00:06 2002
++++ src/Makefile Sun Aug 4 18:02:29 2002
+@@ -1,22 +1,22 @@
-INSTALLDIR ?= /usr/local/lib/gkrellm/plugins
-INSTALL ?= install
+INSTALLDIR ?= ${PREFIX}/libexec/gkrellm/plugins
@@ -11,26 +11,36 @@
+GTK_INCLUDE = `${GTK_CONFIG} --cflags`
+GTK_LIB = `${GTK_CONFIG} --libs`
--ESD_INCLUDE = `esd-config --cflags`
--ESD_LIB = `esd-config --libs`
-+ESD_INCLUDE = `${ESD_CONFIG} --cflags`
-+ESD_LIB = `${ESD_CONFIG} --libs`
+ ifeq ($(alsa5),1)
+ 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_DIR ?= -L${LOCALBASE}/lib
--FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(ESD_INCLUDE)
-+FLAGS = -Wall -fPIC $(GTK_INCLUDE) $(ESD_INCLUDE)
- LIBS = $(GTK_LIB) $(ESD_LIB)
+ 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
LFLAGS = -shared
-@@ -20,7 +20,7 @@
+@@ -32,7 +32,7 @@
+ FLAGS += -DGKRELLM_ALSA5
endif
-
-CC = gcc $(FLAGS) $(CFLAGS)
+CC += $(FLAGS) $(CFLAGS)
- OBJS = gkrellmss.o sdlib.o
+ OBJS = gkrellmss.o oscope.o spectrum.o sdlib.o
-@@ -33,8 +33,7 @@
+@@ -45,8 +45,7 @@
rm -f *.o core *.so* *.bak *~
install:
@@ -39,4 +49,4 @@
+ $(INSTALL) gkrellmss.so $(INSTALLDIR)
gkrellmss.o: gkrellmss.c gkrellmss.h
- sdlib.o: sdlib.c gkrellmss.h
+ oscope.o: oscope.c gkrellmss.h