Subject: Adding X11BASE/bin to the PATH when USE_IMAKE is defined.
To: None <tech-pkg@netbsd.org>
From: Juan RP <juan@xtraeme.unixbsd.org>
List: tech-pkg
Date: 05/24/2004 18:30:48
--Signature=_Mon__24_May_2004_18_30_48_+0200_yMwO9h404H9xrFCu
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
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.
Index: bsd.pkg.mk
===================================================================
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
.if defined(USE_IMAKE)
+PREPEND_PATH+= ${X11BASE}/bin
USE_X11BASE?= implied
PLIST_SUBST+= IMAKE_MAN_SOURCE_PATH=${IMAKE_MAN_SOURCE_PATH} \
IMAKE_MAN_DIR=${IMAKE_MAN_DIR} \
Any objection?
--
Juan RP <juan@xtraeme.unixbsd.org>
--Signature=_Mon__24_May_2004_18_30_48_+0200_yMwO9h404H9xrFCu
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)
iD8DBQFAsiM4ypkLYVDran0RAkO/AKCLQNnE82JzaB5OOk/FF4QEfl8IVQCgztkM
Ylaff5ATDQMhLEpprxu8utU=
=83oD
-----END PGP SIGNATURE-----
--Signature=_Mon__24_May_2004_18_30_48_+0200_yMwO9h404H9xrFCu--