Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5193 - links-2.1_pre2-r1.ebuild broken in non-graphical builds.
Summary: links-2.1_pre2-r1.ebuild broken in non-graphical builds.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-18 07:21 UTC by Edward Roper
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Fixes non-graphical builds. (links-2.1_pre2-r1.ebuild.patch,378 bytes, patch)
2002-07-18 07:22 UTC, Edward Roper
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Edward Roper 2002-07-18 07:21:17 UTC
links-2.1_pre2-r1.ebuild is broken in non-graphical builds. The proper configure
parameter to enable the graphic-mode is --enable-graphics. However
--disable-graphics (presently in the ebuild) is ignored by configure. Instead
one must use --without-graphics or the build will fail on systems not providing
any graphical system. The following patch seems to fix the problem ;)

--- links-2.1_pre2-r1.ebuild    Mon Jul 15 22:00:34 2002
+++ links-2.1_pre2-r1.ebuild    Thu Jul 18 04:36:09 2002
@@ -36,7 +36,7 @@

        use png \
                && myconf="${myconf} --enable-graphics --with-libpng" \
-               || myconf="${myconf} --disable-graphics --without-libpng"
+               || myconf="${myconf} --without-graphics --without-libpng"

        use jpeg \
                && myconf="${myconf} --with-libjpeg" \
Comment 1 Edward Roper 2002-07-18 07:22:02 UTC
Created attachment 2354 [details, diff]
Fixes non-graphical builds.
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2002-07-21 10:53:56 UTC
thanks for catching this.