summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2019-04-07 15:19:17 +0200
committerDavid Seifert <soap@gentoo.org>2019-04-07 15:19:17 +0200
commit52b31c56480cb8a05167094d65172e45a90bfc77 (patch)
treedc9e984db92dad168c744cd3809d58ae983b485b
parentFix unescaped left brace warning (diff)
downloadufed-52b31c56480cb8a05167094d65172e45a90bfc77.tar.gz
ufed-52b31c56480cb8a05167094d65172e45a90bfc77.tar.bz2
ufed-52b31c56480cb8a05167094d65172e45a90bfc77.zip
Replace `libexecdir` by `pkglibexecdir`
Signed-off-by: David Seifert <soap@gentoo.org>
-rw-r--r--Makefile.am5
-rw-r--r--ufed.pl.in4
2 files changed, 4 insertions, 5 deletions
diff --git a/Makefile.am b/Makefile.am
index 2e92da4..954f36b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,11 +1,10 @@
PACKAGE_VERSION = @PACKAGE_VERSION@
PERL = @PERL@
-libexecdir = @libdir@/@PACKAGE@
perldir = @datadir@/@PACKAGE@
E_PREFIX := $(shell portageq envvar EPREFIX 2>/dev/null)
sbin_SCRIPTS = ufed
-libexec_PROGRAMS = ufed-curses
+pkglibexec_PROGRAMS = ufed-curses
dist_perl_DATA = Portage.pm
ufed_curses_SOURCES = \
@@ -32,7 +31,7 @@ ufed: ufed.pl.in
sed \
-e 's|XX_PACKAGE_VERSION[@]|$(PACKAGE_VERSION)|g' \
-e 's|XX_PERL[@]|$(PERL)|g' \
- -e 's|XX_libexecdir[@]|$(libexecdir)|g' \
+ -e 's|XX_pkglibexecdir[@]|$(pkglibexecdir)|g' \
-e 's|XX_perldir[@]|$(perldir)|g' \
$< >$@.tmp
chmod +x $@.tmp
diff --git a/ufed.pl.in b/ufed.pl.in
index fdcdf18..4cd2484 100644
--- a/ufed.pl.in
+++ b/ufed.pl.in
@@ -22,7 +22,7 @@ my $gdb = "gdb -ex run ufed-curses";
my $memcheck = "/usr/bin/valgrind -v --trace-children=yes --tool=memcheck"
. " --track-origins=yes --leak-check=full --show-reachable=no"
. " --read-var-info=yes"
- . " XX_libexecdir@/ufed-curses 2>/tmp/ufed_memcheck.log";
+ . " XX_pkglibexecdir@/ufed-curses 2>/tmp/ufed_memcheck.log";
sub finalise;
sub flags_dialog;
@@ -67,7 +67,7 @@ sub flags_dialog {
POSIX::dup2 $owrite, 4;
POSIX::close $owrite;
if (0 == EXEC) {
- exec { "XX_libexecdir@/$interface" } $interface or
+ exec { "XX_pkglibexecdir@/$interface" } $interface or
do { print STDERR "Couldn't launch $interface\n"; exit 3 }
} elsif (1 == EXEC) {
exec $gdb or