pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/40410 (perl 5.10 nb4)



>----- Oorspronkelijk bericht -----
>Van
: obache%NetBSD.org@localhost [mailto:obache%NetBSD.org@localhost]
>Verzonden
: vrijdag
, januari
 16, 2009 05:31 AM
>Aan
: solaris-pkg-people%NetBSD.org@localhost, pkg-manager%netbsd.org@localhost, 
>pkgsrc-bugs%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, 
>obache%NetBSD.org@localhost, 
>mvergall%telenet.be@localhost
>Onderwerp
: Re: pkg/40410 (perl 5.10 nb4)
>
>Synopsis: perl 5.10 nb4
>
>Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
>Responsible-Changed-By: obache%NetBSD.org@localhost
>Responsible-Changed-When: Fri, 16 Jan 2009 04:31:03 +0000
>Responsible-Changed-Why:
>Issue on Solaris.  It came from getconf?


thanks... fix is simple ones you know where it came from ... here is the 
proposed patch :

--- hints/solaris_2.sh.orig     Fri Jan 16 06:28:36 2009
+++ hints/solaris_2.sh  Fri Jan 16 06:40:17 2009
@@ -571,9 +571,9 @@
                lddlflags="$lddlflags -G -m64"
                ;;
            *)
-               ccflags="$ccflags `getconf XBS5_LP64_OFF64_CFLAGS 2>/dev/null`"
-               ldflags="$ldflags `getconf XBS5_LP64_OFF64_LDFLAGS 2>/dev/null`"
-               lddlflags="$lddlflags -G `getconf XBS5_LP64_OFF64_LDFLAGS 
2>/dev/null`"
+               ccflags="$ccflags `echo -m64`"
+               ldflags="$ldflags `echo -m64`"
+               lddlflags="$lddlflags -G `echo -m64`"
                echo "int main() { return(0); } " > try.c
                tryworkshopcc="${cc:-cc} try.c -o try $ccflags"
                if test "$processor" = sparc; then


This fixes this problem.

Michael




Home | Main Index | Thread Index | Old Index