Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 420966 Details for
Bug 567260
dev-util/plan9port-20140306: add prefix support to ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
plan9port-20140306-r2.ebuild.patch
file_567260.txt (text/plain), 2.10 KB, created by
Jeremi Piotrowski
on 2015-12-27 22:24:17 UTC
(
hide
)
Description:
plan9port-20140306-r2.ebuild.patch
Filename:
MIME Type:
Creator:
Jeremi Piotrowski
Created:
2015-12-27 22:24:17 UTC
Size:
2.10 KB
patch
obsolete
>--- /usr/portage/dev-util/plan9port/plan9port-20140306-r1.ebuild 2015-12-02 08:31:02.000000000 +0100 >+++ plan9port-20140306-r2.ebuild 2015-12-28 00:02:35.245333639 +0100 >@@ -4,7 +4,7 @@ > > EAPI="5" > >-inherit eutils multiprocessing >+inherit eutils multiprocessing toolchain-funcs > > DESCRIPTION="Port of many Plan 9 programs and libraries" > HOMEPAGE="http://swtch.com/plan9port/" >@@ -13,9 +13,12 @@ SRC_URI="https://${PN}.googlecode.com/fi > LICENSE="9base BSD-4 MIT LGPL-2.1 BigelowHolmes" > SLOT="0" > KEYWORDS="~amd64 ~x86" >-IUSE="X" >+IUSE="X aqua truetype" >+REQUIRED_USE="?? ( X aqua )" > >-DEPEND="X? ( x11-apps/xauth )" >+DEPEND="X? ( x11-apps/xauth ) >+ truetype? ( media-libs/freetype >+ media-libs/fontconfig )" > RDEPEND="${DEPEND}" > > S="${WORKDIR}/${PN}" >@@ -26,6 +29,13 @@ QA_MULTILIB_PATHS="${PLAN9}/.*/.*" > > src_prepare() { > epatch "${FILESDIR}/${PN}-"{noexecstack,cflags,builderr}".patch" >+ case ${CHOST} in >+ *freebsd10.*) # patch 9l to use -pthread also on FreeBSD-10 >+ epatch "${FILESDIR}/${PN}-freebsd-10.patch" ;; >+ *apple*) >+ sed -i 's/--noexecstack/-noexecstack/' src/mkhdr || >+ die "Failed to sed AFLAGS" ;; >+ esac > > # don't hardcode /bin and /usr/bin in PATH > sed -i '/PATH/s,/bin:/usr/bin:,,' INSTALL || die "sed on INSTALL failed" >@@ -45,15 +55,28 @@ src_prepare() { > } > > src_configure() { >+ local myconf=() > if use X; then >- echo "X11=${EPREFIX}/usr" >> LOCAL.config >+ myconf+=("X11=${EPREFIX}/usr" WSYSTYPE=x11) >+ elif use aqua; then >+ local wsystype=$(echo ${MACOSX_DEPLOYMENT_TARGET} | >+ awk '{if ($1 > 10.5) print "osx-cocoa"; else print "osx"}') >+ myconf+=("WSYSTYPE=${wsystype}") > else >- echo "WSYSTYPE=nowsys" >> LOCAL.config >+ myconf+=(WSYSTYPE=nowsys) > fi >+ >+ if use truetype; then >+ myconf+=(FONTSRV=fontsrv) >+ else >+ myconf+=(FONTSRV=) >+ fi >+ printf '%s\n' "${myconf[@]}" >> LOCAL.config > } > > src_compile() { > export NPROC=$(makeopts_jobs) >+ export CC9=$(tc-getCC) > > # The INSTALL script builds mk then [re]builds everything using that > einfo "Compiling Plan 9 from User Space can take a very long time"
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 567260
:
418290
|
418314
| 420966 |
420968