diff options
Diffstat (limited to 'sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-10.3_rc1.ebuild')
-rw-r--r-- | sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-10.3_rc1.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-10.3_rc1.ebuild b/sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-10.3_rc1.ebuild new file mode 100644 index 0000000..571e0f8 --- /dev/null +++ b/sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-10.3_rc1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit bsdmk freebsd + +DESCRIPTION="Makefiles definitions used for building and installing libraries and system files" +SLOT="0" + +IUSE="userland_GNU" + +if [[ ${PV} != *9999* ]]; then + KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" +fi + +EXTRACTONLY="share/" + +RDEPEND="" +DEPEND="" + +RESTRICT="strip" + +S="${WORKDIR}/share/mk" + +src_prepare() { + epatch "${FILESDIR}/${PN}-10.3-gentoo.patch" + epatch "${FILESDIR}/${PN}-add-nossp-cflags.patch" + use userland_GNU && epatch "${FILESDIR}/${PN}-10.2-gnu.patch" +} + +src_compile() { :; } + +src_install() { + if [[ ${CHOST} != *-freebsd* ]]; then + insinto /usr/share/mk/freebsd + else + insinto /usr/share/mk + fi + doins *.mk *.awk +} |