diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-04-18 23:35:22 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-04-18 23:35:22 +0000 |
commit | dba3bc7671bf673c6a9a28c9dbf509ca5529c1fc (patch) | |
tree | 1321ccd339a4ee86077bfd235669140f33572dd1 /sys-freebsd/freebsd-lib | |
parent | Make the ebuild aware of crosscompile support to allow building crosscompiler... (diff) | |
download | gentoo-2-dba3bc7671bf673c6a9a28c9dbf509ca5529c1fc.tar.gz gentoo-2-dba3bc7671bf673c6a9a28c9dbf509ca5529c1fc.tar.bz2 gentoo-2-dba3bc7671bf673c6a9a28c9dbf509ca5529c1fc.zip |
End src functions immediatly when buidling only headers, as this ebuild doesn't provide headers for the libc itself.
(Portage version: 2.1_pre7-r5)
Diffstat (limited to 'sys-freebsd/freebsd-lib')
-rw-r--r-- | sys-freebsd/freebsd-lib/ChangeLog | 7 | ||||
-rw-r--r-- | sys-freebsd/freebsd-lib/freebsd-lib-6.0-r1.ebuild | 11 |
2 files changed, 16 insertions, 2 deletions
diff --git a/sys-freebsd/freebsd-lib/ChangeLog b/sys-freebsd/freebsd-lib/ChangeLog index d033445a9025..b8df77fa0c15 100644 --- a/sys-freebsd/freebsd-lib/ChangeLog +++ b/sys-freebsd/freebsd-lib/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-freebsd/freebsd-lib # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-lib/ChangeLog,v 1.5 2006/04/05 17:40:15 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-lib/ChangeLog,v 1.6 2006/04/18 23:35:21 flameeyes Exp $ + + 18 Apr 2006; Diego Pettenò <flameeyes@gentoo.org> + freebsd-lib-6.0-r1.ebuild: + End src functions immediatly when buidling only headers, as this ebuild + doesn't provide headers for the libc itself. *freebsd-lib-6.0-r1 (05 Apr 2006) diff --git a/sys-freebsd/freebsd-lib/freebsd-lib-6.0-r1.ebuild b/sys-freebsd/freebsd-lib/freebsd-lib-6.0-r1.ebuild index c13b67b851fe..a38e4a7c15ae 100644 --- a/sys-freebsd/freebsd-lib/freebsd-lib-6.0-r1.ebuild +++ b/sys-freebsd/freebsd-lib/freebsd-lib-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-lib/freebsd-lib-6.0-r1.ebuild,v 1.1 2006/04/05 17:40:15 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-lib/freebsd-lib-6.0-r1.ebuild,v 1.2 2006/04/18 23:35:22 flameeyes Exp $ inherit bsdmk freebsd flag-o-matic toolchain-funcs @@ -82,6 +82,8 @@ REMOVE_SUBDIRS="libncurses libform libmenu libpanel \ libcom_err libtelnet" src_unpack() { + use _E_CROSS_HEADERS_ONLY && return 0 + freebsd_src_unpack ln -s "/usr/src/sys-${RV}" "${WORKDIR}/sys" @@ -95,7 +97,14 @@ portage-to-fbsd-arch() { esac } +src_compile() { + use _E_CROSS_HEADERS_ONLY && return 0 + + freebsd_src_compile +} + src_install() { + use _E_CROSS_HEADERS_ONLY && return 0 mkinstall || die "Install failed" # make crt1.o schg so that gcc doesn't remove it |