Subject: mail/metamail+{XFree86,xorg} from pkgsrc =>
To: None <tech-pkg@netbsd.org>
From: Juan RP <juan@xtraeme.nopcode.org>
List: tech-pkg
Date: 12/28/2004 18:24:19
--Signature=_Tue__28_Dec_2004_18_24_19_+0100_stEejyZGO8FGWX2s
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Hi folks,
Currently I'm building a bulk build of pkgsrc HEAD with xorg from pkgsrc for
NetBSD/i386 2.0, but I saw that mail/metamail failed to install because it needs
bdftopcf and some other commands that are installed by the
{xorg,XFree86}-clients packages.
What do you think about adding this little Makefile fragment? including this
Makefile in the affected packages should make them build/install properly, and
this does not affect systems without xorg/XFree86 from pkgsrc.
I might be using BULK_PREREQ+=x11/xorg-clients, but I think this way is safer,
because less packages will be built by default in the bulk build.
Thanks.
# $NetBSD$
#
# This Makefile fragment is meant to be used for packages requiring
# X11 applications like bdftopcf and so on, this Makefile is useless
# if you are using the X11 distribution that comes with your system,
# but it's useful if you use xorg or XFree86 from pkgsrc.
#
# For example mail/metamail fails to install properly when using xorg
# or XFree86 from pkgsrc, because {XFree86,xorg}-clients is not installed.
.if !defined(X11CLIENTS_BUILDLINK3_MK)
X11CLIENTS_BUILDLINK3_MK= # defined
.include "../../mk/bsd.prefs.mk"
X11CLIENTS_DEPENDENCY?= build
XORG_DISTVER?= 6.8.1
XFREE86_DISTVER?= 4.4.0
.if !empty(X11CLIENTS_DEPENDENCY:Mbuild)
. if !empty(X11_TYPE:Mxorg)
BUILD_DEPENDS+= \
xorg-clients>=${XORG_DISTVER}:../../x11/xorg-clients
. elif !empty(X11_TYPE:MXFree86)
BUILD_DEPENDS+= \
XFree86-clients>=${XFREE86_DISTVER}:../../x11/XFree86-clients
. endif
.endif
.if !empty(X11CLIENTS_DEPENDENCY:Mfull)
. if !empty(X11_TYPE:Mxorg)
DEPENDS+= \
xorg-clients>=${XORG_DISTVER}:../../x11/xorg-clients
. elif !empty(X11_TYPE:MXFree86)
DEPENDS+= \
XFree86-clients>=${XFREE86_DISTVER}:../../x11/XFree86-clients
. endif
.endif
.endif # X11CLIENTS_BUILDLINK3_MK
--Signature=_Tue__28_Dec_2004_18_24_19_+0100_stEejyZGO8FGWX2s
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)
iD8DBQFB0ZbGypkLYVDran0RAhU6AJ9ezY7m9er6Z/ERl1Zl2A7A6DFGsQCgu7GV
v0rCvfUlf1viIrU4Cv/CiNM=
=k8rl
-----END PGP SIGNATURE-----
--Signature=_Tue__28_Dec_2004_18_24_19_+0100_stEejyZGO8FGWX2s--