diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-11-29 02:22:44 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-11-29 02:22:44 +0000 |
commit | 5ad2d7ee5fd9bcf93ebf504023932faed5056f4e (patch) | |
tree | 0ea77ae7e6ba21d8db2f275097ab18b0594995e9 /sys-apps/dmapi/files | |
parent | Added ~sparc keyword as it was incorrectly dropped from the ebuild among othe... (diff) | |
download | gentoo-2-5ad2d7ee5fd9bcf93ebf504023932faed5056f4e.tar.gz gentoo-2-5ad2d7ee5fd9bcf93ebf504023932faed5056f4e.tar.bz2 gentoo-2-5ad2d7ee5fd9bcf93ebf504023932faed5056f4e.zip |
Clean up build so that we no longer have .a or .la files in /.
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'sys-apps/dmapi/files')
-rw-r--r-- | sys-apps/dmapi/files/dmapi-2.2.1-only-symlink-when-needed.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sys-apps/dmapi/files/dmapi-2.2.1-only-symlink-when-needed.patch b/sys-apps/dmapi/files/dmapi-2.2.1-only-symlink-when-needed.patch new file mode 100644 index 000000000000..387a08352e16 --- /dev/null +++ b/sys-apps/dmapi/files/dmapi-2.2.1-only-symlink-when-needed.patch @@ -0,0 +1,18 @@ +We dont want to generate symlinks when the libdir is the same as the +devlibdir, otherwise we clobber the real files with broken symlinks + +--- include/buildmacros ++++ include/buildmacros +@@ -102,9 +102,11 @@ + ../$(INSTALL) -m 644 $(LIBNAME).lai $(PKG_DEVLIB_DIR)/$(LIBNAME).la ; \ + ../$(INSTALL) -m 755 -d $(PKG_LIB_DIR); \ + ../$(INSTALL) -T so_base $(LIBNAME).lai $(PKG_LIB_DIR); \ ++ if test "x$(PKG_DEVLIB_DIR)" != "x$(PKG_LIB_DIR)" ; then \ + ../$(INSTALL) -S $(PKG_DEVLIB_DIR)/$(LIBNAME).a $(PKG_LIB_DIR)/$(LIBNAME).a; \ + ../$(INSTALL) -S $(PKG_DEVLIB_DIR)/$(LIBNAME).la $(PKG_LIB_DIR)/$(LIBNAME).la; \ +- ../$(INSTALL) -S $(PKG_LIB_DIR)/$(LIBNAME).so $(PKG_DEVLIB_DIR)/$(LIBNAME).so ++ ../$(INSTALL) -S $(PKG_LIB_DIR)/$(LIBNAME).so $(PKG_DEVLIB_DIR)/$(LIBNAME).so; \ ++ fi + else + INSTALL_LTLIB_DEV = $(INSTALL_LTLIB_STATIC) + endif |