Gentoo Archives: gentoo-commits

From: "Andreas HAttel (dilfridge)" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-electronics/gspiceui/files: gspiceui-0.9.99-flags.patch
Date: Sun, 31 Oct 2010 23:42:01
Message-Id: 20101031234155.4CBDC20054@flycatcher.gentoo.org
1 dilfridge 10/10/31 23:41:55
2
3 Added: gspiceui-0.9.99-flags.patch
4 Log:
5 Fix LDFLAGS and CXXFLAGS, remove icon extension in desktop file
6
7 (Portage version: 2.1.9.23/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 sci-electronics/gspiceui/files/gspiceui-0.9.99-flags.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/gspiceui/files/gspiceui-0.9.99-flags.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/gspiceui/files/gspiceui-0.9.99-flags.patch?rev=1.1&content-type=text/plain
14
15 Index: gspiceui-0.9.99-flags.patch
16 ===================================================================
17 diff -urN gspiceui-v0.9.99.orig/src/Makefile gspiceui-v0.9.99/src/Makefile
18 --- gspiceui-v0.9.99.orig/src/Makefile 2010-04-16 10:43:59.000000000 +0200
19 +++ gspiceui-v0.9.99/src/Makefile 2010-11-01 00:25:32.000000000 +0100
20 @@ -59,13 +59,7 @@
21 INSTALLDIR = /usr/local/bin
22
23 # Compiler options
24 -ifeq ($(GSPICEUI_DBG),0)
25 - # Options for release (not using -Wall since it's GCC specific)
26 - CXXFLAGS := -O -pipe $(shell $(WXCFG) --cxxflags)
27 -else
28 - # Options for development
29 - CXXFLAGS := -Wall -g -pipe $(shell $(WXCFG) --cxxflags)
30 -endif
31 +CXXFLAGS += $(shell $(WXCFG) --cxxflags)
32
33 # Includes
34 INCLUDES = -I/usr/include -I/usr/X11R6/include -I.
35 @@ -108,7 +102,7 @@
36 # -o specify the output file name
37
38 $(BINDIR)/$(PROG) : $(OBJS)
39 - $(CC) -pipe -o $(BINDIR)/$(PROG) obj/*.o $(LIBS)
40 + $(CC) -pipe -o $(BINDIR)/$(PROG) obj/*.o $(LDFLAGS) $(LIBS)
41 ifeq ($(ROOT)/GSpiceUI.app,$(wildcard $(ROOT)/GSpiceUI.app))
42 cp $(BINDIR)/$(PROG) $(ROOT)/GSpiceUI.app/Contents/MacOS/gspiceui
43 endif