$NetBSD: patch-ab,v 1.3 2006/12/29 22:00:17 markd Exp $ --- Makefile.orig 2006-10-31 10:11:21.000000000 +1300 +++ Makefile @@ -126,7 +126,7 @@ adt/hashs.lo: libcompile adt/hashs.c adt adt/hashs.o: compile adt/hashs.c adt/common.h ./compile adt/hashs.c -all: dotlibs sysdeps.h libraries bg-installer cli-generate selftests +all: dotlibs sysdeps.h libraries bg-installer cli-generate base64/asc2bin.lo: libcompile base64/asc2bin.c base64/base64.h str/str.h ./libcompile base64/asc2bin.c @@ -1033,7 +1033,7 @@ makeshlib: conf-ld conf-lib LIBVERSION M echo '#!/bin/sh'; \ echo 'lib="$$1"; shift';\ echo 'rm -f "$$lib"';\ - echo libtool --mode=link --silent $$tag `head -n 1 conf-ld` '-o "$$lib" -rpath' `head -n 1 conf-lib` -version-info `head -n 1 LIBVERSION` '$${1+"$$@"}';\ + echo libtool --mode=link --silent $$tag `head -n 1 conf-ld` '-o "$$lib" -rpath' `head -n 1 conf-lib` -version-info `head -n 1 LIBVERSION` '$${1+"$$@"}' `cat socket.lib`;\ ) >makeshlib chmod 755 makeshlib @@ -1505,9 +1505,7 @@ path/mktemp.o: compile path/mktemp.c sys ./compile path/mktemp.c perl-head.pl: - ( set -e; PATH="/bin:/usr/bin:/usr/local/bin:$$PATH"; export PATH; \ - perl=`which perl`; \ - echo "#! $$perl"; \ + ( echo "#! ${PERL5}"; \ echo "# WARNING: This file was auto-generated. Do not edit!"; \ echo ) >perl-head.pl