$NetBSD: patch-Configure,v 1.2 2020/08/09 23:12:13 joerg Exp $ --- Configure.orig 2016-02-25 14:12:36.000000000 +0000 +++ Configure @@ -53,6 +53,7 @@ for file in $_tools_list; do done if test -z "$zcat" -a -n "$gzip"; then zcat="$gzip -dc"; fi +perl=$PERL5 ####################### CONFIGURE - ARCHITECTURE ############################ . ./get_archos # arch, osname config_log="$TOP/config-$arch-$osname$$.log" @@ -119,14 +120,14 @@ fi . ./get_static # static # For dynamic linking, before and after installing runpath=\"$libdir\" -LDDYN="-lpari" +LDDYN="-Wl,-R$libdir -L$libdir -lpari" # get_modld needs $includedir from get_install, static, and LDDYN . ./get_modld # $_modld_list # Which copy, SHELL ? case "$osname" in os2) ln_s=cp; make_sh=sh;; - *) ln_s="ln -s"; make_sh="/bin/sh";; + *) ln_s="ln -sf"; make_sh="/bin/sh";; esac ####################### CONFIGURE - CLEANUP ################################# rm -f gmon.out # created by Configure -pg