pkgsrc-Changes archive

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

Re: CVS commit: pkgsrc/mk/compiler



Hi,

From: Ryo ONODERA <ryo_on%yk.rim.or.jp@localhost>, Date: Mon, 17 Sep 2012 
09:11:48 +0900 (JST)

> Hi,
> 
> From: "Jonathan Perkin" <jperkin%NetBSD.org@localhost>, Date: Sun, 16 Sep 
> 2012 12:18:31 +0000
> 
>> Module Name: pkgsrc
>> Committed By:        jperkin
>> Date:                Sun Sep 16 12:18:31 UTC 2012
>> 
>> Modified Files:
>>      pkgsrc/mk/compiler: gcc.mk
>> 
>> Log Message:
>> Document USE_PKGSRC_GCC_RUNTIME and provide a default setting.
>> 
>> Introduce USE_GCC_RUNTIME for packages which build shared libraries, but
>> do not use libtool to do so, and add logic to always define _USE_GCC_SHLIB
>> on Solaris if either USE_LIBTOOL or USE_GCC_RUNTIME are defined.  On Solaris,
>> a non-GNU linker is always used, so this correctly adds a dependency upon the
>> gcc runtime for those packages.
>> 
>> 
>> To generate a diff of this commit:
>> cvs rdiff -u -r1.127 -r1.128 pkgsrc/mk/compiler/gcc.mk
>> 
>> Please note that diffs are not public domain; they are subject to the
>> copyright notices on the relevant files.
> 
> I have updated pkgsrc cvs tree after this commit.
> And I have gotten the following error on NetBSD/i386 5.1.
> On NetBSD/amd64 current, there is no error.
> 
> I have these errors with pkgsrc/www/apache-tomcat6,
> pkgsrc/www/apache-tomcat7, and pkgsrc/www/aipo at least.
> 
> potassium$ cd /usr/pkgsrc/www/apache-tomcat7/
> potassium$ make
> make: "../../mk/compiler/../../mk/compiler/gcc.mk" line 761: Malformed 
> conditional (!empty(_USE_GCC_SHLIB:M[Yy][Ee][Ss]) && 
> !empty(USE_PKGSRC_GCC_RUNTIME:M[Yy][Ee][Ss]))
> make: Fatal errors encountered -- cannot continue
> 
> make: stopped in /usr/pkgsrc/www/apache-tomcat7
> potassium$ uname -a
> NetBSD potassium.elements.tetera.org 5.1 NetBSD 5.1 (GENERIC) #0: Sun Nov  7 
> 14:39:56 UTC 2010  
> builds%b6.netbsd.org@localhost:/home/builds/ab/netbsd-5-1-RELEASE/i386/201011061943Z-obj/home/builds/ab/netbsd-5-1-RELEASE/src/sys/arch/i386/compile/GENERIC
>  i386

It seems that obache@'s 1.129 of mk/compiler/gcc.mk solves this problem.
Thank you, very much.

--
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