From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SV4zb-0004kU-9E for garchives@archives.gentoo.org; Thu, 17 May 2012 18:00:03 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3A1FFE06B0; Thu, 17 May 2012 17:59:56 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id F018FE06B0 for ; Thu, 17 May 2012 17:59:55 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2AE3C1B4032 for ; Thu, 17 May 2012 17:59:55 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 2139) id DDC5C20047; Thu, 17 May 2012 17:59:53 +0000 (UTC) From: "Alexis Ballier (aballier)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, aballier@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in sys-freebsd/freebsd-lib: ChangeLog freebsd-lib-9.0-r2.ebuild X-VCS-Repository: gentoo-x86 X-VCS-Files: ChangeLog freebsd-lib-9.0-r2.ebuild X-VCS-Directories: sys-freebsd/freebsd-lib X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier Content-Type: text/plain; charset=utf8 Message-Id: <20120517175953.DDC5C20047@flycatcher.gentoo.org> Date: Thu, 17 May 2012 17:59:53 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 30033db3-d7a7-4f31-87cc-7d7aaa12cbcc X-Archives-Hash: c884de68226683ece7df55d6991b7a5d aballier 12/05/17 17:59:53 Modified: ChangeLog freebsd-lib-9.0-r2.ebuild Log: Use mkinstall when cross-compiling too. Factorize the native and cross = builds install. =20 (Portage version: 2.2.0_alpha107/cvs/Linux x86_64) Revision Changes Path 1.122 sys-freebsd/freebsd-lib/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebs= d-lib/ChangeLog?rev=3D1.122&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebs= d-lib/ChangeLog?rev=3D1.122&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebs= d-lib/ChangeLog?r1=3D1.121&r2=3D1.122 Index: ChangeLog =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-lib/ChangeLog,v retrieving revision 1.121 retrieving revision 1.122 diff -u -r1.121 -r1.122 --- ChangeLog 17 May 2012 16:58:27 -0000 1.121 +++ ChangeLog 17 May 2012 17:59:53 -0000 1.122 @@ -1,6 +1,10 @@ # ChangeLog for sys-freebsd/freebsd-lib # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-lib/ChangeLog,v 1= .121 2012/05/17 16:58:27 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-lib/ChangeLog,v 1= .122 2012/05/17 17:59:53 aballier Exp $ + + 17 May 2012; Alexis Ballier freebsd-lib-9.0-r2.e= build: + Use mkinstall when cross-compiling too. Factorize the native and cross= builds + install. =20 17 May 2012; Alexis Ballier freebsd-lib-9.0-r2.e= build: factorize the way of getting the csudir 1.8 sys-freebsd/freebsd-lib/freebsd-lib-9.0-r2.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebs= d-lib/freebsd-lib-9.0-r2.ebuild?rev=3D1.8&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebs= d-lib/freebsd-lib-9.0-r2.ebuild?rev=3D1.8&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebs= d-lib/freebsd-lib-9.0-r2.ebuild?r1=3D1.7&r2=3D1.8 Index: freebsd-lib-9.0-r2.ebuild =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-lib/freebsd-lib-9.0= -r2.ebuild,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- freebsd-lib-9.0-r2.ebuild 17 May 2012 16:58:27 -0000 1.7 +++ freebsd-lib-9.0-r2.ebuild 17 May 2012 17:59:53 -0000 1.8 @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-lib/freebsd-lib-9= .0-r2.ebuild,v 1.7 2012/05/17 16:58:27 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-lib/freebsd-lib-9= .0-r2.ebuild,v 1.8 2012/05/17 17:59:53 aballier Exp $ =20 EAPI=3D2 =20 @@ -289,23 +289,25 @@ local mylibdir=3D$(get_libdir) =20 if [ "${CTARGET}" !=3D "${CHOST}" ]; then - for i in "$(get_csudir $(tc-arch-kernel ${CTARGET}))" lib/libc lib/msu= n gnu/lib/libssp lib/libthr lib/libutil ; do - cd "${WORKDIR}/${i}/" || die "missing ${i}." - $(freebsd_get_bmake) ${mymakeopts} DESTDIR=3D"${D}" install NO_MAN=3D= \ - INCLUDEDIR=3D"/usr/${CTARGET}/usr/include" \ - FILESDIR=3D"/usr/${CTARGET}/usr/lib" \ - SHLIBDIR=3D"/usr/${CTARGET}/usr/lib" LIBDIR=3D"/usr/${CTARGET}/usr/l= ib" || die "Install ${i} failed" - done + BMAKE=3D"$(freebsd_get_bmake)" + mymakeopts=3D"${mymakeopts} NO_MAN=3D \ + INCLUDEDIR=3D/usr/${CTARGET}/usr/include \ + SHLIBDIR=3D/usr/${CTARGET}/usr/lib \ + LIBDIR=3D/usr/${CTARGET}/usr/lib" + SUBDIRS=3D"$(get_csudir $(tc-arch-kernel ${CTARGET})) lib/libc lib/msu= n gnu/lib/libssp lib/libthr lib/libutil" =20 dosym "usr/include" "/usr/${CTARGET}/sys-include" else # Set SHLIBDIR and LIBDIR for multilib - for i in gnu/lib/libssp lib gnu/lib/libregex ; do - cd "${WORKDIR}/${i}/" || die "Missing ${i}." - SHLIBDIR=3D"/usr/${mylibdir}" LIBDIR=3D"/usr/${mylibdir}" mkinstall |= | die "Install ${i} failed." - done + mymakeopts=3D"${mymakeopts} SHLIBDIR=3D/usr/${mylibdir} LIBDIR=3D/usr/= ${mylibdir}" + SUBDIRS=3D"gnu/lib/libssp lib gnu/lib/libregex" fi =20 + for i in ${SUBDIRS} ; do + cd "${WORKDIR}/${i}/" || die "missing ${i}." + mkinstall || die "Install ${i} failed" + done + # Don't install the rest of the configuration files if crosscompiling if [ "${CTARGET}" !=3D "${CHOST}" ] ; then # This is to get it stripped with the correct tools, otherwise it gets