Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 236193 Details for
Bug 324999
sys-libs/ncurses-5.7-r3: Allow building without static libs
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
add USE=static-libs
ncurses-5.7-r3.ebuild.diff (text/plain), 1.62 KB, created by
Jonathan Callen (RETIRED)
on 2010-06-22 03:31:25 UTC
(
hide
)
Description:
add USE=static-libs
Filename:
MIME Type:
Creator:
Jonathan Callen (RETIRED)
Created:
2010-06-22 03:31:25 UTC
Size:
1.62 KB
patch
obsolete
>--- /usr/portage/sys-libs/ncurses/ncurses-5.7-r3.ebuild >+++ ncurses-5.7-r3.ebuild >@@ -15,7 +15,7 @@ SRC_URI="mirror://gnu/ncurses/${MY_P}.ta > LICENSE="MIT" > SLOT="5" > KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd" >-IUSE="ada +cxx debug doc gpm minimal profile trace unicode" >+IUSE="ada +cxx debug doc gpm minimal profile static-libs trace unicode" > > DEPEND="gpm? ( sys-libs/gpm )" > # berkdb? ( sys-libs/db )" >@@ -51,7 +51,7 @@ src_compile() { > CXXFLAGS=${BUILD_CXXFLAGS} \ > CPPFLAGS=${BUILD_CPPFLAGS} \ > LDFLAGS="${BUILD_LDFLAGS} -static" \ >- do_compile cross --without-shared >+ do_compile cross --without-shared --with-normal > fi > > make_flags="" >@@ -80,9 +80,9 @@ do_compile() { > # src_install() ... > # $(use_with berkdb hashed-db) > econf \ >- --libdir="/$(get_libdir)" \ > --with-terminfo-dirs="/etc/terminfo:/usr/share/terminfo" \ > --with-shared \ >+ $(use_with static-libs normal) \ > --without-hashed-db \ > $(use_with ada) \ > $(use_with cxx) \ >@@ -129,15 +129,9 @@ src_install() { > emake DESTDIR="${D}" install || die "make widec install failed" > fi > >- # Move static and extraneous ncurses libraries out of /lib >- dodir /usr/$(get_libdir) >- cd "${D}"/$(get_libdir) >- mv lib{form,menu,panel}.so* *.a "${D}"/usr/$(get_libdir)/ >- gen_usr_ldscript lib{,n}curses.so >- if use unicode ; then >- mv lib{form,menu,panel}w.so* "${D}"/usr/$(get_libdir)/ >- gen_usr_ldscript libncursesw.so >- fi >+ # Move libncurses{,w} into /lib >+ gen_usr_ldscript -a ncurses >+ use unicode && gen_usr_ldscript -a ncursesw > > # if ! use berkdb ; then > # We need the basic terminfo files in /etc, bug #37026
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 324999
: 236193