Skip to content

Commit

Permalink
lang/perl5: fix full_ar wrkdir references
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Perkin committed Sep 23, 2015
1 parent 062a126 commit 3e31cea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions lang/perl5/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ CONFIGURE_ARGS+= -Duseshrplib
# files, so make sure the paths to the ones in ${TOOLS_DIR} aren't used.
#
USE_TOOLS+= hostname ln rm sed test
SUBST_VARS.policysh+= AR
SUBST_VARS.policysh+= TOOLS_HOSTNAME_CMD
SUBST_VARS.policysh+= TOOLS_LN
TOOLS_ALIASES.sed+= ${TOOLS_SED:T}
Expand Down
2 changes: 2 additions & 0 deletions lang/perl5/files/Policy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ installstyle='lib/perl5'

# Perl embeds the full paths to the following tools in several installed
# files, so make sure the paths to the ones in ${TOOLS_DIR} aren't used.
ar='@AR@'
aphostname='@TOOLS_HOSTNAME_CMD@'
ln='@TOOLS_LN@'
lns='@TOOLS_LN@ -s'
Expand Down Expand Up @@ -119,5 +120,6 @@ case "\$libswanted" in *gdbm*)
esac
# (re)Set sed here so that sed _and_ full_sed are correctly *both* set
ar='@AR@'
sed='@TOOLS_SED@'
EOCBU

0 comments on commit 3e31cea

Please sign in to comment.