Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Dec 2006 13:44:57 -0300
From:      Alejandro Pulver <alepulver@FreeBSD.org>
To:        Erwin Lansing <erwin@FreeBSD.org>
Cc:        cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org
Subject:   Re: cvs commit: ports/Mk bsd.wx.mk
Message-ID:  <20061231134457.57f35c07@phobos.mars.bsd>
In-Reply-To: <20061231114135.GZ16049@droso.net>
References:  <200612310434.kBV4YRXS037540@repoman.freebsd.org> <20061231114135.GZ16049@droso.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_CFWR.bXShgB9zIBJ5BeE=24
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Sun, 31 Dec 2006 12:41:35 +0100
Erwin Lansing <erwin@FreeBSD.org> wrote:

> On Sun, Dec 31, 2006 at 04:34:27AM +0000, Alejandro Pulver wrote:
> > alepulver    2006-12-31 04:34:27 UTC
> >=20
> >   FreeBSD ports repository
> >=20
> >   Modified files:
> >     Mk                   bsd.wx.mk=20
> >   Log:
> [snip]
> >   - Remove _WX_ILLEGAL_VERS_* added in the last update to 2.8. The reas=
on is
> >     that each port should choose the version it can use, that includes =
taking
> >     into account available components (also this brings much more chick=
en and
> >     egg problems so the code could get really messy).
>=20
> This broke INDEX as there is no x11-toolkits/py-wxPython28 port and this
> is now detected.
>=20
> erwin@bamse:audio/py-karaoke> make -V _WX_VER_MERGED
>  2.4 2.6 2.8
> erwin@bamse:audio/py-karaoke> make -V _WX_VER
> 2.8
> erwin@bamse:audio/py-karaoke> make -V _WX_FILE_python_2.4
> /usr/local/lib/python2.4/site-packages/wx/__init__.py
> erwin@bamse:audio/py-karaoke> make -V _WX_FILE_python_2.8
>=20
> erwin@bamse:audio/py-karaoke>=20
>=20
> Can you please add the python 2.8 bits or revert this part of the
> commit?
>=20

Hello.

It was intentionally done. Below the following handles it:

.if !defined(_WX_PORT_${_WX_COMP}_${_WX_VER})
IGNORE?=3D				selected a WxWidgets component (${_WX_COMP}) which is not ava=
ilable for the selected version (${_WX_VER})
.endif

The problem is that the dependency is added anyways (it does define
IGNORE though), but that can be easily fixed:

-.if ${_WX_COMPS_FINAL:M${newcomp}} =3D=3D ""
+.if ${_WX_COMPS_FINAL:M${newcomp}} =3D=3D "" && !defined(IGNORE)
 _WX_COMPS_FINAL+=3D		${newcomp}
 .endif

Best Regards,
Ale

--Sig_CFWR.bXShgB9zIBJ5BeE=24
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQFFl+kQiV05EpRcP2ERAkp6AKCMecUKGZU1q1/yL/f1gvM145OqYgCgwqQZ
DHqq7PHVYVqvMdZfU/GEB7I=
=w0pg
-----END PGP SIGNATURE-----

--Sig_CFWR.bXShgB9zIBJ5BeE=24--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061231134457.57f35c07>