Subject: Re: Adding X11BASE/bin to the PATH when USE_IMAKE is defined.
To: Juan RP <juan@xtraeme.unixbsd.org>
From: grant beattie <grant@NetBSD.org>
List: tech-pkg
Date: 05/25/2004 10:19:30
--HjGz34yYE1BNnn/x
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, May 24, 2004 at 06:30:48PM +0200, Juan RP wrote:

> Hey all... I saw some emails about building some X11 applications, and
> if the user does not have X11BASE/bin in the PATH, imake will fail, so I
> suggest to add this directory via PREPEND_PATH when USE_IMAKE is used.
>=20
> Index: bsd.pkg.mk
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> RCS file: /cvsroot/pkgsrc/mk/bsd.pkg.mk,v
> retrieving revision 1.1462
> diff -u -r1.1462 bsd.pkg.mk
> --- bsd.pkg.mk  19 May 2004 03:26:09 -0000      1.1462
> +++ bsd.pkg.mk  24 May 2004 16:29:43 -0000
> @@ -156,6 +156,7 @@
>  .endif
> =20
>  .if defined(USE_IMAKE)
> +PREPEND_PATH+=3D         ${X11BASE}/bin
>  USE_X11BASE?=3D          implied
>  PLIST_SUBST+=3D          IMAKE_MAN_SOURCE_PATH=3D${IMAKE_MAN_SOURCE_PATH=
}  \
>                         IMAKE_MAN_DIR=3D${IMAKE_MAN_DIR}                 =
 \
>=20
> Any objection?

not at all, please do this :)

grant.


--HjGz34yYE1BNnn/x
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFAspESluYOb9yiFXoRAr/sAKCNxIj5ntW9HjA19Ay9fYSrN3HEDgCcCQh/
AVYz5epc/Ug7JyXrMCEEQnw=
=MbAR
-----END PGP SIGNATURE-----

--HjGz34yYE1BNnn/x--