diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
commit | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (patch) | |
tree | 4a67d50a439e9af63947e5f8b6ba3719af98b6c9 /sys-fs/xfsprogs/files | |
parent | b284a3168fa91a038925d2ecf5e4791011ea5e7d (diff) |
gentoo resync : 15.12.2019
Diffstat (limited to 'sys-fs/xfsprogs/files')
-rw-r--r-- | sys-fs/xfsprogs/files/xfsprogs-5.3.0-libdir.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/sys-fs/xfsprogs/files/xfsprogs-5.3.0-libdir.patch b/sys-fs/xfsprogs/files/xfsprogs-5.3.0-libdir.patch new file mode 100644 index 000000000000..f943817df487 --- /dev/null +++ b/sys-fs/xfsprogs/files/xfsprogs-5.3.0-libdir.patch @@ -0,0 +1,28 @@ +In Gentoo we install libs to /usr/lib* and let gen_usr_ldscript +handle /lib*. + +--- a/include/buildmacros ++++ b/include/buildmacros +@@ -57,9 +57,10 @@ endif + ifeq ($(ENABLE_SHARED),yes) + INSTALL_LTLIB = \ + cd $(TOPDIR)/$(LIBNAME)/.libs; \ +- ../$(INSTALL) -m 755 -d $(PKG_ROOT_LIB_DIR); \ +- ../$(INSTALL) -m 755 -T so_dot_version $(LIBNAME).lai $(PKG_ROOT_LIB_DIR); \ +- ../$(INSTALL) -T so_dot_current $(LIBNAME).lai $(PKG_ROOT_LIB_DIR) ++ ../$(INSTALL) -m 755 -d $(PKG_LIB_DIR); \ ++ ../$(INSTALL) -m 755 -T so_dot_version $(LIBNAME).lai $(PKG_LIB_DIR); \ ++ ../$(INSTALL) -T so_dot_current $(LIBNAME).lai $(PKG_LIB_DIR); \ ++ ../$(INSTALL) -T so_base $(LIBNAME).lai $(PKG_LIB_DIR) + endif + + # Libtool thinks the static and shared libs should be in the same dir, so +@@ -68,7 +69,7 @@ endif + # Other things want the shared libs to appear in /usr/lib, else they'll + # link with the static libs there. So, another symlink to get the .so into + # /usr/lib. +-ifeq ($(ENABLE_SHARED),yes) ++ifeq ($(ENABLE_SHARED_HANDLED_BY_gen_usr_ldscript),yes) + INSTALL_LTLIB_DEV = \ + cd $(TOPDIR)/$(LIBNAME)/.libs; \ + ../$(INSTALL) -m 755 -d $(PKG_LIB_DIR); \ |