Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 307151 Details for
Bug 410199
New ebuild: sys-freebsd/virtio-kmod
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
sys-freebsd/virtio-kmod-0.228301
virtio-kmod-0.228301.ebuild (text/plain), 1.69 KB, created by
Richard Yao (RETIRED)
on 2012-03-30 02:27:33 UTC
(
hide
)
Description:
sys-freebsd/virtio-kmod-0.228301
Filename:
MIME Type:
Creator:
Richard Yao (RETIRED)
Created:
2012-03-30 02:27:33 UTC
Size:
1.69 KB
patch
obsolete
># Copyright 1999-2012 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI=4 > >inherit bsdmk flag-o-matic freebsd > >DESCRIPTION="Port for package building of virtio kernel lodable modules." >HOMEPAGE="http://www.freshports.org/emulators/virtio-kmod/" >SRC_URI="mirror://freebsd/ports/local-distfiles/kuriyama/virtio-${PV}.tar.gz" > >SLOT="0" >KEYWORDS="~amd64-fbsd ~x86-fbsd" >IUSE="custom-cflags +debug" > >DEPEND=">=sys-freebsd/freebsd-sources-8.2" > >RESTRICT="strip" > >LDFLAGS="$(raw-ldflags)" >SYSDIR="${EPREFIX}/usr/src/sys" >KMODDIR="${EPREFIX}/boot/modules" >DESTDIR="${D}" > ># Disable QA_TEXTREL checks because every FreeBSD module appears to have one. >QA_TEXTRELS="*" > >src_unpack() { > cd "${T}" > default_src_unpack > mkdir -p "${S}/sys/" >} > >src_prepare() { > # Workaround limitation where we must build inside the source tree > # Use hard links to speed up copy of kernel sources when possible. > if [ "$(id -u)" != "0" ] > then > cd /usr/src/sys/ > find | cpio -dumpl --quiet "${S}/sys/" > else > cp -pR /usr/src/sys/ "${S}/sys" > fi > cp -pR "${T}/" "${S}/sys" > > # Prevent recursive operations > find "${S}/sys" -name @ -exec rm {} + >} > >src_compile() { > use custom-cflags || strip-flags > append-cflags "-I${S}/sys" > cd "${S}/sys/modules/virtio" > use debug && export DEBUG_FLAGS="-g" > mkmake || die "mkmake failed" > >} > >src_install() { > # Upstream does not provide an install target > dodir /boot/modules > cp "${S}"/sys/modules/virtio/*/*.ko{,.symbols} "${ED}/boot/modules" >} > >pkg_postinst() { > # Update linker.hints file > /usr/sbin/kldxref "${EPREFIX}/boot/modules" > > # Print message from FreeBSD Ports > elog "$(cat "${FILESDIR}/pkg-message")" >} > >pkg_info() { > cat "${FILESDIR}/pkg-descr" >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 410199
:
307139
|
307141
|
307143
|
307145
|
307147
|
307149
|
307151
|
307153
|
307155
|
307157
|
307191
|
307193
|
307199
|
307201
|
307203
|
307205
|
307241