diff options
author | Alastair Tse <liquidx@gentoo.org> | 2004-09-26 18:43:20 +0000 |
---|---|---|
committer | Alastair Tse <liquidx@gentoo.org> | 2004-09-26 18:43:20 +0000 |
commit | ef1c73e693df931ed14c3a9ed5363214a589f7ec (patch) | |
tree | 2419723e8eeb5a4b1c03aa1507a4bf17b8da0923 /net-misc/blogtk/files | |
parent | Version bump. (Manifest recommit) (diff) | |
download | gentoo-2-ef1c73e693df931ed14c3a9ed5363214a589f7ec.tar.gz gentoo-2-ef1c73e693df931ed14c3a9ed5363214a589f7ec.tar.bz2 gentoo-2-ef1c73e693df931ed14c3a9ed5363214a589f7ec.zip |
fixed makefile to work with DESTDIR to avoid sandbox violations. version bump (#50938)
Diffstat (limited to 'net-misc/blogtk/files')
-rw-r--r-- | net-misc/blogtk/files/blogtk-1.0-destdir.patch | 28 | ||||
-rw-r--r-- | net-misc/blogtk/files/digest-blogtk-1.0 | 1 |
2 files changed, 29 insertions, 0 deletions
diff --git a/net-misc/blogtk/files/blogtk-1.0-destdir.patch b/net-misc/blogtk/files/blogtk-1.0-destdir.patch new file mode 100644 index 000000000000..2f438a6114ca --- /dev/null +++ b/net-misc/blogtk/files/blogtk-1.0-destdir.patch @@ -0,0 +1,28 @@ +--- Makefile 2004-03-16 22:01:09.000000000 +0000 ++++ Makefile.new 2004-09-26 19:39:23.000309640 +0100 +@@ -10,11 +10,11 @@ + # autodetect GNOME prefix, change this if you want it elsewhere + PREFIX ?= `pkg-config libgnome-2.0 --variable=prefix || echo /usr` + +-LIBDIR = $(PREFIX)/lib/blogtk +-BINDIR = $(PREFIX)/bin +-DATADIR = $(PREFIX)/share/blogtk +-APPLICATIONSDIR = $(PREFIX)/share/applications +-ICONDIR = $(PREFIX)/share/pixmaps ++LIBDIR = $(DESTDIR)$(PREFIX)/lib/blogtk ++BINDIR = $(DESTDIR)$(PREFIX)/bin ++DATADIR = $(DESTDIR)$(PREFIX)/share/blogtk ++APPLICATIONSDIR = $(DESTDIR)$(PREFIX)/share/applications ++ICONDIR = $(DESTDIR)$(PREFIX)/share/pixmaps + + PYFILES := $(shell $(FIND) . -name "*.py" -print) + +@@ -28,7 +28,5 @@ + $(INSTALL) -m 644 data/blogtk-icon.svgz $(ICONDIR) + $(INSTALL) -m 644 data/blogtk.desktop $(APPLICATIONSDIR) + +- if test -f /usr/bin/BloGTK; then rm /usr/bin/BloGTK; fi +- +- ln -s $(LIBDIR)/BloGTK.py $(BINDIR)/BloGTK ++ ln -sf $(PREFIX)/lib/blogtk/BloGTK.py $(BINDIR)/BloGTK + chmod +x $(BINDIR)/BloGTK diff --git a/net-misc/blogtk/files/digest-blogtk-1.0 b/net-misc/blogtk/files/digest-blogtk-1.0 new file mode 100644 index 000000000000..8bd191fdb70c --- /dev/null +++ b/net-misc/blogtk/files/digest-blogtk-1.0 @@ -0,0 +1 @@ +MD5 90d40f7fb7df5636396caedaf34b73da blogtk_1.0.tar.bz2 52265 |