Subject: scrollkeeper configure runs native xml2-config instead of pkg version
To: None <tech-pkg@NetBSD.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 12/16/2004 15:16:58
I was getting various libxml2 include errors when building scrollkeeper.
Then I noticed it was using libxml2 includes from /usr/include instead of
my /usr/pkg. (This was under Mac OS X.)
It ran the /usr/bin/xml2-config instead of my
${LOCALBASE}/bin/xml2-config.
The following worked for me in textproc/libxml2/buildlink3.mk:
BUILDLINK_RECOMMENDED.libxml2+= libxml2>=2.6.15
BUILDLINK_PKGSRCDIR.libxml2?= ../../textproc/libxml2
+
+BUILDLINK_FILES.libxml2+= bin/xml2-config
.endif # LIBXML2_BUILDLINK3_MK
May I commit it?
Jeremy C. Reed
BSD News, BSD tutorials, BSD links
http://www.bsdnewsletter.com/