Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 342292 Details for
Bug 428598
x11-plugins/gkrellweather-2.0.8: ignores cflags
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
gkrellweather-makefile.patch
gkrellweather-makefile.patch (text/plain), 1.42 KB, created by
Michael Mair-Keimberger (iamnr3)
on 2013-03-16 19:34:12 UTC
(
hide
)
Description:
gkrellweather-makefile.patch
Filename:
MIME Type:
Creator:
Michael Mair-Keimberger (iamnr3)
Created:
2013-03-16 19:34:12 UTC
Size:
1.42 KB
patch
obsolete
>--- Makefile 2009-01-11 19:15:02.000000000 +0100 >+++ Makefile_new 2013-03-16 20:27:10.665162761 +0100 >@@ -1,10 +1,12 @@ > PKGNAME = gkrellweather > VERSION = 2.0.8 >-CFLAGS = -O2 -std=gnu99 -Wall -fPIC `pkg-config gtk+-2.0 --cflags` >+CFLAGS := $(CFLAGS) -fPIC `pkg-config gtk+-2.0 --cflags` > LIBS = `pkg-config gtk+-2.0 --libs` > LFLAGS = -shared > PREFIX = /usr/local > >+LFLAGS += $(LDFLAGS) >+ > LOCALEDIR := $(PREFIX)/share/locale > > ifeq ($(enable_nls),1) >@@ -14,13 +16,18 @@ > CFLAGS += -DPACKAGE="\"$(PKGNAME)\"" > export PKGNAME LOCALEDIR > >-CC = gcc >+CC = $(CC) > > OBJS = gkrellweather.o > >+all: gkrellweather.so >+ >+%.o: %.c >+ $(CC) $(CFLAGS) -c -o $@ $< >+ > gkrellweather.so: $(OBJS) > (cd po && ${MAKE} all ) >- $(CC) $(OBJS) -DVERSION=\"$(VERSION)\" -o gkrellweather.so $(LFLAGS) $(LIBS) -lpthread >+ $(CC) $(CFLAGS) $(OBJS) -DVERSION=\"$(VERSION)\" -o gkrellweather.so $(LFLAGS) $(LIBS) -lpthread > > clean: > (cd po && ${MAKE} clean ) >@@ -38,13 +45,13 @@ > else \ > install -D -c -s -m 644 gkrellweather.so $(PREFIX)/lib/gkrellm2/plugins/gkrellweather.so ; \ > fi >- install -c -m 755 GrabWeather $(PREFIX)/bin >+ install -D -c -m 755 GrabWeather $(PREFIX)/libexec/gkrellweather/ > > uninstall: > (cd po && ${MAKE} uninstall ) > rm -f /usr/lib/gkrellm2/plugins/gkrellweather.so > rm -f $(PREFIX)/lib/gkrellm2/plugins/gkrellweather.so >- rm -f $(PREFIX)/bin/GrabWeather >+ rm -f $(PREFIX)/libexec/gkrellweather/GrabWeather > > dist: > rm -rf $(PKGNAME)-$(VERSION)
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 428598
:
342288
|
342290
| 342292