summaryrefslogtreecommitdiff
path: root/lang/perl5/patches/patch-cn
blob: d6e06723304292ccd94c88a5d8d34cb50720bd3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-cn,v 1.4 2012/10/03 19:59:47 adam Exp $

--- hints/hpux.sh.orig	2012-08-03 17:35:26.000000000 +0000
+++ hints/hpux.sh
@@ -387,7 +387,7 @@ case "$ccisgcc" in
 	    *O[3456789]*) optimize=`echo "$optimize" | sed -e 's/O[3-9]/O2/'` ;;
 	    esac
 	#ld="$cc"
-	ld=/usr/bin/ld
+	ld=ld
 	cccdlflags='-fPIC'
 	#lddlflags='-shared'
 	lddlflags='-b'
@@ -458,7 +458,7 @@ case "$ccisgcc" in
 	    toke_cflags="$toke_cflags;optimize=\"$opt\""
 	    regexec_cflags="optimize=\"$opt\""
 	    fi
-	ld=/usr/bin/ld
+	ld=ld
 	cccdlflags='+Z'
 	lddlflags='-b +vnocompatwarnings'
 	;;