head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.12 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.10 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.8 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.6 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.4.0.4 pkgsrc-2009Q4-base:1.4 pkgsrc-2008Q4:1.4.0.2 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.3.0.28 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.26 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.24 pkgsrc-2008Q2-base:1.3 cwrapper:1.3.0.22 pkgsrc-2008Q1:1.3.0.20 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.18 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.16 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.14 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.12 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.10 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.8 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.6 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.4 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.2 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.1.0.2 pkgsrc-2005Q3-base:1.1; locks; strict; comment @# @; 1.4 date 2008.10.11.19.36.11; author tron; state dead; branches; next 1.3; 1.3 date 2005.10.10.17.11.32; author joerg; state Exp; branches; next 1.2; 1.2 date 2005.10.10.17.07.36; author joerg; state Exp; branches; next 1.1; 1.1 date 2005.06.24.06.43.47; author jlam; state Exp; branches; next ; desc @@ 1.4 log @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). @ text @$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 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 +# 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 @ 1.3 log @Nuke last chunk of patch, it got appended by configure. @ text @d1 1 a1 1 $NetBSD: patch-cj,v 1.2 2005/10/10 17:07:36 joerg Exp $ @ 1.2 log @Just use -pthread on DragonFly for thread linkage. @ text @d1 1 a1 1 $NetBSD: patch-cj,v 1.1 2005/06/24 06:43:47 jlam Exp $ d5 1 a5 1 @@@@ -0,0 +1,116 @@@@ a110 11 + +cat > UU/pkgsrc.cbu <<'EOCBU' +# This script UU/pkgsrc.cbu will get 'called-back' by Configure to set +# linker options after all other call-back scripts have been invoked. +ldflags=" -Wl,-R/usr/pkg/lib -pthread $ldflags" +lddlflags=" -Wl,-R/usr/pkg/lib -pthread $lddlflags" +EOCBU + +# Set pkgsrc defaults for library and header search paths. +locincpth="/usr/pkg/include" +loclibpth="/usr/pkg/lib" @ 1.1 log @Drop the perl-5.6.x package from pkgsrc. Remove lang/perl58 and update lang/perl5 to perl-5.8.6nb4. Modify packages that referred to lang/perl58 to point to lang/perl5 instead. @ text @d1 1 a1 1 $NetBSD: patch-cj,v 1.1 2005/01/18 00:56:44 jlam Exp $ d5 1 a5 1 @@@@ -0,0 +1,118 @@@@ d80 1 a80 14 + if [ ! -r "$lc_r" ]; then + cat <&4 +POSIX threads should be supported by FreeBSD $osvers -- +but your system is missing the shared libc_r. +(/sbin/ldconfig -r doesn't find any). + +Consider using the latest STABLE release. +EOM + exit 1 + fi + case "$osvers" in + *) ldflags="-pthread $ldflags" + ;; + esac d111 11 @