aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schäfer <gentryx@gmx.de>2014-02-19 01:47:41 +0100
committerAndreas Schäfer <gentryx@gmx.de>2014-02-19 01:47:41 +0100
commitd69a48d998c1353030585d6c17ee6377189bb508 (patch)
tree823971a4708d0c818a214103775dee3d1826f65d /sys-apps
parentnow using correct prefix for install prefix (diff)
downloadsci-d69a48d998c1353030585d6c17ee6377189bb508.tar.gz
sci-d69a48d998c1353030585d6c17ee6377189bb508.tar.bz2
sci-d69a48d998c1353030585d6c17ee6377189bb508.zip
switched to saner prefix for access daemon
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/likwid/files/likwid-3.1.1-paths.patch2
-rw-r--r--sys-apps/likwid/likwid-3.1.1.ebuild1
2 files changed, 2 insertions, 1 deletions
diff --git a/sys-apps/likwid/files/likwid-3.1.1-paths.patch b/sys-apps/likwid/files/likwid-3.1.1-paths.patch
index 202970e01..a5d28240d 100644
--- a/sys-apps/likwid/files/likwid-3.1.1-paths.patch
+++ b/sys-apps/likwid/files/likwid-3.1.1-paths.patch
@@ -12,7 +12,7 @@ diff -ru likwid-3.1.1/config.mk likwid-3.1.1-nju/config.mk
# the absolute path to the msr daemon executable.
# $(PREFIX)/bin/likwid-accessD
-ACCESSDAEMON = $(PREFIX)/bin/likwid-accessD#NO SPACE
-+ACCESSDAEMON = /usr/bin/likwid-accessD#NO SPACE
++ACCESSDAEMON = PREFIX_MARKER/likwid-accessD#NO SPACE
# Build the accessDaemon. Have a look in the WIKI for details.
BUILDDAEMON = true#NO SPACE
diff --git a/sys-apps/likwid/likwid-3.1.1.ebuild b/sys-apps/likwid/likwid-3.1.1.ebuild
index b23bb7168..d9876b2b3 100644
--- a/sys-apps/likwid/likwid-3.1.1.ebuild
+++ b/sys-apps/likwid/likwid-3.1.1.ebuild
@@ -18,6 +18,7 @@ IUSE=""
src_prepare() {
epatch "${FILESDIR}/${P}-paths.patch"
epatch "${FILESDIR}/${P}-shared_lib.patch"
+ sed -i -e "s:PREFIX_MARKER:${EPREFIX}/usr/bin:" config.mk || die "Couldn't replace daemon dir!"
sed -i -e "s:/usr/local:${ED}/usr:" config.mk || die "Couldn't set prefix!"
}