Bug 87618 - media-video goggles-0.8.0
Bug#: 87618 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: All Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: media-video@gentoo.org Reported By: evermind@tuxfamily.org
Component: Ebuilds
URL: 
Summary: media-video goggles-0.8.0
Keywords:  
Status Whiteboard: 
Opened: 2005-04-01 18:52 0000
Description:   Opened: 2005-04-01 18:52 0000
the current ebuild won't create the goggles with the right prefix. The ebuild
insert the /var/tmp/portage/gogglesblabla instead of just /usr
so I changed the ebuild and now it works.
here my diff

-0.8.0.ebuild_old goggles-0.8.0.ebuild
--- goggles-0.8.0.ebuild_old    2005-04-02 04:30:57.755316624 +0200
+++ goggles-0.8.0.ebuild        2005-04-02 04:48:06.825874120 +0200
@@ -33,7 +33,7 @@
        ./gb || die "build failed"

        # we do it now manually, to avoid calling 'gb install'
-       sed "s|@prefix@|/${D}${DESTTREE}|" scripts/goggles.in > scripts/goggles
+       sed "s|@prefix@|/usr|" scripts/goggles.in > scripts/goggles
 }

 src_install() {

------- Comment #1 From Frieder Bürzele 2005-04-04 05:49:30 0000 -------
Created an attachment (id=55269) [details]
patch to adjust the generated destdir in script googles

now the variable $DESTTREE is used instead of the fixed path /usr (like in the
original ebuild)

------- Comment #2 From Jan Brinkmann (RETIRED) 2005-04-04 12:12:47 0000 -------
fixed in cvs, thanks.