Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 104470 Details for
Bug 158688
app-misc/sl ebuild cleanup (respect LDFLAGS and compiler, use linguas_ja instead of cjk)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Ebuild patch
sl-ebuild.patch (text/plain), 1.64 KB, created by
Diego Elio Pettenò (RETIRED)
on 2006-12-20 15:16:29 UTC
(
hide
)
Description:
Ebuild patch
Filename:
MIME Type:
Creator:
Diego Elio Pettenò (RETIRED)
Created:
2006-12-20 15:16:29 UTC
Size:
1.64 KB
patch
obsolete
>Index: sl-3.03.ebuild >=================================================================== >RCS file: /var/cvsroot/gentoo-x86/app-misc/sl/sl-3.03.ebuild,v >retrieving revision 1.15 >diff -u -B -r1.15 sl-3.03.ebuild >--- sl-3.03.ebuild 7 Jul 2005 11:51:26 -0000 1.15 >+++ sl-3.03.ebuild 20 Dec 2006 23:16:13 -0000 >@@ -2,7 +2,7 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/app-misc/sl/sl-3.03.ebuild,v 1.15 2005/07/07 11:51:26 agriffis Exp $ > >-inherit eutils >+inherit eutils toolchain-funcs flag-o-matic > > SL_PATCH="sl5-1.patch" > >@@ -15,27 +15,33 @@ > LICENSE="freedist" > SLOT="0" > KEYWORDS="x86 alpha sparc ppc64 ppc ppc-macos ~amd64 hppa" >-IUSE="cjk" >+IUSE="linguas_ja debug" > >-DEPEND="virtual/libc >- sys-libs/ncurses >- !ppc-macos? ( cjk? ( app-i18n/nkf ) )" >-RDEPEND="virtual/libc >- sys-libs/ncurses" >+DEPEND="sys-libs/ncurses >+ linguas_ja? ( app-i18n/nkf )" >+RDEPEND="sys-libs/ncurses" > > S=${WORKDIR}/${PN} > > src_unpack() { > unpack ${PN}.tar >- cd ${S} >- epatch ${DISTDIR}/${SL_PATCH} >- epatch ${FILESDIR}/${P}-gentoo.diff >+ cd "${S}" >+ epatch "${DISTDIR}/${SL_PATCH}" >+ epatch "${FILESDIR}/${P}-gentoo.diff" > unpack ${PN}.en.1.gz > } > >+doecho() { >+ echo "$@" >+ "$@" >+} >+ > src_compile() { >- emake CFLAGS="${CFLAGS}" LDFLAGS="-lncurses" || die >- if use cjk; then >+ use debug && append-flags -DDEBUG >+ >+ doecho "$(tc-getCC)" ${CFLAGS} ${LDFLAGS} sl.c -lncurses -o sl >+ >+ if use linguas_ja; then > nkf -e sl.1 > sl.ja.1 > fi > } >@@ -44,7 +50,7 @@ > dobin sl || die > newman sl.en.1 sl.1 > dodoc README* sl.txt >- if use cjk ; then >+ if use linguas_ja ; then > insinto /usr/share/man/ja/man1 > newins sl.ja.1 sl.1 > fi
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 158688
: 104470