Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 229011 Details for
Bug 254471
games-emulation/higan (ebuild request)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
New, better Makefile patch
bsnes-0.064-makefile.patch (text/plain), 4.10 KB, created by
Michał Ziąbkowski
on 2010-04-24 14:52:36 UTC
(
hide
)
Description:
New, better Makefile patch
Filename:
MIME Type:
Creator:
Michał Ziąbkowski
Created:
2010-04-24 14:52:36 UTC
Size:
4.10 KB
patch
obsolete
>diff --git a/snesfilter/Makefile b/snesfilter/Makefile >index 089b86e..08ba81b 100755 >--- a/../snesfilter/Makefile >+++ b/../snesfilter/Makefile >@@ -5,12 +5,12 @@ include nall/qt/Makefile > > c := $(compiler) -std=gnu99 > cpp := $(subst cc,++,$(compiler)) -std=gnu++0x >-flags := -O3 -I. -Iobj -fomit-frame-pointer $(qtinc) >+flags := $(CXXFLAGS) -I. -Iobj -fomit-frame-pointer $(qtinc) > link := > > ifeq ($(platform),x) > flags := -fPIC -fopenmp $(flags) >- link += -s -fopenmp -lpthread -lgomp >+ link += -fopenmp -lpthread -lgomp > else ifeq ($(platform),osx) > flags := -fPIC -fopenmp $(flags) > link += -fopenmp -lpthread -lgomp >@@ -73,9 +73,8 @@ endif > > install: > ifeq ($(platform),x) >- install -D -m 755 libsnesfilter.a $(DESTDIR)$(prefix)/lib >- install -D -m 755 libsnesfilter.so $(DESTDIR)$(prefix)/lib >- ldconfig -n $(DESTDIR)$(prefix)/lib >+ install -D -m 755 libsnesfilter.a $(DESTDIR)$(prefix)/lib/libsnesfilter.a >+ install -D -m 755 libsnesfilter.so $(DESTDIR)$(prefix)/lib/libsnesfilter.so > else ifeq ($(platform),osx) > cp libsnesfilter.dylib /usr/local/lib/libsnesfilter.dylib > endif >diff --git a/snesreader/Makefile b/snesreader/Makefile >index 761317b..868a0cc 100755 >--- a/../snesreader/Makefile >+++ b/../snesreader/Makefile >@@ -5,12 +5,11 @@ include nall/qt/Makefile > > c := $(compiler) -std=gnu99 > cpp := $(subst cc,++,$(compiler)) -std=gnu++0x >-flags := -O3 -I. -Iobj -fomit-frame-pointer >+flags := $(CXXFLAGS) -I. -Iobj -fomit-frame-pointer > link := > > ifeq ($(platform),x) > flags := -fPIC $(flags) >- link += -s > else ifeq ($(platform),osx) > flags := -fPIC $(flags) > endif >@@ -171,9 +170,8 @@ endif > > install: > ifeq ($(platform),x) >- install -D -m 755 libsnesreader.a $(DESTDIR)$(prefix)/lib >- install -D -m 755 libsnesreader.so $(DESTDIR)$(prefix)/lib >- ldconfig -n $(DESTDIR)$(prefix)/lib >+ install -D -m 755 libsnesreader.a $(DESTDIR)$(prefix)/lib/libsnesreader.a >+ install -D -m 755 libsnesreader.so $(DESTDIR)$(prefix)/lib/libsnesreader.so > else ifeq ($(platform),osx) > cp libsnesreader.dylib /usr/local/lib/libsnesreader.dylib > endif >diff --git a/src/Makefile b/src/Makefile >index c3c1fe9..4b5de6d 100755 >--- a/Makefile >+++ b/Makefile >@@ -4,7 +4,7 @@ ui := ui_qt > # compiler > c := $(compiler) -std=gnu99 > cpp := $(subst cc,++,$(compiler)) -std=gnu++0x >-flags := -O3 -fomit-frame-pointer -I. >+flags := $(CXXFLAGS) -fomit-frame-pointer -I. > link := > objects := > >@@ -17,7 +17,7 @@ objects := > > # platform > ifeq ($(platform),x) >- link += -s -ldl -lX11 -lXext >+ link += -ldl -lX11 -lXext > else ifeq ($(platform),osx) > else ifeq ($(platform),win) > link += -mwindows -mthreads >@@ -60,8 +60,8 @@ endif > install: > ifeq ($(platform),x) > install -D -m 755 ../bsnes $(DESTDIR)$(prefix)/bin/bsnes >- install -D -m 644 data/bsnes.png $(DESTDIR)$(prefix)/share/pixmaps/bsnes.png >- install -D -m 644 data/bsnes.desktop $(DESTDIR)$(prefix)/share/applications/bsnes.desktop >+ install -D -m 644 data/bsnes.png $(DESTDIR)/usr/share/pixmaps/bsnes.png >+ install -D -m 644 data/bsnes.desktop $(DESTDIR)/usr/share/applications/bsnes.desktop > endif > > uninstall: >diff --git a/supergameboy/Makefile b/supergameboy/Makefile >index 60409af..cbef9ac 100755 >--- a/../supergameboy/Makefile >+++ b/../supergameboy/Makefile >@@ -2,14 +2,13 @@ include nall/Makefile > > c := $(compiler) -std=gnu99 > cpp := $(subst cc,++,$(compiler)) -std=gnu++0x >-flags := -O3 -fomit-frame-pointer -I. -Icommon -Ilibgambatte/include -Ilibgambatte/src >+flags := $(CXXFLAGS) -fomit-frame-pointer -I. -Icommon -Ilibgambatte/include -Ilibgambatte/src > link := > > ifeq ($(platform),osx) > flags := -fPIC $(flags) > else ifeq ($(platform),x) > flags := -fPIC $(flags) >- link += -s > endif > > objects := supergameboy >@@ -113,9 +112,8 @@ install: > ifeq ($(platform),osx) > cp libsupergameboy.dylib /usr/local/lib/libsupergameboy.dylib > else >- install -D -m 755 libsupergameboy.a $(DESTDIR)$(prefix)/lib >- install -D -m 755 libsupergameboy.so $(DESTDIR)$(prefix)/lib >- ldconfig -n $(DESTDIR)$(prefix)/lib >+ install -D -m 755 libsupergameboy.a $(DESTDIR)$(prefix)/lib/libsupergameboy.a >+ install -D -m 755 libsupergameboy.so $(DESTDIR)$(prefix)/lib/libsupergameboy.so > endif > > clean:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 254471
:
178223
|
178225
|
179040
|
179042
|
182645
|
182646
|
216918
|
216920
|
216989
|
216991
|
216993
|
216994
|
216996
|
217260
|
217261
|
219003
|
229009
| 229011 |
350516
|
350518
|
350520
|
350522
|
350524
|
350526
|
350528
|
350530