summaryrefslogtreecommitdiff
path: root/lang/perl5/patches/patch-cb
blob: f4377f8f8db01298107bb10215f0edc99b227da6 (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
$NetBSD: patch-cb,v 1.1 2005/06/24 06:43:47 jlam Exp $
--- Makefile.SH.orig	2004-10-21 08:30:02.000000000 -0700
+++ Makefile.SH	2005-03-08 18:05:48.000000000 -0700
@@ -69,7 +69,11 @@
 	sunos*)
 		linklibperl="-lperl"
 		;;
-	netbsd*|freebsd[234]*|openbsd*)
+	interix*)
+		linklibperl="-L. -lperl"
+		shrpldflags="$shrpldflags -Wl,--image-base,0x57000000"
+		;;
+	netbsd*|freebsd[234]*|openbsd*|dragonfly*)
 		linklibperl="-L. -lperl"
 		;;
 	aix*)
@@ -77,7 +81,7 @@
 		case "$osvers" in
 		3*)	shrpldflags="$shrpldflags -e _nostart"
 			;;
-		*)	shrpldflags="$shrpldflags -b noentry"
+		*)	shrpldflags="$shrpldflags -bnoentry"
 			;;
 		esac
 	        shrpldflags="$shrpldflags $ldflags $perllibs $cryptlib"