Subject: Re: please test OpenWindows version of my graphics/tiff
To: Jeremy C. Reed <reed@reedmedia.net>
From: dieter <dieter.NetBSD@pandora.be>
List: tech-pkg
Date: 12/31/2003 14:05:30
On Tue, 30 Dec 2003, Jeremy C. Reed wrote:

> I have an even newer package of graphics/tiff. Please extract and try
>
> http://www.reedmedia.net/misc/netbsd/packages/tiff-3.6.1-for-pkgsrc.tar.gz
> (20497 bytes)

Extracting fails because:
gzcat: /export/home/pkgsrc/distfiles/tiff-3.6.1/TIFFTechNote2.html: not in
gzip format

> I need someone to test the .if !empty(X11BASE:M*openwin)  functionality
> for INSTALL.OpenWindows.

Install works, deinstall almost does.
[ -f libtiff.so.openwin ] fails because it points to ./libtiff.so.3 which
is already removed by the deinstall.

After install:
		/usr/openwin/lib/libtiff.so -> /usr/pkg/lib/libtiff.so
		/usr/openwin/lib/libtiff.so.3 -> /usr/pkg/lib/libtiff.so.3
		/usr/openwin/lib/libtiff.so.3.openwin
		/usr/openwin/lib/libtiff.so.openwin -> ./libtiff.so.3

After deinstall:
		/usr/openwin/lib/libtiff.so -> /usr/pkg/lib/libtiff.so
		/usr/openwin/lib/libtiff.so.3
		/usr/openwin/lib/libtiff.so.openwin -> ./libtiff.so.3

I got the right result by defining LIBTIFF as "libtiff.so.3 libtiff.so"
(instead of the other way around) and changing PRE-INSTALL to
POST-INSTALL but there might be better solutions...


kind regards,
dieter

-- 

	There is virtue in doing the right thing just for
	the sake of doing it right.  -- Nicholas Petreley