Subject: Re: more pkgsrc brokenness: X11 handling
To: Hubert Feyrer <hubertf@netbsd.org>
From: Juan RP <juan@xtraeme.unixbsd.org>
List: tech-pkg
Date: 04/24/2004 00:40:21
--Signature=_Sat__24_Apr_2004_00_40_21_+0200_tt=ORo+fZzd4aOad
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

On Fri, 23 Apr 2004 22:37:08 +0000 (UTC)
Hubert Feyrer <hubertf@netbsd.org> wrote:

> I have mk/buildlink3/bsd.builtin.mk but didn't copy over x11-links.
> Would be nice if the error message could be a bit more specific on what's
> missing. :/

As you can see here, the error message is shown when x11-links/buildlink3.mk
doesn't exists (this is x11-links because by default is X11_TYPE=native):

Quoted from mk/buildlink3/bsd.buildlink3.mk:

# Check whether we should include the X11 buildlink3.mk file here since
# USE_X11 may have been set indirectly by bsd.builtin.mk.
#
.if defined(USE_X11)
X11_TYPE?=              native
X11_PKGSRCDIR.native=   ../../pkgtools/x11-links
X11_PKGSRCDIR.XFree86=  ../../x11/XFree86-libs
X11_PKGSRCDIR.xlibs=    ../../x11/xlibs
.  if exists(${X11_PKGSRCDIR.${X11_TYPE}}/buildlink3.mk)
.    include "${X11_PKGSRCDIR.${X11_TYPE}}/buildlink3.mk"
.    if exists(${X11_PKGSRCDIR.${X11_TYPE}}/builtin.mk)
.      include "${X11_PKGSRCDIR.${X11_TYPE}}/builtin.mk"
.    endif
.  else
PKG_FAIL_REASON+=       \
        "${PKGNAME} uses X11, but \"${X11_TYPE}\" isn't a valid X11 type."
.  endif
.endif

>  - Hubert

-- 
	Juan RP <juan@xtraeme.unixbsd.org>

--Signature=_Sat__24_Apr_2004_00_40_21_+0200_tt=ORo+fZzd4aOad
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFAiZtVypkLYVDran0RAuuMAJ4sySvKsFq322frgd6UXCX8DZwWtACghrbE
ZpQO4tUqigVFfaCSQZKnSjE=
=cYzp
-----END PGP SIGNATURE-----

--Signature=_Sat__24_Apr_2004_00_40_21_+0200_tt=ORo+fZzd4aOad--