OpenPKG CVS Repository
  http://www.openpkg.org/cvsweb/cvsweb.cgi
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Thomas Lotterer
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   26-Aug-2002 17:05:11
  Branch: HEAD                             Handle: 2002082616051100

  Modified files:
    openpkg-src/perl        perl.patch

  Log:
    fix ldflags on FreeBSD

  Summary:
    Revision    Changes     Path
    1.3         +17 -0      openpkg-src/perl/perl.patch
  ____________________________________________________________________________

  Index: openpkg-src/perl/perl.patch
  ============================================================
  $ cvs diff -u -r1.2 -r1.3 perl.patch
  --- openpkg-src/perl/perl.patch       5 Jun 2002 14:54:08 -0000       1.2
  +++ openpkg-src/perl/perl.patch       26 Aug 2002 15:05:11 -0000      1.3
  @@ -18,6 +18,7 @@
            -e '/^#.*"-"/d' \
            -e 's#\.[0-9][0-9]*\.c#'"$file.c#" \
            -e 's/^[     ]*#[    ]*line/#/' \
  +
   --- hints/dec_osf.sh.orig    Fri Feb 23 03:57:55 2001
   +++ hints/dec_osf.sh Wed Jun  5 16:34:54 2002
   @@ -65,7 +65,7 @@
  @@ -29,3 +30,19 @@
        set $_gcc_version
        if test "$1" -lt 2 -o \( "$1" -eq 2 -a \( "$2" -lt 95 -o \( "$2" -eq 95 -a 
"$3" -lt 2 \) \) \); then
            cat >&4 <<EOF
  +--- hints/freebsd.sh.orig    2002-08-26 16:57:58.000000000 +0200
  ++++ hints/freebsd.sh 2002-08-26 16:58:44.000000000 +0200
  +@@ -104,9 +104,10 @@
  + *)
  +         objformat=`/usr/bin/objformat`
  +         if [ x$objformat = xelf ]; then
  +-            libpth="/usr/lib /usr/local/lib"
  +-            glibpth="/usr/lib /usr/local/lib"
  +-            ldflags="-Wl,-E "
  ++            libpth=${libpth:-/usr/lib /usr/local/lib}
  ++            glibpth=${glibpth:-/usr/lib /usr/local/lib}
  ++            ldflags=`echo $ldflags | sed -e "s;.*\(-L[ ]*[^ ][^ ]*\).*;\1;"`
  ++            ldflags="-Wl,-E $ldflags"
  +             lddlflags="-shared "
  +         else
  +             if [ -e /usr/lib/aout ]; then
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to