Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 388361 - sys-apps/pciutils-3.1.8: prefix support
Summary: sys-apps/pciutils-3.1.8: prefix support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-24 17:39 UTC by Fabian Groffen
Modified: 2011-12-09 20:47 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 2011-10-24 17:39:40 UTC
pciutils-3.1.8 needs a bump to EAPI3 for the usage of EPREFIX.  Some tweaking to variables to include the offset has to be done as well:

@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/pciutils-3.1.8.ebuild,v 1.1 2011/10/20 00:33:40 vapier Exp $
 
-EAPI="2"
+EAPI="3"
 
 inherit eutils multilib toolchain-funcs
 
@@ -34,9 +34,9 @@
                CROSS_COMPILE="${CHOST}-" \
                CC="$(tc-getCC)" \
                DNS="yes" \
-               IDSDIR="/usr/share/misc" \
-               MANDIR="/usr/share/man" \
-               PREFIX="/usr" \
+               IDSDIR="\$(SHAREDIR)/misc" \
+               MANDIR="\$(SHAREDIR)/man" \
+               PREFIX="${EPREFIX}/usr" \
                SHARED="yes" \
                STRIP="" \
                ZLIB=$(usex zlib yes no) \
                LIBDIR="\${PREFIX}/$(get_libdir)" \


Please review and comment.  Changes would go in a revbump.
Comment 1 SpanKY gentoo-dev 2011-10-24 20:18:55 UTC
changes look fine, but don't revbump it.  3.1.8 is p.masked atm and needs changes in other ways first.
Comment 2 SpanKY gentoo-dev 2011-12-09 20:47:03 UTC
should be all set now in the tree; thanks for the report!

Commit message: Add prefix support
http://sources.gentoo.org/sys-apps/pciutils/pciutils-3.1.8.ebuild?r1=1.1&r2=1.2