1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

fix handling of CFLAGS.

Reported by:	lioux
This commit is contained in:
Hajimu UMEMOTO 2003-05-21 16:24:16 +00:00
parent 2d1c4dfca1
commit 68071f4728
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=81632
2 changed files with 8 additions and 7 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= gkrellmms
PORTVERSION= 2.1.9
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://gkrellm.luon.net/files/

View File

@ -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)