Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 199752 - media-libs/pdflib-7.0.2 double prefix
Summary: media-libs/pdflib-7.0.2 double prefix
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All All
: High normal
Assignee: Gentoo non-Linux Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-20 10:41 UTC by Philipp Bunge
Modified: 2007-11-20 11:45 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 Philipp Bunge 2007-11-20 10:41:15 UTC
media-libs/pdflib-7.0.2 fails during install due to a double prefix QA notice.

Reproducible: Always

Steps to Reproduce:
1. emerge =media-libs/pdflib-7.0.2




The problem is just an ${ED} instead of a ${D} in src_install.

Here's where:

 src_install() {
        for binding in perl python tcl ; do
                sed -i \
-                       -e "s:^\(LANG_LIBDIR\).*= \(.*\):\1\t = ${ED}/\2:" \
+                       -e "s:^\(LANG_LIBDIR\).*= \(.*\):\1\t = ${D}/\2:" \
                        "${S}/bind/pdflib/${binding}/Makefile" \
                                || die "sed bind/pdflib/${binding}/Makefile failed"
        done

Thanks for all of your support!
Philipp
Comment 1 Fabian Groffen gentoo-dev 2007-11-20 11:45:26 UTC
indeed, thanks!  I applied your fix