summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-07-27 01:26:52 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-07-27 01:26:52 +0000
commita9f8e3ee7db8721242d32c2b0372a134d5ee3405 (patch)
tree914bada3b2a3e1f4e6eab99545863ea069ea7f2a /sys-freebsd/freebsd-lib
parentRemove 6.0 version. (diff)
downloadhistorical-a9f8e3ee7db8721242d32c2b0372a134d5ee3405.tar.gz
historical-a9f8e3ee7db8721242d32c2b0372a134d5ee3405.tar.bz2
historical-a9f8e3ee7db8721242d32c2b0372a134d5ee3405.zip
Remove 6.0 version.
Package-Manager: portage-2.1.1_pre3-r5 Saffron: "He's my husband." Mal: "Well who in the damn galaxy isn't?"
Diffstat (limited to 'sys-freebsd/freebsd-lib')
-rw-r--r--sys-freebsd/freebsd-lib/Manifest33
-rw-r--r--sys-freebsd/freebsd-lib/files/digest-freebsd-lib-6.0-r324
-rw-r--r--sys-freebsd/freebsd-lib/freebsd-lib-6.0-r3.ebuild219
3 files changed, 14 insertions, 262 deletions
diff --git a/sys-freebsd/freebsd-lib/Manifest b/sys-freebsd/freebsd-lib/Manifest
index ea8db0b1d497..9a4b855a76e1 100644
--- a/sys-freebsd/freebsd-lib/Manifest
+++ b/sys-freebsd/freebsd-lib/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX freebsd-lib-6.0-binutils-asm.patch 1096 RMD160 1d2c2e60f2c8ca49fb8b01c65aca65b5cd59ea23 SHA1 1533aef95476da5b631d2ffb9b4892773ee5b2ae SHA256 5794228b1754d0b0a9a46fbae7e117ca91ca7da1d842339b279a4185014cbfd9
MD5 7cb2f45f53fcb2792c6fca10be03d948 files/freebsd-lib-6.0-binutils-asm.patch 1096
RMD160 1d2c2e60f2c8ca49fb8b01c65aca65b5cd59ea23 files/freebsd-lib-6.0-binutils-asm.patch 1096
@@ -30,41 +33,33 @@ AUX freebsd-lib-fixmp.patch 548 RMD160 91cf241eaa972c13ea6ddd1ec03a6fd7f3a2a4b3
MD5 eb10216ffda9c5f69fdb28728c574114 files/freebsd-lib-fixmp.patch 548
RMD160 91cf241eaa972c13ea6ddd1ec03a6fd7f3a2a4b3 files/freebsd-lib-fixmp.patch 548
SHA256 bd99697872b00a4275c80935f4f5188f4f859aa358be0ecfc0c5470e9979c354 files/freebsd-lib-fixmp.patch 548
-DIST freebsd-contrib-6.0.tar.bz2 34972594 RMD160 3f045dd7d1ddbcf20da670051459f0a2fc508a8b SHA1 6520d51da712a245ced153877dadc300336a677f SHA256 9c76affcddb3a8257d3b612dd7cc8ff43bc7417e47e215c01909a81c79e9d443
DIST freebsd-contrib-6.1.tar.bz2 36017365 RMD160 225f6ade032533d08b98b79cb29b75da2a3c74fa SHA1 adac960daad3f4169874fe0ba1050fe7e906aa23 SHA256 41283b7f78597cf81f98477aef04eb9cce2b130b1a2f8b5c7d647549c973c054
-DIST freebsd-crypto-6.0.tar.bz2 3978650 RMD160 361efbba1f651925a7cc2284665b044bc232f181 SHA1 4fc16d7ca4c7561d116b5655bd0937de13aa8625 SHA256 e86223d40ef2747de98f575f3875a6ce8a5e913baa850a5ef547ffef00ace480
DIST freebsd-crypto-6.1.tar.bz2 3978359 RMD160 de2fa1e12cda42661565d5bf0f910b1a99d3c4df SHA1 a816fb8b613b92a80b9fab3d8d89b72eb9c550be SHA256 52be404c7f86ca29f957e1dc46c8a2c32a46ddb5c316d5123faf92a9c9fe37c5
-DIST freebsd-etc-6.0.tar.bz2 178941 RMD160 48d0eb51f291e5d706ef076151964b88a9fc1796 SHA1 a260049f5beabbf264fe5a3b7cd67a2fc5808df4 SHA256 c4bd9401dad72bd869b89aa12a61339a30746caadb741bb0d094f522ee117616
DIST freebsd-etc-6.1.tar.bz2 184045 RMD160 b9a8bea64694c040c02b74f7633dc3cd77afa400 SHA1 4a1fff7fa1c77485c5efccf5ab1155e497d1cd82 SHA256 62b06b61e526c4a939503202aaca31cbce7a3de9daec03e67dc57119527eeff7
-DIST freebsd-include-6.0.tar.bz2 127219 RMD160 683fe6cf84961d0019c742f4e1fc0e4bfb18b60c SHA1 2f0be229b8b91a438d449fd672668bd7276f20a4 SHA256 9da34ffd474e023fe7dd203cb035d97726eb8e7bea7e9566249e62da4039be8b
DIST freebsd-include-6.1.tar.bz2 127179 RMD160 f873b13bb16408a390932d14974b39336bd90a7c SHA1 747d7498ce80846274e49ed4487440dcbefe96af SHA256 9cd9d47c5cc8ea4fc7afe185c9b391317fe013adb3f0a960e9fe498f166177b5
-DIST freebsd-lib-6.0.tar.bz2 2613087 RMD160 30bf04438a00408284f135c2670106141cae4873 SHA1 37f2ae006f1496a509fa3f8e01e6d867671b47ab SHA256 dab1140d52597f37d768d2210a49cb29db5404a7df35306462e3642074426a53
DIST freebsd-lib-6.1.tar.bz2 2613584 RMD160 f71aad95ef2bac094bdab9e317a99fb866fba042 SHA1 c7fed3b4a996fdd25f97eef428dd40023dc53a7e SHA256 6ecb49695dc135e64cea949cb7e9b9998b15cb962797cdafc735a7e244744c37
-DIST freebsd-libexec-6.0.tar.bz2 277631 RMD160 5121414524c9dfceab1f5ad8b8bc91c65141db82 SHA1 54e2ea14e77399766038269fa7cd658a545f8c0f SHA256 2eddc867d69afa6c5d0a2f3ce18d4570688b5fa49924adb478dc7d548ba8197e
DIST freebsd-libexec-6.1.tar.bz2 277860 RMD160 bef98efbc76812cf36b55067433039f3805cfbab SHA1 8204a510e44e21cbf53715f3d4a2518b8192400d SHA256 38eaddc9edc36597e42ca3c63ee8a2fd6f07f96c7294aea75a9988ac5b07b357
-DIST freebsd-sys-6.0.tar.bz2 16069887 RMD160 02b446bb5a3dde2f91ecba2617a887e817d038a9 SHA1 745fd503ff464463252d5729d924f54be60d99f8 SHA256 416fc69ab15d28686d461ca115964091409abc9e5855260d89e2370cad77ad70
DIST freebsd-sys-6.1.tar.bz2 17361671 RMD160 eb19f6a345c665542df694a4f9170d227beaf3b6 SHA1 f9da69cabdaaad268c79670c06ba4fff3e3ef6a8 SHA256 d2ecd79b83ba06c12e358adfccc7e057e15fb7c5be76d92c537b99cbe1d84f0f
-DIST freebsd-usbin-6.0.tar.bz2 2635411 RMD160 9a8f5cdc041df1ad2b388c432a1829b5c8adc51d SHA1 1e581dce58b8f03c2f3b939c753e85ca12e8b5af SHA256 46ac3c581fd20d9980bcf2d80aba7c2f874ad3e29058939bee0c6f1a4af8ff64
DIST freebsd-usbin-6.1.tar.bz2 2664570 RMD160 98a87538790a814d0afd35bb0f848bcff574c72d SHA1 c7e6856e7f6bd2d45790737f411348b301944b91 SHA256 70b4a494a72d130d641500bfa857bdf98c9a4a040da2699475902523ba5c374e
-EBUILD freebsd-lib-6.0-r3.ebuild 6540 RMD160 931ca1f2706e3f1deb8ad14923fde28a31df3719 SHA1 8b072bc42ec5f0a60be28d06bd097cb038316151 SHA256 4f10f3b8ca432cc7b5ee0842a8a4b9141002d04b805778e6a3f0ea24aac43127
-MD5 773494a79d9738d84dbdd8b44aba8f7d freebsd-lib-6.0-r3.ebuild 6540
-RMD160 931ca1f2706e3f1deb8ad14923fde28a31df3719 freebsd-lib-6.0-r3.ebuild 6540
-SHA256 4f10f3b8ca432cc7b5ee0842a8a4b9141002d04b805778e6a3f0ea24aac43127 freebsd-lib-6.0-r3.ebuild 6540
EBUILD freebsd-lib-6.1.ebuild 6977 RMD160 e06d5b0a64d709ae70989b1fe98d04c1f47dc5a0 SHA1 b6b4a05c2269e6bc8547cdfcd9a86a0afde1a536 SHA256 18496ebcc1a296ffebb2bfa3eeb68c09e8fc3311fc5c8216eb73543e5d397a8e
MD5 065bc1374126747a5b3fee9cf0722852 freebsd-lib-6.1.ebuild 6977
RMD160 e06d5b0a64d709ae70989b1fe98d04c1f47dc5a0 freebsd-lib-6.1.ebuild 6977
SHA256 18496ebcc1a296ffebb2bfa3eeb68c09e8fc3311fc5c8216eb73543e5d397a8e freebsd-lib-6.1.ebuild 6977
-MISC ChangeLog 9380 RMD160 4dae5ed5f40b997eef8badf7002edd1c84dab0af SHA1 51ca54e945fb7bea9c07f39cd73b12e4d581c1d3 SHA256 46582ddb5ca62911b3dad36119a143898873b4c2ddc19d54f147580ad6b2b945
-MD5 a355d45de90e50d13bb18532197bb28b ChangeLog 9380
-RMD160 4dae5ed5f40b997eef8badf7002edd1c84dab0af ChangeLog 9380
-SHA256 46582ddb5ca62911b3dad36119a143898873b4c2ddc19d54f147580ad6b2b945 ChangeLog 9380
+MISC ChangeLog 9487 RMD160 5be5f7e64a623020b8136609121ded688efe5ef8 SHA1 54bd0e2976472875edc6b72342956f555ca4d3e3 SHA256 7b2e0d4bcd2985e1d249e70060de8202953eb3e7493bd5b436ddc8b99f532ca9
+MD5 8eba5715fc6c03c6705e46cf01f8ae99 ChangeLog 9487
+RMD160 5be5f7e64a623020b8136609121ded688efe5ef8 ChangeLog 9487
+SHA256 7b2e0d4bcd2985e1d249e70060de8202953eb3e7493bd5b436ddc8b99f532ca9 ChangeLog 9487
MISC metadata.xml 156 RMD160 60b5820a08275f307e5bd936d78f5afd1f141086 SHA1 d9d9d4f2b5afc58339ea3e562fca490156935f1f SHA256 30ab515d6ac492d3d6c36ac3c675511742c2149e56a6b3228c8d22ab8edb3ff7
MD5 2bd48a5ae413433cbb36110b219ce97c metadata.xml 156
RMD160 60b5820a08275f307e5bd936d78f5afd1f141086 metadata.xml 156
SHA256 30ab515d6ac492d3d6c36ac3c675511742c2149e56a6b3228c8d22ab8edb3ff7 metadata.xml 156
-MD5 c15a1a49762c0863cbfa4bd5be03f174 files/digest-freebsd-lib-6.0-r3 2072
-RMD160 6c9ffd60849a62554acd27568cc21f1b76692ca3 files/digest-freebsd-lib-6.0-r3 2072
-SHA256 f0deccdb9489aa7f2a1dcad0b619427916876a3a58d1b020d754852396c59766 files/digest-freebsd-lib-6.0-r3 2072
MD5 7a392338e5c80064105ffb19a6575361 files/digest-freebsd-lib-6.1 2072
RMD160 2f3e680d7a90f8387d086addff4fff68fd4c51de files/digest-freebsd-lib-6.1 2072
SHA256 e4f88af696b9cdd96f0553e2928d59ce138c08f8d4925b32b6ea59c3030d7f21 files/digest-freebsd-lib-6.1 2072
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.4 (GNU/Linux)
+
+iD8DBQFEyBWYAiZjviIA2XgRAi4/AJ40W6z5/eUejhGetyTmP0wExqcdSACfaS1X
+HQxIiczp2CjeuqW36QJ9+Rg=
+=ydVX
+-----END PGP SIGNATURE-----
diff --git a/sys-freebsd/freebsd-lib/files/digest-freebsd-lib-6.0-r3 b/sys-freebsd/freebsd-lib/files/digest-freebsd-lib-6.0-r3
deleted file mode 100644
index dfc73a573b49..000000000000
--- a/sys-freebsd/freebsd-lib/files/digest-freebsd-lib-6.0-r3
+++ /dev/null
@@ -1,24 +0,0 @@
-MD5 b5b626909c9707d0bab0c54b50e132b9 freebsd-contrib-6.0.tar.bz2 34972594
-RMD160 3f045dd7d1ddbcf20da670051459f0a2fc508a8b freebsd-contrib-6.0.tar.bz2 34972594
-SHA256 9c76affcddb3a8257d3b612dd7cc8ff43bc7417e47e215c01909a81c79e9d443 freebsd-contrib-6.0.tar.bz2 34972594
-MD5 3f5ace196589dee4044fd717abf4b57c freebsd-crypto-6.0.tar.bz2 3978650
-RMD160 361efbba1f651925a7cc2284665b044bc232f181 freebsd-crypto-6.0.tar.bz2 3978650
-SHA256 e86223d40ef2747de98f575f3875a6ce8a5e913baa850a5ef547ffef00ace480 freebsd-crypto-6.0.tar.bz2 3978650
-MD5 7c2af3af5be2f46372f9cc0efaeda4c7 freebsd-etc-6.0.tar.bz2 178941
-RMD160 48d0eb51f291e5d706ef076151964b88a9fc1796 freebsd-etc-6.0.tar.bz2 178941
-SHA256 c4bd9401dad72bd869b89aa12a61339a30746caadb741bb0d094f522ee117616 freebsd-etc-6.0.tar.bz2 178941
-MD5 0a5937660818157a2a0bf09fe705f24c freebsd-include-6.0.tar.bz2 127219
-RMD160 683fe6cf84961d0019c742f4e1fc0e4bfb18b60c freebsd-include-6.0.tar.bz2 127219
-SHA256 9da34ffd474e023fe7dd203cb035d97726eb8e7bea7e9566249e62da4039be8b freebsd-include-6.0.tar.bz2 127219
-MD5 3888da5da1cb329a65a3ac9d316f99ea freebsd-lib-6.0.tar.bz2 2613087
-RMD160 30bf04438a00408284f135c2670106141cae4873 freebsd-lib-6.0.tar.bz2 2613087
-SHA256 dab1140d52597f37d768d2210a49cb29db5404a7df35306462e3642074426a53 freebsd-lib-6.0.tar.bz2 2613087
-MD5 44996c2edac20108da43add45b599d94 freebsd-libexec-6.0.tar.bz2 277631
-RMD160 5121414524c9dfceab1f5ad8b8bc91c65141db82 freebsd-libexec-6.0.tar.bz2 277631
-SHA256 2eddc867d69afa6c5d0a2f3ce18d4570688b5fa49924adb478dc7d548ba8197e freebsd-libexec-6.0.tar.bz2 277631
-MD5 fa4633806f9ecd13eba57e45e5b6031f freebsd-sys-6.0.tar.bz2 16069887
-RMD160 02b446bb5a3dde2f91ecba2617a887e817d038a9 freebsd-sys-6.0.tar.bz2 16069887
-SHA256 416fc69ab15d28686d461ca115964091409abc9e5855260d89e2370cad77ad70 freebsd-sys-6.0.tar.bz2 16069887
-MD5 df8c3764da190437a1d47c6ff1872520 freebsd-usbin-6.0.tar.bz2 2635411
-RMD160 9a8f5cdc041df1ad2b388c432a1829b5c8adc51d freebsd-usbin-6.0.tar.bz2 2635411
-SHA256 46ac3c581fd20d9980bcf2d80aba7c2f874ad3e29058939bee0c6f1a4af8ff64 freebsd-usbin-6.0.tar.bz2 2635411
diff --git a/sys-freebsd/freebsd-lib/freebsd-lib-6.0-r3.ebuild b/sys-freebsd/freebsd-lib/freebsd-lib-6.0-r3.ebuild
deleted file mode 100644
index bd4fead68268..000000000000
--- a/sys-freebsd/freebsd-lib/freebsd-lib-6.0-r3.ebuild
+++ /dev/null
@@ -1,219 +0,0 @@
-# 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-r3.ebuild,v 1.2 2006/07/05 15:18:59 the_paya Exp $
-
-inherit bsdmk freebsd flag-o-matic toolchain-funcs
-
-DESCRIPTION="FreeBSD's base system libraries"
-SLOT="6.0"
-KEYWORDS="~x86-fbsd"
-
-IUSE="atm bluetooth ssl ipv6 kerberos nis gpib"
-
-# Crypto is needed to have an internal OpenSSL header
-# sys is needed for libalias, probably we can just extract that instead of
-# extracting the whole tarball
-SRC_URI="mirror://gentoo/${LIB}.tar.bz2
- mirror://gentoo/${CONTRIB}.tar.bz2
- mirror://gentoo/${CRYPTO}.tar.bz2
- mirror://gentoo/${LIBEXEC}.tar.bz2
- mirror://gentoo/${ETC}.tar.bz2
- mirror://gentoo/${INCLUDE}.tar.bz2
- nis? ( mirror://gentoo/${USBIN}.tar.bz2 )
- !kernel_FreeBSD? (
- mirror://gentoo/${SYS}.tar.bz2 )"
-
-RDEPEND="ssl? ( dev-libs/openssl )
- kerberos? ( virtual/krb5 )
- !sys-freebsd/freebsd-headers"
-DEPEND="${RDEPEND}
- >=sys-devel/flex-2.5.31-r2
- =sys-freebsd/freebsd-mk-defs-${RV}*
- =sys-freebsd/freebsd-sources-${RV}*"
-
-if [[ ${CATEGORY/cross-} == ${CATEGORY} ]]; then
- PROVIDE="virtual/libc
- virtual/os-headers"
-fi
-
-S="${WORKDIR}/lib"
-
-export CTARGET=${CTARGET:-${CHOST}}
-if [[ ${CTARGET} == ${CHOST} && ${CATEGORY/cross-} != ${CATEGORY} ]]; then
- export CTARGET=${CATEGORY/cross-}
-fi
-
-pkg_setup() {
- [[ -c /dev/zero ]] || \
- die "You forgot to mount /dev; the compiled libc would break."
-
- if ! use ssl && use kerberos; then
- eerror "If you want kerberos support you need to enable ssl support, too."
- fi
-
- use atm || mymakeopts="${mymakeopts} NO_ATM= "
- use bluetooth || mymakeopts="${mymakeopts} NO_BLUETOOTH= "
- use ssl || mymakeopts="${mymakeopts} NO_OPENSSL= NO_CRYPT= "
- use ipv6 || mymakeopts="${mymakeopts} NO_INET6= "
- use kerberos || mymakeopts="${mymakeopts} NO_KERBEROS= "
- use nis || mymakeopts="${mymakeopts} NO_NIS= "
- use gpib || mymakeopts="${mymakeopts} NO_GPIB= "
-
- mymakeopts="${mymakeopts} NO_OPENSSH= NO_BIND= NO_SENDMAIL= "
-
- replace-flags "-O?" -"O1"
-
- if [[ ${CTARGET} != ${CHOST} ]]; then
- mymakeopts="${mymakeopts} MACHINE=$(tc-arch-kernel ${CTARGET})"
- mymakeopts="${mymakeopts} MACHINE_ARCH=$(tc-arch-kernel ${CTARGET})"
- fi
-
- einfo "Using mymakeopts: ${mymakeopts}"
-}
-
-PATCHES="${FILESDIR}/${PN}-bsdxml.patch
- ${FILESDIR}/${PN}-fixmp.patch
- ${FILESDIR}/${PN}-${RV}-pmc.patch
- ${FILESDIR}/${PN}-${RV}-gccfloat.patch
- ${FILESDIR}/${PN}-${RV}-flex-2.5.31.patch
- ${FILESDIR}/${PN}-${RV}-binutils-asm.patch"
-
-# Here we disable and remove source which we don't need or want
-# In order:
-# - ncurses stuff
-# - archiving libraries (have their own ebuild)
-# - sendmail libraries (they are installed by sendmail)
-# - SNMP library and dependency (have their own ebuilds)
-#
-# The rest are libraries we already have somewhere else because
-# they are contribution.
-# Note: libtelnet is an internal lib used by telnet and telnetd programs
-# as it's not used in freebsd-lib package itself, it's pointless building
-# it here.
-REMOVE_SUBDIRS="libncurses libform libmenu libpanel \
- libz libbz2 libarchive \
- libsm libsmdb libsmutil \
- libbegemot libbsnmp \
- libsmb libpam libpcap bind libwrap libmagic \
- libcom_err libtelnet"
-
-src_unpack() {
- freebsd_src_unpack
-
- if [[ ${CTARGET} == ${CHOST} ]]; then
- ln -s "/usr/src/sys-${RV}" "${WORKDIR}/sys"
- else
- sed -i -e 's:/usr/include:/usr/'${CTARGET}'/usr/include:g' \
- "${S}/libc/"{yp,rpc}"/Makefile.inc"
- fi
-
- [[ -n $(install --version 2> /dev/null | grep GNU) ]] && \
- sed -i -e 's:${INSTALL} -C:${INSTALL}:' "${WORKDIR}/include/Makefile"
-
- sed -i -e 's:-o/dev/stdout:-t:' ${S}/libc/net/Makefile.inc
- epatch "${FILESDIR}/${PN}-${RV}-ssp.patch"
-}
-
-src_compile() {
- cd "${WORKDIR}/include"
- $(freebsd_get_bmake) CC=$(tc-getCC) || die "make include failed"
-
- use _E_CROSS_HEADERS_ONLY && return 0
-
- append-flags -fno-stack-protector # Don't use ssp until properly fixed
-
- if [[ ${CTARGET} != ${CHOST} ]]; then
- export YACC='yacc -by'
- CHOST=${CTARGET} tc-export CC LD CXX
-
- local machine
- machine=$(tc-arch-kernel ${CTARGET})
-
- local csudir
- if [[ -d "${S}/csu/${machine}-elf" ]]; then
- csudir="${S}/csu/${machine}-elf"
- else
- csudir="${S}/csu/${machine}"
- fi
- cd "${csudir}"
- $(freebsd_get_bmake) ${mymakeopts} || die "make csu failed"
-
- append-flags "-isystem /usr/${CTARGET}/usr/include"
- append-flags "-B ${csudir}"
- append-ldflags "-B ${csudir}"
- cd "${S}/libc"
- $(freebsd_get_bmake) ${mymakeopts} || die "make libc failed"
-
- append-flags "-isystem ${WORKDIR}/lib/msun/${machine/i386/i387}"
- cd "${S}/msun"
- $(freebsd_get_bmake) ${mymakeopts} || die "make libc failed"
- else
- cd "${S}"
- freebsd_src_compile
- fi
-}
-
-src_install() {
- cd "${WORKDIR}/include"
-
- [[ ${CTARGET} == ${CHOST} ]] \
- && INCLUDEDIR="/usr/include" \
- || INCLUDEDIR="/usr/${CTARGET}/usr/include"
-
- einfo "Installing for ${CTARGET} in ${CHOST}.."
-
- dodir "${INCLUDEDIR}"
- $(freebsd_get_bmake) installincludes \
- MACHINE=$(tc-arch-kernel) \
- DESTDIR="${D}" INCLUDEDIR="${INCLUDEDIR}" || die "Install failed"
-
- # Install math.h when crosscompiling, at this point
- if [[ ${CHOST} != ${CTARGET} ]]; then
- insinto "/usr/${CTARGET}/usr/include"
- doins "${S}/msun/src/math.h"
- fi
-
- use _E_CROSS_HEADERS_ONLY && return 0
-
- if [[ ${CTARGET} != ${CHOST} ]]; then
- local csudir
- if [[ -d "${S}/csu/$(tc-arch-kernel ${CTARGET})-elf" ]]; then
- csudir="${S}/csu/$(tc-arch-kernel ${CTARGET})-elf"
- else
- csudir="${S}/csu/$(tc-arch-kernel ${CTARGET})"
- fi
- cd "${csudir}"
- $(freebsd_get_bmake) ${mymakeopts} DESTDIR="${D}" install \
- FILESDIR="/usr/${CTARGET}/usr/lib" || die "Install csu failed"
-
- cd "${S}/libc"
- $(freebsd_get_bmake) ${mymakeopts} DESTDIR="${D}" install NO_MAN= \
- SHLIBDIR="/usr/${CTARGET}/lib" LIBDIR="/usr/${CTARGET}/usr/lib" || die "Install failed"
-
- cd "${S}/msun"
- $(freebsd_get_bmake) ${mymakeopts} DESTDIR="${D}" install NO_MAN= \
- INCLUDEDIR="/usr/${CTARGET}/usr/include" \
- SHLIBDIR="/usr/${CTARGET}/lib" LIBDIR="/usr/${CTARGET}/usr/lib" || die "Install failed"
-
- dosym "usr/include" "/usr/${CTARGET}/sys-include"
- else
- cd "${S}"
- mkinstall || die "Install failed"
- fi
-
- # Don't install the rest of the configuration files if crosscompiling
- [[ ${CTARGET} != ${CHOST} ]] && return 0
-
- # install libstand files
- dodir /usr/include/libstand
- insinto /usr/include/libstand
- doins ${S}/libstand/*.h
-
- cd ${WORKDIR}/etc/
- insinto /etc
- doins auth.conf nls.alias mac.conf netconfig
-
- # Install ttys file
- doins "etc.$(tc-arch-kernel)"/*
-}
-