summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sysutils/gkrellm/Makefile4
-rw-r--r--sysutils/gkrellm2/Makefile4
2 files changed, 6 insertions, 2 deletions
diff --git a/sysutils/gkrellm/Makefile b/sysutils/gkrellm/Makefile
index 4bd8f8e..f8a631f 100644
--- a/sysutils/gkrellm/Makefile
+++ b/sysutils/gkrellm/Makefile
@@ -46,7 +46,9 @@ BINMODE= 2111
post-patch:
@${MV} ${WRKSRC}/gkrellm.h ${WRKSRC}/gkrellm.h.orig
- @${SED} -e "s^/usr/share/^${PREFIX}/share/^" \
+ @${SED} \
+ -e "s^/usr/share/gkrellm/themes^${PREFIX}/share/gkrellm/themes^" \
+ -e "s^/usr/share/gkrellm/plugins^${PREFIX}/libexec/gkrellm/plugins^" \
${WRKSRC}/gkrellm.h.orig > ${WRKSRC}/gkrellm.h
do-install:
diff --git a/sysutils/gkrellm2/Makefile b/sysutils/gkrellm2/Makefile
index 4bd8f8e..f8a631f 100644
--- a/sysutils/gkrellm2/Makefile
+++ b/sysutils/gkrellm2/Makefile
@@ -46,7 +46,9 @@ BINMODE= 2111
post-patch:
@${MV} ${WRKSRC}/gkrellm.h ${WRKSRC}/gkrellm.h.orig
- @${SED} -e "s^/usr/share/^${PREFIX}/share/^" \
+ @${SED} \
+ -e "s^/usr/share/gkrellm/themes^${PREFIX}/share/gkrellm/themes^" \
+ -e "s^/usr/share/gkrellm/plugins^${PREFIX}/libexec/gkrellm/plugins^" \
${WRKSRC}/gkrellm.h.orig > ${WRKSRC}/gkrellm.h
do-install:
OpenPOWER on IntegriCloud