pkgsrc-Bugs archive

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

Re: pkg/37771: Ruby modules cannot be compiled on Solaris w/ PKGSRC_COMPILER=sunpro



The following reply was made to PR pkg/37771; it has been noted by GNATS.

From: Takahiro Kambe <taca%back-street.net@localhost>
To: gnats-bugs%NetBSD.org@localhost, naoto%morishima.net@localhost
Cc: 
Subject: Re: pkg/37771: Ruby modules cannot be compiled on Solaris w/
 PKGSRC_COMPILER=sunpro
Date: Thu, 17 Jan 2008 07:32:10 +0900 (JST)

 In message <20080116171500.BFA0163BE3F%narn.NetBSD.org@localhost>
        on Wed, 16 Jan 2008 17:15:00 +0000 (UTC),
        naoto%morishima.net@localhost wrote:
 > The following patch will fix this problem.
 > 
 > Index: Makefile
 > ===================================================================
 > RCS file: /cvsroot/pkgsrc/lang/ruby18-base/Makefile,v
 > retrieving revision 1.40
 > diff -u -r1.40 Makefile
 > --- Makefile    4 Jan 2008 15:42:34 -0000       1.40
 > +++ Makefile    16 Jan 2008 17:09:03 -0000
 > @@ -35,7 +35,7 @@
 >  .if !empty(PKGSRC_COMPILER:Msunpro)
 >  LIBS.SunOS+=   -B static -lsunmath -B dynamic -lm
 >  LDFLAGS.SunOS+=        -L${SUNWSPROBASE}/lib -Wl,-R${SUNWSPROBASE}/lib
 > -MAKE_FLAGS+=   LDSHARED="${CC} -G"
 > +CONFIGURE_ENV+=        LDSHARED="${CC} -G"
 >  .else
 >  LIBS.SunOS+=   -lm
 >  .endif
 Thanks for your patch.  Would you please these setting in Makefile
 into Ruby's configure script?  Then it could be feed back easier.
 
 Best regards.
 
 -- 
 Takahiro Kambe <taca%back-street.net@localhost>
 



Home | Main Index | Thread Index | Old Index