Subject: XFree86-libs dependency...
To: None <tech-pkg@NetBSD.org>
From: Juan RP <juan@xtraeme.unixbsd.org>
List: tech-pkg
Date: 01/26/2004 11:03:16
--Signature=_Mon__26_Jan_2004_11_03_16_+0100_5Lr6+_YLRSSai5vV
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Hi all,
My previous commit to x11-links didn't work for binary packages,
because x11-links is required via BUILD_DEPENDS (thanks jmmv!), I would
like to commit this change to enable the automatic dependency on
XFree86-libs:
Index: buildlink2/bsd.buildlink2.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/buildlink2/bsd.buildlink2.mk,v
retrieving revision 1.105
diff -b -u -r1.105 bsd.buildlink2.mk
--- buildlink2/bsd.buildlink2.mk 2004/01/14 06:57:45 1.105
+++ buildlink2/bsd.buildlink2.mk 2004/01/26 09:55:21
@@ -94,6 +94,11 @@
BUILD_DEPENDS+= x11-links>=0.19:../../pkgtools/x11-links
_BLNK_X11_DIR= ${LOCALBASE}/share/x11-links
. endif
+. if empty(USE_X11_LINKS:M[nN][oO] && \
+ !empty(USE_PKGSRC_XFREE86:M[Yy][Ee][Ss]) && \
+ !defined(NO_XFREE86_BLNK)
+DEPENDS+= XFree86-libs>=4.3.0:../../x11/XFree86-libs
+. endif
_BLNK_CPPFLAGS+= -I${X11BASE}/include
_BLNK_LDFLAGS+= -L${X11BASE}/lib
.if ${_USE_RPATH} == "yes"
--
I have to define NO_XFREE86_BLNK in imake and XFree86-libs to not depend on it.
What do you think, is it ok?
Cheers,
--
Juan RP <juan@xtraeme.unixbsd.org>
--Signature=_Mon__26_Jan_2004_11_03_16_+0100_5Lr6+_YLRSSai5vV
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)
iD8DBQFAFOXpypkLYVDran0RAhzTAJ4xZQe0g/fU+wX5tpzmmT23JWFKogCfbPtC
RgWUhiVRYjodGrUmXAECtfw=
=8jgB
-----END PGP SIGNATURE-----
--Signature=_Mon__26_Jan_2004_11_03_16_+0100_5Lr6+_YLRSSai5vV--