aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2003-05-22 00:24:16 +0800
committerume <ume@FreeBSD.org>2003-05-22 00:24:16 +0800
commitf8043ba1417f68033fbb60eb54c2686692980676 (patch)
treeae169d8bf9c2e7a9182922dd12c255d2283d2ce7 /audio
parentbda943d79e8b1d5ba7c38e637a4255a496974655 (diff)
downloadfreebsd-ports-gnome-f8043ba1417f68033fbb60eb54c2686692980676.tar.gz
freebsd-ports-gnome-f8043ba1417f68033fbb60eb54c2686692980676.tar.zst
freebsd-ports-gnome-f8043ba1417f68033fbb60eb54c2686692980676.zip
fix handling of CFLAGS.
Reported by: lioux
Diffstat (limited to 'audio')
-rw-r--r--audio/gkrellmms2/Makefile1
-rw-r--r--audio/gkrellmms2/files/patch-aa14
2 files changed, 8 insertions, 7 deletions
diff --git a/audio/gkrellmms2/Makefile b/audio/gkrellmms2/Makefile
index aeb83130e97a..e68cbcbb3cd2 100644
--- a/audio/gkrellmms2/Makefile
+++ b/audio/gkrellmms2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gkrellmms
PORTVERSION= 2.1.9
+PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://gkrellm.luon.net/files/
diff --git a/audio/gkrellmms2/files/patch-aa b/audio/gkrellmms2/files/patch-aa
index f5b2a5199536..6d308bde7947 100644
--- a/audio/gkrellmms2/files/patch-aa
+++ b/audio/gkrellmms2/files/patch-aa
@@ -1,7 +1,7 @@
Index: Makefile
diff -u Makefile.orig Makefile
---- Makefile.orig Thu Nov 7 01:52:54 2002
-+++ Makefile Sat Nov 9 17:11:17 2002
+--- Makefile.orig Wed Mar 19 20:12:30 2003
++++ Makefile Wed May 21 13:58:26 2003
@@ -3,17 +3,17 @@
# You may want to rename the binary-file.
BIN_FILENAME = gkrellmms
@@ -17,24 +17,24 @@ diff -u Makefile.orig Makefile
PLUGIN_DIR ?= /usr/local/lib/gkrellm2/plugins
-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(XMMS_INCLUDE)
-+CFLAGS = -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(XMMS_INCLUDE)
++FLAGS = -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(XMMS_INCLUDE)
LIBS = $(GTK_LIB) $(IMLIB_LIB) $(XMMS_LIB)
-LFLAGS = -shared -lpthread
+LFLAGS = -shared
LOCALEDIR ?= /usr/share/locale
ifeq ($(enable_nls),1)
-@@ -24,9 +24,6 @@
+@@ -24,8 +24,7 @@
FLAGS += -DPACKAGE="\"$(PACKAGE)\""
export PACKAGE LOCALEDIR
-CC ?= gcc
-CC += $(CFLAGS) $(FLAGS)
--
++CFLAGS += $(FLAGS)
+
INSTALL = install -c
INSTALL_PROGRAM = $(INSTALL) -s
-
-@@ -36,7 +33,7 @@
+@@ -36,7 +35,7 @@
(cd po && ${MAKE} all )
$(BIN_FILENAME).so: $(OBJS)