diff --git a/templates/font-util.tmpl b/templates/font-util.tmpl index 5e6e158629d..2d7c64dcaf4 100644 --- a/templates/font-util.tmpl +++ b/templates/font-util.tmpl @@ -15,4 +15,6 @@ long_desc=" and the fontutil pkg-config and autoconf macro files." # Transform bdftruncate.pl with correct path. -run_stuff_before_build_cmd="perl_transform_file $wrksrc/bdftruncate.pl" +run_stuff_before_build_cmd=" +. $XBPS_TMPLHELPDIR/perl-replace-path.sh +perl_transform_file $wrksrc/bdftruncate.pl"