Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 5351

Summary: links-0.96-r2.ebuild (New Package)
Product: Gentoo Linux Reporter: Christopher Horler <chris>
Component: New packagesAssignee: Michael M Nazaroff (RETIRED) <naz>
Status: RESOLVED FIXED    
Severity: enhancement CC: chris
Priority: High    
Version: 1.2   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: links-0.96-r2.ebuild (New Package)
links-0.96-r2-gentoo.patch (add gpm configure switch)

Description Christopher Horler 2002-07-21 14:50:54 UTC
The links-0.96-r1 ebuild had some minor problems for me, using the following
type of command line.

USE="-gpm -ssl" emerge path/to/links-0.96-r1.ebuild

If gpm is installed the resulting executable is linked to gpm and ncurses, even
though I specifically asked it not to be.  I've patched configure.in and
acconfig.h to add a configure switch --without-gpm.  This makes sure that the
code isn't linked against gpm or ncurses when the above command line is used.

(I'd like this included because I'm trying to create a boot disk for users
wanting to install gentoo from FDD over a modem, and a web browser would be
useful - as long as it's small)

The resulting ebuild is moderately heavily edited with a new function added, so
I incremented to r2.  The runtime deps are now libc and ld-linux (when compiled
with -gpm -ssl), but I'm not sure if conditional statements are allowed for an
ebuild DEPEND ; I will find out and submit a update later (I've problems with
getting xchat-1.9.2 to work at the moment).

Thanks for reading:-)

Later,

Chris
Comment 1 Christopher Horler 2002-07-21 14:54:09 UTC
Created attachment 2440 [details]
links-0.96-r2.ebuild (New Package)

New ebuild for links-0.96
Comment 2 Christopher Horler 2002-07-21 14:55:37 UTC
Created attachment 2441 [details, diff]
links-0.96-r2-gentoo.patch (add gpm configure switch)
Comment 3 Michael M Nazaroff (RETIRED) gentoo-dev 2002-07-22 13:10:44 UTC
Done, I only did one small modification to your ebuild.. 
I change "make DESTDIR=$D} install || die" to "einstall"

Just for future reference, I'm sure you where just looking at the previous
ebuild to write yours.. but einstall is the newer standerd and easier to type :o)

Naz