Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2361 - w3m 0.2.2 fails to build. ebuild patch included.
Summary: w3m 0.2.2 fails to build. ebuild patch included.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Pieter Van den Abeele (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-02 17:03 UTC by Gontran Zepeda
Modified: 2006-02-04 06:03 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gontran Zepeda 2002-05-02 17:03:12 UTC
Modified default editor line to be more compliant with gentoo base system,
got rid of unncecessary and broken curses printf lines in configure(),
squashed the showstopper, which was prebuild 386 binaries inside of the 
w3m-0.2.2/gc subdirectory.

hth,
Gontran


========== /root/w3m-0.2.2.ebuild.diff ==========

--- w3m-0.2.2.ebuild	Thu Apr  4 06:40:12 2002
+++ /root/w3m-0.2.2.ebuild	Thu May  2 14:53:46 2002
@@ -54,7 +54,7 @@
 		# (Your SSL library must be version 0.8 or later)
 		use ssl &>/dev/null && echo y || echo n
 		# Input your favorite editor program.
-		echo /usr/bin/vi
+		echo /usr/bin/nano
 		# Input your favorite mailer program.
 		echo /usr/bin/mail
 		# Input your favorite external browser program.
@@ -62,14 +62,25 @@
 		# Input your favorite C-compiler.
 		echo gcc
 		# Input your favorite C flags.
-		printf "%s" "$CFLAGS"
-		# Which terminal library do you want to use? (type "none" if you
-		# do not need one)
-		printf "%s" "-lncurses"
+		# Cflags and next line were getting jammed together
+		printf "%s\n" "$CFLAGS"
+		# Which terminal library do you want to use? (type "none" if you do not
+		# need one) -- ncurses is the default actually, (default: -lncurses) :
+		# besides this printf needs spaces around the %s to work, use default
+		# instead
+		#printf " %s " "-lncurses"
+		echo
 		# Input additional LD flags other than listed above, if any:
-		# (default: -lncurses) : 
+		# 
 		echo
 	) | ./configure || die "configure failed"
+
+	# binary executeables come prebuilt for 80386! in w3m-0.2.2/gc  need to
+	# clean it up and be sure to remake for ANY arch
+	cd ${S}/gc
+	make clean
+	cd -
+
 	emake || die "emake failed"
 }
 
========== /root/w3m-0.2.2.ebuild.diff ==========
Comment 1 Pieter Van den Abeele (RETIRED) gentoo-dev 2002-05-03 08:10:00 UTC
0.2.2-r1: in ppc portage and x86 portage
0.3-r1: in x86 portage (will be merged into ppc portage)