Subject: Re: problem with imake wrapper
To: Georg Schwarz <georg.schwarz@freenet.de>
From: Jan Schaumann <jschauma@netmeister.org>
List: tech-pkg
Date: 10/08/2005 18:04:57
--opJtzjQTFsWo+cga
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Georg Schwarz <georg.schwarz@freenet.de> wrote:
> The problem seems to be in mk/tools/replace.mk.
> The following patch does the trick for me:
>=20
> --- mk/tools/replace.mk.orig    Sun Oct  2 09:36:07 2005
> +++ mk/tools/replace.mk Sun Oct  2 09:42:00 2005
> @@ -691,7 +691,10 @@
>  TOOLS_DEPENDS.imake?=3D          xorg-imake>=3D6.8:../../x11/xorg-imake
>  TOOLS_FIND_PREFIX+=3D            TOOLS_PREFIX.imake=3Dxorg-imake
>  TOOLS_PATH.imake=3D              ${TOOLS_PREFIX.imake}/${X11ROOT_PREFIX}=
/bin/imake
> -.    else # !empty(X11_TYPE:Mnative)
> +# !empty(X11_TYPE:Mnative)
> +.    elif defined(IMAKE)
> +TOOLS_PATH.imake=3D              ${IMAKE}
> +.    else
>  TOOLS_PATH.imake=3D              ${X11BASE}/bin/imake
>  .    endif
>  .  endif
>=20
> What do you think?

This, in addition with Jaromir's suggestion, sounds like the right thing
to me.  Could you commit both?

-Jan

--=20
http://www.netbsd.org -
         Multiarchitecture OS, no hype required.

--opJtzjQTFsWo+cga
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFDSEKIfFtkr68iakwRAopSAKCKbpXuxpr+jNVT6Owz7oPr+aad6ACgvIDQ
im2+JkfqQdjLQNXPRZuBxwc=
=DvUS
-----END PGP SIGNATURE-----

--opJtzjQTFsWo+cga--