diff options
author | tron <tron@pkgsrc.org> | 2008-10-11 19:36:11 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2008-10-11 19:36:11 +0000 |
commit | 5aebb6f97d31040d8909de052c3983ff66413d84 (patch) | |
tree | 565b6bf30efb42896b5fd9aecc4eea115f8fe529 /lang/perl5 | |
parent | 740717885dcc9ab3f361c09f0ebec1641d4d2b82 (diff) | |
download | pkgsrc-5aebb6f97d31040d8909de052c3983ff66413d84.tar.gz |
Remove patch that tries to create "hints/dragonfly.sh" which is now part
of the distribution. This fixes build problems on platforms which use
GNU patch (e.g. Mac OS X).
Diffstat (limited to 'lang/perl5')
-rw-r--r-- | lang/perl5/distinfo | 3 | ||||
-rw-r--r-- | lang/perl5/patches/patch-cj | 110 |
2 files changed, 1 insertions, 112 deletions
diff --git a/lang/perl5/distinfo b/lang/perl5/distinfo index 4ebcf6306ce..3c49174fc76 100644 --- a/lang/perl5/distinfo +++ b/lang/perl5/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.50 2008/10/10 21:58:43 he Exp $ +$NetBSD: distinfo,v 1.51 2008/10/11 19:36:11 tron Exp $ SHA1 (perl-5.10.0.tar.gz) = adf73606dd5248af7ccdd735bcaa0e628ea75b3c RMD160 (perl-5.10.0.tar.gz) = c6614fc99a162790a703f91085b24a60af903ba2 @@ -12,7 +12,6 @@ SHA1 (patch-ba) = dc150656628e83e25c99f246a0fb30906d185184 SHA1 (patch-ca) = 47db0530a705b8086b2bfc58491f9b56de4b9e12 SHA1 (patch-ch) = 5b6a89c82e158bab0a5f06add48c28e600678099 SHA1 (patch-ci) = 70531d44b6e2cb7a7ab9fb20ffe91d97e5c03e3a -SHA1 (patch-cj) = 3f40f1b166a054d55224c3e79d74516ca608b696 SHA1 (patch-ck) = 28207b8186c9ad194a1edc696159915bc16d1097 SHA1 (patch-cn) = 7ca2b1ff19f8371637a34ec26779b37d74c74cca SHA1 (patch-co) = 493ae6cb6cb544ce023c2a1fb067abe943bba2d4 diff --git a/lang/perl5/patches/patch-cj b/lang/perl5/patches/patch-cj deleted file mode 100644 index ee519fdc6fa..00000000000 --- a/lang/perl5/patches/patch-cj +++ /dev/null @@ -1,110 +0,0 @@ -$NetBSD: patch-cj,v 1.3 2005/10/10 17:11:32 joerg Exp $ - ---- /dev/null 2005-01-17 19:31:20.000000000 -0500 -+++ hints/dragonfly.sh 2005-01-17 19:39:56.000000000 -0500 -@@ -0,0 +1,105 @@ -+# hints/dragonfly.sh -+# -+# This file is mostly copied from hints/freebsd.sh with the OS version -+# information taken out and only the FreeBSD-4 information intact. -+# Please check with Todd Willey <xtoddx@gmail.com> before making -+# modifications to this file. -+ -+case "$osvers" in -+*) usevfork='true' -+ case "$usemymalloc" in -+ "") usemymalloc='n' -+ ;; -+ esac -+ libswanted=`echo $libswanted | sed 's/ malloc / /'` -+ ;; -+esac -+ -+# Dynamic Loading flags have not changed much, so they are separated -+# out here to avoid duplicating them everywhere. -+case "$osvers" in -+*) -+ objformat=`/usr/bin/objformat` -+ if [ x$objformat = xelf ]; then -+ libpth="/usr/lib /usr/local/lib" -+ glibpth="/usr/lib /usr/local/lib" -+ ldflags="-Wl,-E " -+ lddlflags="-shared " -+ else -+ if [ -e /usr/lib/aout ]; then -+ libpth="/usr/lib/aout /usr/local/lib /usr/lib" -+ glibpth="/usr/lib/aout /usr/local/lib /usr/lib" -+ fi -+ lddlflags='-Bshareable' -+ fi -+ cccdlflags='-DPIC -fPIC' -+ ;; -+esac -+ -+case "$osvers" in -+*) -+ ccflags="${ccflags} -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H" -+ if /usr/bin/file -L /usr/lib/libc.so | /usr/bin/grep -vq "not stripped" ; then -+ usenm=false -+ fi -+ ;; -+esac -+ -+cat <<'EOM' >&4 -+ -+Some users have reported that Configure halts when testing for -+the O_NONBLOCK symbol with a syntax error. This is apparently a -+sh error. Rerunning Configure with ksh apparently fixes the -+problem. Try -+ ksh Configure [your options] -+ -+EOM -+ -+# From: Anton Berezin <tobez@plab.ku.dk> -+# To: perl5-porters@perl.org -+# Subject: [PATCH 5.005_54] Configure - hints/freebsd.sh signal handler type -+# Date: 30 Nov 1998 19:46:24 +0100 -+# Message-ID: <864srhhvcv.fsf@lion.plab.ku.dk> -+ -+signal_t='void' -+d_voidsig='define' -+ -+# 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]*) -+ lc_r=`/sbin/ldconfig -r|grep ':-lc_r'|awk '{print $NF}'|sed -n '$p'` -+ case "$osvers" in -+ *) -+ ldflags="-pthread $ldflags" -+ # Both in 4.x and 5.x gethostbyaddr_r exists but -+ # it is "Temporary function, not threadsafe"... -+ # Presumably earlier it didn't even exist. -+ d_gethostbyaddr_r="undef" -+ d_gethostbyaddr_r_proto="0" -+ ;; -+ -+ esac -+ -+ set `echo X "$libswanted "| sed -e 's/ c / c_r /'` -+ shift -+ libswanted="$*" -+ # Configure will probably pick the wrong libc to use for nm scan. -+ # The safest quick-fix is just to not use nm at all... -+ usenm=false -+ -+ unset lc_r -+ -+ # Even with the malloc mutexes the Perl malloc does not -+ # seem to be threadsafe in FreeBSD? -+ case "$usemymalloc" in -+ '') usemymalloc=n ;; -+ esac -+esac -+EOCBU -+ -+# malloc wrap works -+case "$usemallocwrap" in -+'') usemallocwrap='define' ;; -+esac |