diff options
author | Alex Alexander <wired@gentoo.org> | 2009-12-04 01:04:13 +0000 |
---|---|---|
committer | Alex Alexander <wired@gentoo.org> | 2009-12-04 01:04:13 +0000 |
commit | ce9520fd572e9e466127a8ab4da0c813357f0ddc (patch) | |
tree | ec7120cd3ca2e97ac9ca0a2843a70e5f7c4349d2 /www-client/uzbl/files | |
parent | Automated update of use.local.desc (diff) | |
download | gentoo-2-ce9520fd572e9e466127a8ab4da0c813357f0ddc.tar.gz gentoo-2-ce9520fd572e9e466127a8ab4da0c813357f0ddc.tar.bz2 gentoo-2-ce9520fd572e9e466127a8ab4da0c813357f0ddc.zip |
live ebuild
(Portage version: 2.2_rc54/cvs/Linux x86_64)
Diffstat (limited to 'www-client/uzbl/files')
-rw-r--r-- | www-client/uzbl/files/uzbl-9999-makefile-cleanup.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/www-client/uzbl/files/uzbl-9999-makefile-cleanup.patch b/www-client/uzbl/files/uzbl-9999-makefile-cleanup.patch new file mode 100644 index 000000000000..214912be4868 --- /dev/null +++ b/www-client/uzbl/files/uzbl-9999-makefile-cleanup.patch @@ -0,0 +1,41 @@ +--- Makefile.old 2009-11-24 15:20:22.086005098 +0200 ++++ Makefile 2009-11-24 15:44:30.944138916 +0200 +@@ -1,10 +1,8 @@ + # first entries are for gnu make, 2nd for BSD make. see http://lists.uzbl.org/pipermail/uzbl-dev-uzbl.org/2009-July/000177.html + +-CFLAGS:=-std=c99 $(shell pkg-config --cflags gtk+-2.0 webkit-1.0 libsoup-2.4 gthread-2.0) -ggdb -Wall -W -DARCH="\"$(shell uname -m)\"" -lgthread-2.0 -DCOMMIT="\"$(shell git log | head -n1 | sed "s/.* //")\"" $(CPPFLAGS) -fPIC -W -Wall -Wextra -pedantic -ggdb3 +-CFLAGS!=echo -std=c99 `pkg-config --cflags gtk+-2.0 webkit-1.0 libsoup-2.4 gthread-2.0` -ggdb -Wall -W -DARCH='"\""'`uname -m`'"\""' -lgthread-2.0 -DCOMMIT='"\""'`git log | head -n1 | sed "s/.* //"`'"\""' $(CPPFLAGS) -fPIC -W -Wall -Wextra -pedantic -ggdb3 ++CFLAGS:=-std=c99 $(shell pkg-config --cflags gtk+-2.0 webkit-1.0 libsoup-2.4 gthread-2.0) -Wall -W -DARCH="\"$(shell uname -m)\"" -lgthread-2.0 -DCOMMIT="\"$(shell git log | head -n1 | sed "s/.* //")\"" $(CPPFLAGS) -fPIC -W -Wall -Wextra -pedantic + + LDFLAGS:=$(shell pkg-config --libs gtk+-2.0 webkit-1.0 libsoup-2.4 gthread-2.0) -pthread $(LDFLAGS) +-LDFLAGS!=echo `pkg-config --libs gtk+-2.0 webkit-1.0 libsoup-2.4 gthread-2.0` -pthread $(LDFLAGS) + + SRC = uzbl-core.c events.c callbacks.c inspector.c + OBJ = ${SRC:.c=.o} +@@ -32,10 +30,6 @@ + @echo LINKING object files + @${CC} -o $@ ${OBJ} ${LDFLAGS} + @echo ... done. +- @echo Stripping binary +- @strip $@ +- @echo ... done. +- + + uzbl-browser: uzbl-core + +@@ -86,14 +80,10 @@ + + install-uzbl-core: all + install -d $(INSTALLDIR)/bin +- install -d $(INSTALLDIR)/share/uzbl/docs + install -d $(INSTALLDIR)/share/uzbl/examples +- cp -rp docs $(INSTALLDIR)/share/uzbl/ +- cp -rp config.h $(INSTALLDIR)/share/uzbl/docs/ ++ cp -rp config.h $(INSTALLDIR)/share/uzbl/ + cp -rp examples $(INSTALLDIR)/share/uzbl/ + install -m755 uzbl-core $(INSTALLDIR)/bin/uzbl-core +- install -m644 AUTHORS $(INSTALLDIR)/share/uzbl/docs +- install -m644 README $(INSTALLDIR)/share/uzbl/docs + + install-uzbl-browser: all + install -d $(INSTALLDIR)/bin |