summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-19 00:09:00 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-19 00:09:00 +0000
commitb52fa6c41da39f25813c6260e7494a4a2607d576 (patch)
tree8ce806c7355c556cdab410a2cdec5072a0a29ef6 /sys-freebsd/freebsd-mk-defs
parentEnd src functions immediatly when buidling only headers, as this ebuild doesn... (diff)
downloadgentoo-2-b52fa6c41da39f25813c6260e7494a4a2607d576.tar.gz
gentoo-2-b52fa6c41da39f25813c6260e7494a4a2607d576.tar.bz2
gentoo-2-b52fa6c41da39f25813c6260e7494a4a2607d576.zip
Install in /usr/share/mk/freebsd non non-FreeBSD systems for crosscompile.
(Portage version: 2.1_pre7-r5)
Diffstat (limited to 'sys-freebsd/freebsd-mk-defs')
-rw-r--r--sys-freebsd/freebsd-mk-defs/ChangeLog6
-rw-r--r--sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-6.0-r1.ebuild8
2 files changed, 11 insertions, 3 deletions
diff --git a/sys-freebsd/freebsd-mk-defs/ChangeLog b/sys-freebsd/freebsd-mk-defs/ChangeLog
index 34ca487e5a89..02425b685774 100644
--- a/sys-freebsd/freebsd-mk-defs/ChangeLog
+++ b/sys-freebsd/freebsd-mk-defs/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-freebsd/freebsd-mk-defs
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-mk-defs/ChangeLog,v 1.4 2006/04/12 13:53:50 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-mk-defs/ChangeLog,v 1.5 2006/04/19 00:09:00 flameeyes Exp $
+
+ 19 Apr 2006; Diego Pettenò <flameeyes@gentoo.org>
+ freebsd-mk-defs-6.0-r1.ebuild:
+ Install in /usr/share/mk/freebsd non non-FreeBSD systems for crosscompile.
*freebsd-mk-defs-6.0-r1 (12 Apr 2006)
diff --git a/sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-6.0-r1.ebuild b/sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-6.0-r1.ebuild
index 231456bb22bb..c490bbcd0a15 100644
--- a/sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-6.0-r1.ebuild
+++ b/sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-6.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-6.0-r1.ebuild,v 1.1 2006/04/12 13:53:50 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-6.0-r1.ebuild,v 1.2 2006/04/19 00:09:00 flameeyes Exp $
inherit bsdmk freebsd
@@ -33,6 +33,10 @@ src_compile() {
}
src_install() {
- insinto /usr/share/mk
+ if [[ ${CHOST} != *-freebsd* ]]; then
+ insinto /usr/share/mk/freebsd
+ else
+ insinto /usr/share/mk
+ fi
doins *.mk
}