$NetBSD: patch-configure,v 1.2 2022/08/22 08:49:44 markd Exp $ configure takes offense at details of an installed auctex package, but it really is the pkgsrc framework's business to check for installation conflicts. --- configure.orig 2022-02-20 19:30:41.000000000 +0000 +++ configure @@ -3796,72 +3796,6 @@ test -n "$TEXHASH" || TEXHASH=":" fi fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for glaring installation conflicts" >&5 -printf %s "checking for glaring installation conflicts... " >&6; } - exppackagelispdir="$packagelispdir" - __ac_tmp_oldprefix__="${prefix}" - __ac_tmp_oldexec_prefix__="$exec_prefix" - test "x${prefix}" = xNONE && prefix="${ac_default_prefix}" - test "x${exec_prefix}" = xNONE && exec_prefix='${prefix}' - while :;do case "$exppackagelispdir" in *\$*) __ac_tmp__='s/[\`"-"]/\\&/g' -eval "exppackagelispdir=`sed ${__ac_tmp__} <& 5 2>&1 - "${EMACS}" -batch -eval "(let* ((packagelispdir(pop command-line-args-left)) (previewstartfile(pop command-line-args-left))(x ${elisp})) (write-region (if (stringp x) x (prin1-to-string x)) nil \"${OUTPUT}\"))" "${exppackagelispdir}" "${exppreviewstartfile}" >& 5 2>&1 - shadows="`cat ${OUTPUT}`" - echo "=> ${shadows}" >& 5 2>&1 - rm -f ${OUTPUT} - - if test "NONE${shadows}" != NONE - then - conflictsmsg="Conflicts with previous installations have been detected. - Please fix them before continuing. - " - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ouch! - " >&5 -printf "%s\n" "ouch! - " >&6; } - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ${shadows} - " >&5 -printf "%s\n" "$as_me: WARNING: ${shadows} - " >&2;} - else - conflictsmsg= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: probably none" >&5 -printf "%s\n" "probably none" >&6; } - fi - texmfdir="`sed 's/[^-0-9a-zA-Z_./:$]/\\\\&/g;s/[$]\\\\[{(]\\([^)}]*\\)\\\\[})]/${\\1}/g' <