Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 188207 - x11-misc/xorg-cf-files installs X11.tmpl with wrong libdir
Summary: x11-misc/xorg-cf-files installs X11.tmpl with wrong libdir
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2007-08-09 11:10 UTC by Fabian Groffen
Modified: 2009-05-08 13:15 UTC (History)
1 user (show)

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 Fabian Groffen gentoo-dev 2007-08-09 11:10:45 UTC
hi, as per subject, the following sed allowed me to compile transfig on AMD64, without it it fails because it looks in /usr/lib/X11 for X11.tmpl, which I don't have.

Index: xorg-cf-files-1.0.2.ebuild
===================================================================
--- xorg-cf-files-1.0.2.ebuild  (revision 8284)
+++ xorg-cf-files-1.0.2.ebuild  (working copy)
@@ -20,4 +20,6 @@
        x-modular_src_install
        echo "#define ManDirectoryRoot ${EPREFIX}/usr/share/man" >> ${D}/usr/$(get_libdir)/X11/config/host.def
        sed -i -e "s/LibDirName *lib$/LibDirName $(get_libdir)/" ${D}/usr/$(get_libdir)/X11/config/Imake.tmpl || die "failed libdir sed"
+       sed -i -e "s|LibDir Concat(ProjectRoot,/lib/X11)|LibDir Concat(ProjectRoot,/$(get_libdir)/X11)|" ${D}/usr/$(get_libdir)/X11/config/X11.tmpl || die "failed libdir sed"
+
 }

It might be that more files need patching, but I haven't looked at this.
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2007-10-06 08:30:20 UTC
That sed isn't the correct way to do it, neither is the above one. We 
should be echoing a redefinition of the term to host.def. The old 
xorg-x11 6.x ebuilds can be a reference for this. I don't have time to 
check into it at the moment, but that's what needs to happen.
Comment 2 Rémi Cardona (RETIRED) gentoo-dev 2009-02-20 13:37:12 UTC
Donnie, do we still care about this?

Thanks
Comment 3 Rémi Cardona (RETIRED) gentoo-dev 2009-05-08 13:15:09 UTC
xorg-cf-files is only used by image and opengl-manpages...

Closing.

Thank