Subject: BUILDLINK_DEPENDS.expat
To: None <drochner@NetBSD.org, pkgsrc-users@NetBSD.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: pkgsrc-users
Date: 03/22/2006 12:36:57
May I commit the following patch?

I had updated expat because I had built it long ago on a NetBSD 1.6 system 
with old gcc 2 (because of problems with missing libraries and boehm-gc). 
But then that broke various programs on my system, since they assumed 
different major number in the SONAME. (I do not know what parts of the ABI 
changed; in fact, I am using a manual symlink /usr/pkg/lib/libexpat.so.0 
-> /usr/pkg/lib/libexpat.so.1 for now.)

I use IGNORE_RECOMMENDED=yes.

This fix should not change any bulk builds (since they do not use 
IGNORE_RECOMMENDED=yes by default), but I can wait until after freeze if 
needed.

diff -b -u -r1.15 buildlink3.mk
--- textproc/expat/buildlink3.mk	5 Feb 2006 23:11:01 -0000	
1.15
+++ textproc/expat/buildlink3.mk	22 Mar 2006 20:28:08 -0000
@@ -11,7 +11,7 @@
 BUILDLINK_PACKAGES+=	expat
 
 .if !empty(EXPAT_BUILDLINK3_MK:M+)
-BUILDLINK_DEPENDS.expat+=	expat>=1.95.7
+BUILDLINK_DEPENDS.expat+=	expat>=2.0.0
 BUILDLINK_RECOMMENDED.expat+=	expat>=2.0.0nb1
 BUILDLINK_PKGSRCDIR.expat?=	../../textproc/expat
 .endif	# EXPAT_BUILDLINK3_MK



 Jeremy C. Reed

echo '9,J8HD,fDGG8B@?:536FC5=8@I;C5?@H5B0D@5GBIELD54DL>@8L?:5GDEJ8LDG1' |\
sed ss,s50EBsg | tr 0-M 'p.wBt SgiIlxmLhan:o,erDsduv/cyP'