summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs/libtrash/files/libtrash-3.2-gentoo.patch')
-rw-r--r--sys-libs/libtrash/files/libtrash-3.2-gentoo.patch3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys-libs/libtrash/files/libtrash-3.2-gentoo.patch b/sys-libs/libtrash/files/libtrash-3.2-gentoo.patch
index 97f11e8ef533..f1dba6b03917 100644
--- a/sys-libs/libtrash/files/libtrash-3.2-gentoo.patch
+++ b/sys-libs/libtrash/files/libtrash-3.2-gentoo.patch
@@ -45,7 +45,7 @@ diff -Naur libtrash-3.2.orig/src/Makefile libtrash-3.2/src/Makefile
INSTLIBDIR=/usr/local/lib
SYSCONFFILE=/etc/libtrash.conf
-@@ -32,10 +32,10 @@
+@@ -32,10 +32,11 @@
-o libtrash.so.${VERSION} -ldl
install-libtrash:
@@ -55,6 +55,7 @@ diff -Naur libtrash-3.2.orig/src/Makefile libtrash-3.2/src/Makefile
- ldconfig
+ TRASH_OFF=YES install libtrash.so.${VERSION} $(DESTDIR)${INSTLIBDIR}/libtrash.so.${VERSION}
+ TRASH_OFF=YES ln -sf libtrash.so.${VERSION} $(DESTDIR)${INSTLIBDIR}/libtrash.so
++ TRASH_OFF=YES ln -sf libtrash.so.${VERSION} $(DESTDIR)${INSTLIBDIR}/libtrash.so.3
+ TRASH_OFF=YES install libtrash.conf.sys --mode a=r $(DESTDIR)${SYSCONFFILE}
+# ldconfig