diff options
author | Mike Frysinger <vapier@gentoo.org> | 2002-12-30 16:45:37 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2002-12-30 16:45:37 +0000 |
commit | fbf7f15d57f7ce4f741a22be879d01e025e07803 (patch) | |
tree | b1f471ccbe445481a536cf18570ac8eb56433ee5 /dev-libs/uclibc | |
parent | portage-2.0.46-r5 -- touchups, fixes, alpha and sparc configs (diff) | |
download | historical-fbf7f15d57f7ce4f741a22be879d01e025e07803.tar.gz historical-fbf7f15d57f7ce4f741a22be879d01e025e07803.tar.bz2 historical-fbf7f15d57f7ce4f741a22be879d01e025e07803.zip |
small patch
Diffstat (limited to 'dev-libs/uclibc')
-rw-r--r-- | dev-libs/uclibc/files/Makefile-cp-order-fix.patch | 20 | ||||
-rw-r--r-- | dev-libs/uclibc/uclibc-0.9.16.ebuild | 3 |
2 files changed, 22 insertions, 1 deletions
diff --git a/dev-libs/uclibc/files/Makefile-cp-order-fix.patch b/dev-libs/uclibc/files/Makefile-cp-order-fix.patch new file mode 100644 index 000000000000..ff8889d2821c --- /dev/null +++ b/dev-libs/uclibc/files/Makefile-cp-order-fix.patch @@ -0,0 +1,20 @@ +--- Makefile.orig 2002-12-30 11:34:18.000000000 -0500 ++++ Makefile 2002-12-30 11:31:52.000000000 -0500 +@@ -192,8 +192,7 @@ + install -d $(PREFIX)$(DEVEL_PREFIX)/bin + install -m 644 lib/lib*-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so \ + $(PREFIX)$(DEVEL_PREFIX)/lib +- cp -a lib/*.so.* $(PREFIX)$(DEVEL_PREFIX)/lib +- @if [ -x lib/ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so ] ; then \ ++ if [ -x lib/ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so ] ; then \ + set -x -e; \ + install -m 755 lib/ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so \ + $(PREFIX)$(DEVEL_PREFIX)/lib; \ +@@ -201,6 +200,7 @@ + ln -s $(DEVEL_PREFIX)/lib/ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so \ + $(PREFIX)$(SHARED_LIB_LOADER_PATH)/$(UCLIBC_LDSO) || true; \ + fi; ++ cp -a lib/*.so.* $(PREFIX)$(DEVEL_PREFIX)/lib + endif + + install_toolchain: diff --git a/dev-libs/uclibc/uclibc-0.9.16.ebuild b/dev-libs/uclibc/uclibc-0.9.16.ebuild index cd99c5e08bd6..4370132a12b4 100644 --- a/dev-libs/uclibc/uclibc-0.9.16.ebuild +++ b/dev-libs/uclibc/uclibc-0.9.16.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/uclibc/uclibc-0.9.16.ebuild,v 1.1 2002/11/11 06:43:22 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/uclibc/uclibc-0.9.16.ebuild,v 1.2 2002/12/30 16:45:28 vapier Exp $ MY_P="${P/ucl/uCl}" DESCRIPTION="C library for developing embedded Linux systems" @@ -32,5 +32,6 @@ src_compile() { } src_install() { + patch -p0 < ${FILESDIR}/Makefile-cp-order-fix.patch || die make PREFIX=${D} install || die "install failed" } |