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

Bug 2265

Summary: The gmanedit configure script can't find gtk-config
Product: Gentoo Linux Reporter: Luke Ravitch <luke>
Component: New packagesAssignee: Seemant Kulleen (RETIRED) <seemant>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 1.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Luke Ravitch 2002-04-30 02:28:02 UTC
The configure script for gmanedit looks in /usr/X11R6/bin for gtk-config (we
keep it in /usr/bin).  This quick hack seems to fix things...

*** gmanedit-0.3.3-r1.ebuild.orig	2002-04-30 00:08:37.000000000 -0700
--- gmanedit-0.3.3-r1.ebuild	2002-04-30 00:13:42.000000000 -0700
***************
*** 15,20 ****
--- 15,24 ----
  	unpack ${A}
  	cd ${S}
  	patch -p0 < ${FILESDIR}/gmanedit-0.3.3.diff
+ 	sed -e 's:/usr/X11R6/bin/gtk-config:gtk-config:g' \
+ 		< configure > configure.new
+ 	mv configure.new configure
+ 	chmod 755 configure
  }
  
  src_compile() {
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-04-30 03:30:10 UTC
funny thing is that configure was already being patched to point to
/usr/X11R6/bin, so all that needed to be done was to not apply the original patch :)

Thanks for the fix.