Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Feb 2008 18:20:56 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        amatus@gnu.org
Cc:        freebsd-gnome@freebsd.org
Subject:   Re: Question about updating guile to 1.8
Message-ID:  <1203981656.45899.60.camel@shumai.marcuscom.com>
In-Reply-To: <710148.32843.qm@web30008.mail.mud.yahoo.com>
References:  <710148.32843.qm@web30008.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-bpPT/ykO9tZg9L4wPksi
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable


On Mon, 2008-02-25 at 14:28 -0800, Amatus wrote:
> --- Joe Marcus Clarke <marcus@marcuscom.com> wrote:
>=20
> >=20
> > On Mon, 2008-02-25 at 08:38 -0800, Amatus wrote:
> > > --- Joe Marcus Clarke <marcus@marcuscom.com> wrote:
> > >=20
> > > > The way you're doing it is probably best.  The way you submitted
> > in
> > > > the
> > > > PR, while it may look correct, will most likely break INDEX when
> > > > guile
> > > > is not installed.   Try it.  Uninstall guile, then cd to
> > lang/slib,
> > > > and
> > > > run "make describe".  Use of !=3D is discouraged for commands which
> > are
> > > > not in the base system.
> > > >=20
> > > > Joe
> > >=20
> > > I uninstalled guile and make describe worked fine with some noise
> > on
> > > stderr.
> >=20
> > What output?  Any output on stderr is bad.
>=20
> The "make describe" outputs "/usr/local/bin/guile-config: not found" on
> stderr as you might expect and the exit code is 0. Since "make index"
> pipes stdout to the INDEX file everything should work fine, just some
> uglyness on the user's screen. If it's really important I can try 2>
> /dev/null in the command or maybe a test -f to see if the file exists
> first.

The bigger problem is what happens to the make describe output?  If you
are not trying to use GUILE_VERSION in other make variables, I would
skip the !=3D notation, and use the previous `...` notation as it is
safer.  If you use !=3D, and the make variables that reference
GUILE_VERSION are used to in things like *_DEPENDS, then that will
effectively break INDEX and package builds.

Joe

>=20
> >=20
> > >  I'm running into more problems with gnucash and lsh using
> > > RUN_DEPENDS. I need to .include <bsd.port.pre.mk> before the !=3D but
> > if
> > > I move it up too high in the file (before RUN_DEPENDS) then make
> > > breaks. Would it be ok to just edit the dependency to be
> > > "slib-guile>=3D3a4:${PORTSDIR}/lang/slib-guile" instead of
> > > "${LOCALBASE}/share/guile/1.6/slibcat:${PORTSDIR}/lang/slib-guile"?
> >=20
> > This is fine.  Also, there's no dishonor in hardcoding the guile
> > version.  It may look ugly, but guile's minor version hasn't changed
> > much, and it's not too hard to chase.
> >=20
> > Joe
>=20
>=20
>       ___________________________________________________________________=
_________________
> Be a better friend, newshound, and=20
> know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_y=
lt=3DAhu06i62sR8HDtDypao8Wcj9tAcJ=20
>=20
>=20
--=20
PGP Key : http://www.marcuscom.com/pgp.asc

--=-bpPT/ykO9tZg9L4wPksi
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

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

iEYEABECAAYFAkfDTVYACgkQb2iPiv4Uz4d2IwCfaOOoU4m/DaZiHxvdxDA/lJn+
7EkAnib7uKAOAnv38G2s8681azH2B+cZ
=JmaO
-----END PGP SIGNATURE-----

--=-bpPT/ykO9tZg9L4wPksi--




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