public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alexis Ballier (aballier)" <aballier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in sys-freebsd/freebsd-lib: ChangeLog freebsd-lib-9.0-r2.ebuild
Date: Fri, 18 May 2012 16:17:08 +0000 (UTC)	[thread overview]
Message-ID: <20120518161708.8002B2004B@flycatcher.gentoo.org> (raw)

aballier    12/05/18 16:17:08

  Modified:             ChangeLog freebsd-lib-9.0-r2.ebuild
  Log:
  Add two variables for non native and native subdirs and define it in only one place.
  
  (Portage version: 2.2.0_alpha107/cvs/Linux x86_64)

Revision  Changes    Path
1.133                sys-freebsd/freebsd-lib/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-lib/ChangeLog?rev=1.133&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-lib/ChangeLog?rev=1.133&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-lib/ChangeLog?r1=1.132&r2=1.133

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-lib/ChangeLog,v
retrieving revision 1.132
retrieving revision 1.133
diff -u -r1.132 -r1.133
--- ChangeLog	18 May 2012 02:03:29 -0000	1.132
+++ ChangeLog	18 May 2012 16:17:08 -0000	1.133
@@ -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.132 2012/05/18 02:03:29 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-lib/ChangeLog,v 1.133 2012/05/18 16:17:08 aballier Exp $
+
+  18 May 2012; Alexis Ballier <aballier@gentoo.org> freebsd-lib-9.0-r2.ebuild:
+  Add two variables for non native and native subdirs and define it in only one
+  place.
 
   18 May 2012; Alexis Ballier <aballier@gentoo.org> freebsd-lib-9.0-r2.ebuild:
   Set the ssp_nonshared LDADD in its bootstrapping function. Add it only with



1.19                 sys-freebsd/freebsd-lib/freebsd-lib-9.0-r2.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-lib/freebsd-lib-9.0-r2.ebuild?rev=1.19&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-lib/freebsd-lib-9.0-r2.ebuild?rev=1.19&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-lib/freebsd-lib-9.0-r2.ebuild?r1=1.18&r2=1.19

Index: freebsd-lib-9.0-r2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-lib/freebsd-lib-9.0-r2.ebuild,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- freebsd-lib-9.0-r2.ebuild	18 May 2012 02:03:29 -0000	1.18
+++ freebsd-lib-9.0-r2.ebuild	18 May 2012 16:17:08 -0000	1.19
@@ -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.18 2012/05/18 02:03:29 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-lib/freebsd-lib-9.0-r2.ebuild,v 1.19 2012/05/18 16:17:08 aballier Exp $
 
 EAPI=2
 
@@ -218,6 +218,13 @@
 	export LDADD="-lssp_nonshared"
 }
 
+# What to build for a non-native build: cross-compiler, non-native abi in
+# multilib. We also need the csu but this has to be handled separately.
+NON_NATIVE_SUBDIRS="lib/libc lib/msun gnu/lib/libssp lib/libthr lib/libutil"
+
+# Subdirs for a native build:
+NATIVE_SUBDIRS="lib gnu/lib/libssp gnu/lib/libregex"
+
 src_compile() {
 	# Does not work with GNU sed
 	# Force BSD's sed on BSD.
@@ -249,7 +256,7 @@
 
 		bootstrap_libssp_nonshared
 
-		SUBDIRS="lib/libc lib/msun gnu/lib/libssp lib/libthr lib/libutil"
+		SUBDIRS="${NON_NATIVE_SUBDIRS}"
 	else
 		# Forces to use the local copy of headers with USE=build as they might
 		# be outdated in the system. Assume they are fine otherwise.
@@ -257,7 +264,7 @@
 
 		use build && bootstrap_libssp_nonshared
 
-		SUBDIRS="lib gnu/lib/libssp gnu/lib/libregex"
+		SUBDIRS="${NATIVE_SUBDIRS}"
 	fi
 
 	export RAW_LDFLAGS=$(raw-ldflags)
@@ -320,13 +327,13 @@
 			INCLUDEDIR=/usr/${CTARGET}/usr/include \
 			SHLIBDIR=/usr/${CTARGET}/usr/lib \
 			LIBDIR=/usr/${CTARGET}/usr/lib"
-		SUBDIRS="$(get_csudir $(tc-arch-kernel ${CTARGET})) lib/libc lib/msun gnu/lib/libssp lib/libthr lib/libutil"
+		SUBDIRS="$(get_csudir $(tc-arch-kernel ${CTARGET})) ${NON_NATIVE_SUBDIRS}"
 
 		dosym "usr/include" "/usr/${CTARGET}/sys-include"
 	else
 		# Set SHLIBDIR and LIBDIR for multilib
 		mymakeopts="${mymakeopts} SHLIBDIR=/usr/${mylibdir} LIBDIR=/usr/${mylibdir}"
-		SUBDIRS="gnu/lib/libssp lib gnu/lib/libregex"
+		SUBDIRS="${NATIVE_SUBDIRS}"
 	fi
 
 	for i in ${SUBDIRS} ; do






             reply	other threads:[~2012-05-18 16:17 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-18 16:17 Alexis Ballier (aballier) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-05-25 15:51 [gentoo-commits] gentoo-x86 commit in sys-freebsd/freebsd-lib: ChangeLog freebsd-lib-9.0-r2.ebuild Alexis Ballier (aballier)
2012-05-25 14:58 Alexis Ballier (aballier)
2012-05-25 13:56 Alexis Ballier (aballier)
2012-05-25 12:37 Alexis Ballier (aballier)
2012-05-25 12:27 Alexis Ballier (aballier)
2012-05-25 12:24 Alexis Ballier (aballier)
2012-05-24 12:15 Alexis Ballier (aballier)
2012-05-24 11:02 Alexis Ballier (aballier)
2012-05-23 21:46 Alexis Ballier (aballier)
2012-05-18 17:38 Alexis Ballier (aballier)
2012-05-18 16:37 Alexis Ballier (aballier)
2012-05-18  2:03 Alexis Ballier (aballier)
2012-05-18  1:48 Alexis Ballier (aballier)
2012-05-18  1:35 Alexis Ballier (aballier)
2012-05-18  1:31 Alexis Ballier (aballier)
2012-05-17 20:03 Alexis Ballier (aballier)
2012-05-17 19:21 Alexis Ballier (aballier)
2012-05-17 19:04 Alexis Ballier (aballier)
2012-05-17 18:46 Alexis Ballier (aballier)
2012-05-17 18:31 Alexis Ballier (aballier)
2012-05-17 18:13 Alexis Ballier (aballier)
2012-05-17 17:59 Alexis Ballier (aballier)
2012-05-17 16:58 Alexis Ballier (aballier)
2012-05-17 16:25 Alexis Ballier (aballier)
2012-05-17 14:33 Alexis Ballier (aballier)
2012-05-17 13:59 Alexis Ballier (aballier)
2012-05-17 12:48 Alexis Ballier (aballier)
2012-05-17 12:46 Alexis Ballier (aballier)
2012-05-16 16:12 Alexis Ballier (aballier)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120518161708.8002B2004B@flycatcher.gentoo.org \
    --to=aballier@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox