summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-06-15 08:39:17 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-06-15 08:39:17 +0000
commitc39d1adecdd7c012685f57a14bdbd38cd67f7f57 (patch)
tree08690bd325d52e70d56b6966ab090f4a98e4e4f8 /dev-libs/libmimedir/files
parentUse latest ff patchset (diff)
downloadhistorical-c39d1adecdd7c012685f57a14bdbd38cd67f7f57.tar.gz
historical-c39d1adecdd7c012685f57a14bdbd38cd67f7f57.tar.bz2
historical-c39d1adecdd7c012685f57a14bdbd38cd67f7f57.zip
Version bump.
Package-Manager: portage-2.2.0_alpha110/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/libmimedir/files')
-rw-r--r--dev-libs/libmimedir/files/libmimedir-0.5.1-destdir.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-libs/libmimedir/files/libmimedir-0.5.1-destdir.patch b/dev-libs/libmimedir/files/libmimedir-0.5.1-destdir.patch
new file mode 100644
index 000000000000..19b5c66e9253
--- /dev/null
+++ b/dev-libs/libmimedir/files/libmimedir-0.5.1-destdir.patch
@@ -0,0 +1,20 @@
+Add DESDIR support to Makefile.in
+Index: libmimedir-0.5.1/Makefile.in
+===================================================================
+--- libmimedir-0.5.1.orig/Makefile.in 2009-02-03 21:29:05.000000000 -0500
++++ libmimedir-0.5.1/Makefile.in 2009-02-03 21:31:01.000000000 -0500
+@@ -55,9 +55,11 @@
+ ./test
+
+ install: all
+- ${INSTALL} -m 444 libmimedir.h ${includedir}
+- ${INSTALL} -m 444 libmimedir.a ${libdir}
+- $(LIBTOOL) --mode=install ${INSTALL} -c -m 444 libmimedir.la ${libdir}/libmimedir.la
++ mkdir -p ${DESTDIR}${includedir}
++ mkdir -p ${DESTDIR}${libdir}
++ ${INSTALL} -m 444 libmimedir.h ${DESTDIR}${includedir}
++ ${INSTALL} -m 444 libmimedir.a ${DESTDIR}${libdir}
++ $(LIBTOOL) --mode=install ${INSTALL} -c -m 444 libmimedir.la ${DESTDIR}${libdir}
+
+ clean:
+ rm -f $(OBJS) $(LOBJS) test.o *.a *.la *.core