Subject: Re: CVS commit: pkgsrc/graphics/tiff
To: Dieter Baron <dillo@danbala.ifoer.tuwien.ac.at>
From: Johnny C. Lam <jlam@NetBSD.org>
List: pkgsrc-changes
Date: 01/09/2005 23:09:54
On Sun, Jan 09, 2005 at 11:26:04PM +0100, Dieter Baron wrote:
> In article <20050109213441.EC8A72DA1D@cvs.netbsd.org> Johnny wrote:
> 
> : Module Name:    pkgsrc
> : Committed By:   jlam
> : Date:           Sun Jan  9 21:34:41 UTC 2005
> 
> : Modified Files:
> :         pkgsrc/graphics/tiff: Makefile
> 
> : Log Message:
> : Note that this package requires C++.  Also, convert to use the
> : bsd.options.mk framework.  The USE_GIF option is now called "lzw" and
> : is enabled by default.
> 
> Passing --enable-c++ to configure results in the following error message:
> 
> 	configure: error: invalid feature name: c++  

Whoops, that wasn't meant to be part of the commit.  I've removed that
option now.

> Also, would this (still) make libtiff.so a C++ library?  If so, I
> would prefer this to be an option or a separate pacakge.

libtiff.so is still currently a C++ library, but I've sent some patches
to tech-pkg@ to create a separate libtiffcxx.so library for use by C++
applications.  It's meant to be used directly in place of libtiff.so,
i.e. instead of linking against -ltiff, you link against -ltiffcxx.
It also leaves libtiff.so as a plain C-linkage library again.

Please check the thread "tiff shouldn't require C++" on tech-pkg@.

	Cheers,

	-- Johnny Lam <jlam@NetBSD.org>