/[gentoo-x86]/app-laptop/ibam/files/ibam-0.5.2-build.patch
Gentoo

Contents of /app-laptop/ibam/files/ibam-0.5.2-build.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download) (as text)
Mon Jan 23 00:55:39 2012 UTC (8 years, 9 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/x-diff
Fix sysfs detection problems (by migrating to Debian patchset) wrt #359891 by Naohiro Aota

(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)

1 ssuominen 1.1 --- Makefile
2     +++ Makefile
3     @@ -17,8 +17,8 @@
4     #
5     IBAM_VERSION=0.5.2
6    
7     -CC=g++
8     -CFLAGS=-O3 -DIBAM_VERSION=\"$(IBAM_VERSION)\" -Wall
9     +CXX?=g++
10     +CXXFLAGS+=-DIBAM_VERSION=\"$(IBAM_VERSION)\" -Wall
11    
12     PREFIX=/usr
13    
14     @@ -30,23 +30,23 @@
15     all: ibam
16    
17     ibam: ibam.cpp ibam.inl ibam.hpp
18     - $(CC) $(CFLAGS) ibam.cpp -o ibam
19     + $(CXX) $(LDFLAGS) $(CXXFLAGS) ibam.cpp -o ibam
20    
21     krell: ibam-krell.so
22    
23     ibam-krell.so: ibam-krell.o
24     - $(CC) $(CFLAGS) -fPIC -shared -Wl -o ibam-krell.so ibam-krell.o
25     + $(CXX) $(LDFLAGS) $(CXXFLAGS) -fPIC -shared -Wl -o ibam-krell.so ibam-krell.o
26    
27     ibam-krell.o: ibam-krell.cpp ibam.hpp ibam.inl
28     - $(CC) $(CFLAGS) -fPIC `pkg-config gtk+-2.0 --cflags` `gdk-pixbuf-config --cflags` -c ibam-krell.cpp
29     + $(CXX) $(CXXFLAGS) -fPIC `pkg-config gtk+-2.0 --cflags` `gdk-pixbuf-config --cflags` -c ibam-krell.cpp
30    
31     krell1: ibam-krell1.so
32    
33     ibam-krell1.so: ibam-krell1.o
34     - $(CC) $(CFLAGS) -shared -Wl -o ibam-krell1.so ibam-krell1.o
35     + $(CXX) $(LDFLAGS) $(CXXFLAGS) -shared -Wl -o ibam-krell1.so ibam-krell1.o
36    
37     ibam-krell1.o: ibam-krell1.cpp ibam.hpp ibam.inl
38     - $(CC) $(CFLAGS) -fPIC `gtk-config --cflags` `imlib-config --cflags-gdk` -c ibam-krell1.cpp
39     + $(CXX) $(CXXFLAGS) -fPIC `gtk-config --cflags` `imlib-config --cflags-gdk` -c ibam-krell1.cpp
40    
41     install: ibam
42     $(INSTALL) ./ibam $(PREFIX)/local/bin/

  ViewVC Help
Powered by ViewVC 1.1.20