diff options
Diffstat (limited to 'lang/perl58/patches/patch-cc')
-rw-r--r-- | lang/perl58/patches/patch-cc | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/lang/perl58/patches/patch-cc b/lang/perl58/patches/patch-cc new file mode 100644 index 00000000000..a4f7dceaf8c --- /dev/null +++ b/lang/perl58/patches/patch-cc @@ -0,0 +1,30 @@ +$NetBSD: patch-cc,v 1.1 2004/04/24 21:04:43 tv Exp $ + +--- hints/interix.sh.orig Fri Apr 23 12:29:09 2004 ++++ hints/interix.sh Fri Apr 23 12:32:55 2004 +@@ -0,0 +1,25 @@ ++# hints/interix.sh ++# ++# Please check with packages@netbsd.org before making modifications ++# to this file. ++ ++cc='gcc' ++cccdlflags="-DPIC $cccdlflags" ++ccdlflags='-Wl,-E' ++ccflags="-D_ALL_SOURCE $ccflags" ++ld='gcc' ++lddlflags="-shared $lddlflags" ++rpathflag='-Wl,-R' ++sharpbang='#!' ++usenm='false' ++ ++# This script UU/usethreads.cbu will get 'called-back' by Configure ++# after it has prompted the user for whether to use threads. ++cat > UU/usethreads.cbu <<'EOCBU' ++case "$usethreads" in ++$define|true|[yY]*) ++ ccflags="-D_REENTRANT $ccflags" ++ libswanted="$libswanted pthread" ++ ;; ++esac ++EOCBU |