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 eclass: freebsd.eclass
Date: Fri,  9 Aug 2013 19:29:51 +0000 (UTC)	[thread overview]
Message-ID: <20130809192951.D54732171C@flycatcher.gentoo.org> (raw)

aballier    13/08/09 19:29:51

  Modified:             freebsd.eclass
  Log:
  move install -l emulation exports to src_unpack. it should be called by every ebuild.

Revision  Changes    Path
1.33                 eclass/freebsd.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/freebsd.eclass?rev=1.33&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/freebsd.eclass?rev=1.33&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/freebsd.eclass?r1=1.32&r2=1.33

Index: freebsd.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/freebsd.eclass,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- freebsd.eclass	9 Aug 2013 16:28:26 -0000	1.32
+++ freebsd.eclass	9 Aug 2013 19:29:51 -0000	1.33
@@ -1,6 +1,6 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/freebsd.eclass,v 1.32 2013/08/09 16:28:26 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/freebsd.eclass,v 1.33 2013/08/09 19:29:51 aballier Exp $
 #
 # Diego Pettenò <flameeyes@gentoo.org>
 
@@ -97,6 +97,13 @@
 
 	freebsd_do_patches
 	freebsd_rename_libraries
+
+	# Starting from FreeBSD 9.2, its install command supports the -l option and
+	# they now use it. Emulate it if we are on a system that does not have it.
+	if [[ ${RV} > 9.1 ]] && ! has_version '>=sys-freebsd/freebsd-ubin-9.2_beta1' ; then
+		export INSTALL_LINK="ln -f"
+		export INSTALL_SYMLINK="ln -fs"
+	fi
 }
 
 freebsd_src_compile() {
@@ -108,13 +115,6 @@
 	# Make sure to use FreeBSD definitions while crosscompiling
 	[[ -z "${BMAKE}" ]] && BMAKE="$(freebsd_get_bmake)"
 
-	# Starting from FreeBSD 9.2, its install command supports the -l option and
-	# they now use it. Emulate it if we are on a system that does not have it.
-	if [[ ${RV} > 9.1 ]] && ! has_version '>=sys-freebsd/freebsd-ubin-9.2_beta1' ; then
-		export INSTALL_LINK="ln -f"
-		export INSTALL_SYMLINK="ln -fs"
-	fi
-
 	# Create objdir if MAKEOBJDIRPREFIX is defined, so that we can make out of
 	# tree builds easily.
 	if [[ -n "${MAKEOBJDIRPREFIX}" ]] ; then





             reply	other threads:[~2013-08-09 19:29 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-09 19:29 Alexis Ballier (aballier) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-08-28 15:56 [gentoo-commits] gentoo-x86 commit in eclass: freebsd.eclass Alexis Ballier (aballier)
2013-08-09 20:10 Alexis Ballier (aballier)
2013-08-09 16:28 Alexis Ballier (aballier)
2013-08-09 15:48 Alexis Ballier (aballier)
2013-08-09 13:58 Alexis Ballier (aballier)
2013-07-08  2:08 Alexis Ballier (aballier)
2013-06-18 17:30 Alexis Ballier (aballier)
2013-06-18 16:57 Alexis Ballier (aballier)
2013-06-17 20:00 Alexis Ballier (aballier)
2013-06-17 17:31 Alexis Ballier (aballier)
2012-11-24 11:22 Alexis Ballier (aballier)
2012-05-24 11:19 Alexis Ballier (aballier)
2012-05-24 11:18 Alexis Ballier (aballier)
2012-05-17 13:58 Alexis Ballier (aballier)
2012-05-16 15:44 Alexis Ballier (aballier)
2012-05-04 13:31 Alexis Ballier (aballier)
2011-07-06  5:41 Alexis Ballier (aballier)
2011-07-05 18:46 Alexis Ballier (aballier)
2010-03-11 17:55 Alexis Ballier (aballier)
2009-05-22 15:23 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=20130809192951.D54732171C@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