summaryrefslogtreecommitdiff
path: root/libraries/libmimedir/Makefile.in-Add_DESTDIR.patch
diff options
context:
space:
mode:
authorLionel Young <redtricycle@gmail.com>2010-05-12 23:30:34 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 23:30:34 +0200
commit4925f2cdeb813d49b057b39348eeb02bf8062ed0 (patch)
tree34eae962fa8bf12897adee1e0e0962261e12266f /libraries/libmimedir/Makefile.in-Add_DESTDIR.patch
parentfb111df4c8bd38422d4cfeb8f99d81d7ff13a910 (diff)
downloadslackbuilds-4925f2cdeb813d49b057b39348eeb02bf8062ed0.tar.gz
libraries/libmimedir: Added to 12.2 repository
Diffstat (limited to 'libraries/libmimedir/Makefile.in-Add_DESTDIR.patch')
-rw-r--r--libraries/libmimedir/Makefile.in-Add_DESTDIR.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/libraries/libmimedir/Makefile.in-Add_DESTDIR.patch b/libraries/libmimedir/Makefile.in-Add_DESTDIR.patch
new file mode 100644
index 0000000000..27fb6f27ba
--- /dev/null
+++ b/libraries/libmimedir/Makefile.in-Add_DESTDIR.patch
@@ -0,0 +1,18 @@
+diff -Nur libmimedir-0.5.1.orig/Makefile.in libmimedir-0.5.1/Makefile.in
+--- libmimedir-0.5.1.orig/Makefile.in 2008-06-03 11:58:26.000000000 -0500
++++ libmimedir-0.5.1/Makefile.in 2009-03-22 23:30:41.953080041 -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
++ ${INSTALL} -d 755 $(DESTDIR)${includedir}
++ ${INSTALL} -m 644 libmimedir.h $(DESTDIR)${includedir}
++ ${INSTALL} -d 755 $(DESTDIR)${libdir}
++ ${INSTALL} -m 644 libmimedir.a $(DESTDIR)${libdir}
++ $(LIBTOOL) --mode=install ${INSTALL} -c -m 644 libmimedir.la $(DESTDIR)${libdir}/libmimedir.la
+
+ clean:
+ rm -f $(OBJS) $(LOBJS) test.o *.a *.la *.core