pkgsrc-Bugs archive

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

Re: pkg/45934: graphics/libwebp on Solaris/i86



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

From: Ryo ONODERA <ryo_on%yk.rim.or.jp@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/45934: graphics/libwebp on Solaris/i86
Date: Mon, 13 Feb 2012 19:33:11 +0900 (JST)

 This problem seems as same as PR pkg/42865.
 
 Please try the following patch.
 I have tested on Solaris 10/i386 with lang/gcc34.
 (With native gcc, /usr/sfw/bin/gcc, gcc 3.4.3, this patch is not needed.)
 
 Index: Makefile
 ===================================================================
 RCS file: /cvsroot/pkgsrc/graphics/libwebp/Makefile,v
 retrieving revision 1.1.1.1
 diff -u -r1.1.1.1 Makefile
 --- Makefile   28 Oct 2011 13:48:00 -0000      1.1.1.1
 +++ Makefile   13 Feb 2012 10:29:46 -0000
 @@ -15,6 +15,12 @@
  GNU_CONFIGURE=        yes
  USE_LIBTOOL=  yes
  
 +.include "../../mk/compiler.mk"
 +# fix PR pkg/45934
 +.if !empty(MACHINE_PLATFORM:MSunOS-*-i386) && !empty(CC_VERSION:Mgcc-[23]*)
 +CPPFLAGS += -D__pic__
 +.endif
 +
  PKGCONFIG_OVERRIDE+=  src/libwebp.pc.in
  
  .include "../../graphics/png/buildlink3.mk"
 
 --
 Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
 PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3
 
 


Home | Main Index | Thread Index | Old Index