summaryrefslogtreecommitdiff
path: root/devel/bglibs/patches/patch-ab
blob: e54eb1367d71eaba0829427d601486d127374e21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
$NetBSD: patch-ab,v 1.5 2008/04/10 03:20:49 schmonz Exp $

--- Makefile.orig	2008-04-09 11:24:31.000000000 -0400
+++ Makefile
@@ -132,7 +132,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
@@ -1054,7 +1054,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
 
@@ -1529,9 +1529,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