diff options
author | Alex Alexander <wired@gentoo.org> | 2009-12-04 14:04:04 +0000 |
---|---|---|
committer | Alex Alexander <wired@gentoo.org> | 2009-12-04 14:04:04 +0000 |
commit | ab5a8cbb2f08321124ce7f3b5a85ebd92b86c317 (patch) | |
tree | 0c8b3a9da899f948004c420dd1cb215dbefcdf49 /www-client/uzbl/files | |
parent | Stable on amd64 (#288026) (diff) | |
download | gentoo-2-ab5a8cbb2f08321124ce7f3b5a85ebd92b86c317.tar.gz gentoo-2-ab5a8cbb2f08321124ce7f3b5a85ebd92b86c317.tar.bz2 gentoo-2-ab5a8cbb2f08321124ce7f3b5a85ebd92b86c317.zip |
updated makefile patches to fix -j2+ install issue
(Portage version: 2.2_rc55/cvs/Linux x86_64)
Diffstat (limited to 'www-client/uzbl/files')
-rw-r--r-- | www-client/uzbl/files/uzbl-9999-makefile-cleanup.patch | 37 | ||||
-rw-r--r-- | www-client/uzbl/files/uzbl-makefile-cleanup.patch | 35 |
2 files changed, 49 insertions, 23 deletions
diff --git a/www-client/uzbl/files/uzbl-9999-makefile-cleanup.patch b/www-client/uzbl/files/uzbl-9999-makefile-cleanup.patch index 214912be4868..b9cb61d716f7 100644 --- a/www-client/uzbl/files/uzbl-9999-makefile-cleanup.patch +++ b/www-client/uzbl/files/uzbl-9999-makefile-cleanup.patch @@ -1,18 +1,16 @@ ---- Makefile.old 2009-11-24 15:20:22.086005098 +0200 -+++ Makefile 2009-11-24 15:44:30.944138916 +0200 -@@ -1,10 +1,8 @@ +--- Makefile.old 2009-12-04 15:52:06.100130674 +0200 ++++ Makefile 2009-12-04 15:54:32.143205265 +0200 +@@ -1,7 +1,7 @@ # 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 ++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 uname -m)\"" -lgthread-2.0 -DCOMMIT="\"$(shell git log | head -n1 | sed "s/.* //")\"" $(CPPFLAGS) -fPIC -W -Wall -Wextra -pedantic ++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 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 @@ + LDFLAGS!=echo `pkg-config --libs gtk+-2.0 webkit-1.0 libsoup-2.4 gthread-2.0` -pthread $(LDFLAGS) +@@ -32,10 +32,6 @@ @echo LINKING object files @${CC} -o $@ ${OBJ} ${LDFLAGS} @echo ... done. @@ -23,9 +21,12 @@ uzbl-browser: uzbl-core -@@ -86,14 +80,10 @@ +@@ -86,18 +82,14 @@ + + install: install-uzbl-core install-uzbl-browser install-uzbl-tabbed - install-uzbl-core: all +-install-uzbl-core: all ++install-uzbl-core: install -d $(INSTALLDIR)/bin - install -d $(INSTALLDIR)/share/uzbl/docs install -d $(INSTALLDIR)/share/uzbl/examples @@ -37,5 +38,17 @@ - install -m644 AUTHORS $(INSTALLDIR)/share/uzbl/docs - install -m644 README $(INSTALLDIR)/share/uzbl/docs - install-uzbl-browser: all +-install-uzbl-browser: all ++install-uzbl-browser: install-uzbl-core install -d $(INSTALLDIR)/bin + install -m755 uzbl-browser $(INSTALLDIR)/bin/uzbl-browser + install -m755 examples/data/uzbl/scripts/uzbl-cookie-daemon $(INSTALLDIR)/bin/uzbl-cookie-daemon +@@ -106,7 +98,7 @@ + sed -i "s#^PREFIX = .*#PREFIX = '$(PREFIX)'#" $(INSTALLDIR)/bin/uzbl-event-manager + sed -i 's#^set prefix.*=.*#set prefix = $(PREFIX)#' $(INSTALLDIR)/share/uzbl/examples/config/uzbl/config + +-install-uzbl-tabbed: all ++install-uzbl-tabbed: install-uzbl-browser + install -d $(INSTALLDIR)/bin + install -m755 examples/data/uzbl/scripts/uzbl-tabbed $(INSTALLDIR)/bin/uzbl-tabbed + diff --git a/www-client/uzbl/files/uzbl-makefile-cleanup.patch b/www-client/uzbl/files/uzbl-makefile-cleanup.patch index 47e34277526c..f46cdb0649e0 100644 --- a/www-client/uzbl/files/uzbl-makefile-cleanup.patch +++ b/www-client/uzbl/files/uzbl-makefile-cleanup.patch @@ -1,18 +1,16 @@ ---- Makefile.old 2009-11-24 15:20:22.086005098 +0200 -+++ Makefile 2009-11-24 15:44:30.944138916 +0200 -@@ -1,10 +1,8 @@ +--- Makefile.old 2009-12-04 15:52:06.100130674 +0200 ++++ Makefile 2009-12-04 15:54:32.143205265 +0200 +@@ -1,7 +1,7 @@ # 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="\"uzbl-commit\"" $(CPPFLAGS) -fPIC -W -Wall -Wextra -pedantic ++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='"\"uzbl-commit\""' $(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 @@ + LDFLAGS!=echo `pkg-config --libs gtk+-2.0 webkit-1.0 libsoup-2.4 gthread-2.0` -pthread $(LDFLAGS) +@@ -32,10 +32,6 @@ @echo LINKING object files @${CC} -o $@ ${OBJ} ${LDFLAGS} @echo ... done. @@ -23,9 +21,12 @@ uzbl-browser: uzbl-core -@@ -86,14 +80,10 @@ +@@ -86,18 +82,14 @@ + + install: install-uzbl-core install-uzbl-browser install-uzbl-tabbed - install-uzbl-core: all +-install-uzbl-core: all ++install-uzbl-core: install -d $(INSTALLDIR)/bin - install -d $(INSTALLDIR)/share/uzbl/docs install -d $(INSTALLDIR)/share/uzbl/examples @@ -37,5 +38,17 @@ - install -m644 AUTHORS $(INSTALLDIR)/share/uzbl/docs - install -m644 README $(INSTALLDIR)/share/uzbl/docs - install-uzbl-browser: all +-install-uzbl-browser: all ++install-uzbl-browser: install-uzbl-core install -d $(INSTALLDIR)/bin + install -m755 uzbl-browser $(INSTALLDIR)/bin/uzbl-browser + install -m755 examples/data/uzbl/scripts/uzbl-cookie-daemon $(INSTALLDIR)/bin/uzbl-cookie-daemon +@@ -106,7 +98,7 @@ + sed -i "s#^PREFIX = .*#PREFIX = '$(PREFIX)'#" $(INSTALLDIR)/bin/uzbl-event-manager + sed -i 's#^set prefix.*=.*#set prefix = $(PREFIX)#' $(INSTALLDIR)/share/uzbl/examples/config/uzbl/config + +-install-uzbl-tabbed: all ++install-uzbl-tabbed: install-uzbl-browser + install -d $(INSTALLDIR)/bin + install -m755 examples/data/uzbl/scripts/uzbl-tabbed $(INSTALLDIR)/bin/uzbl-tabbed + |