Skip site navigation (1)Skip section navigation (2)
Date:      08 Mar 2003 20:02:54 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        Murray Stokely <murray@FreeBSD.ORG>, portmgr@FreeBSD.ORG, FreeBSD GNOME Users <gnome@FreeBSD.ORG>, re@FreeBSD.ORG
Subject:   Re: GNOME 2.2 or GNOME 1.4 on 4.8 CDs?
Message-ID:  <1047171773.328.77.camel@shumai.marcuscom.com>
In-Reply-To: <20030309002936.GA63061@rot13.obsecurity.org>
References:  <20030302190211.Z57064@freebsdmall.com> <1047146177.96334.4.camel@shumai.marcuscom.com> <20030308212650.GD56020@rot13.obsecurity.org> <1047165939.328.58.camel@shumai.marcuscom.com> <20030309002936.GA63061@rot13.obsecurity.org>

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

--=-WWlsFoqEWHE0MhmbF+al
Content-Type: multipart/mixed; boundary="=-dFuocr1iE8DaH0g/fWCq"


--=-dFuocr1iE8DaH0g/fWCq
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sat, 2003-03-08 at 19:29, Kris Kennaway wrote:
> On Sat, Mar 08, 2003 at 06:25:39PM -0500, Joe Marcus Clarke wrote:
>=20
> > Okay, I played at this, and found that it will only happen when symlink=
s
> > are involved.
>=20
> Hmm.  That's very strange.  Do you have any insight into why this is
> happening?

Okay, headache is going away.  This problem is caused by the grep of the
$$checked variable in PACKAGE_DEPENDS_LIST requiring a FQ path match.=20
If you strip out the start of the path component so that you just look
at the category and the port name, this problem goes away.  The attached
patch corrects the problem, but it was written on the cusp of a
splitting headache, so you might want to beat it around a bit.

Joe

>=20
> Thanks for the workaround!
>=20
> kris
--=20
PGP Key : http://www.marcuscom.com/pgp.asc

--=-dFuocr1iE8DaH0g/fWCq
Content-Disposition: attachment; filename=bsd.port.mk.diff
Content-Transfer-Encoding: quoted-printable
Content-Type: text/x-patch; name=bsd.port.mk.diff; charset=ISO-8859-1

Index: bsd.port.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: /home/pcvs/ports/Mk/bsd.port.mk,v
retrieving revision 1.441
diff -u -r1.441 bsd.port.mk
--- bsd.port.mk	2 Mar 2003 02:06:56 -0000	1.441
+++ bsd.port.mk	9 Mar 2003 00:58:53 -0000
@@ -3716,7 +3716,7 @@
 	checked=3D"${PARENT_CHECKED}"; \
 	for dir in $$(${ECHO_CMD} "${LIB_DEPENDS} ${RUN_DEPENDS}" | ${TR} '\040' =
'\012' | ${SED} -e 's/^[^:]*://' -e 's/:.*//') $$(${ECHO_CMD} ${DEPENDS} | =
${TR} '\040' '\012' | ${SED} -e 's/:.*//'); do \
 		if [ -d $$dir ]; then \
-			if (${ECHO_CMD} $$checked | ${GREP} -qwv "$$dir"); then \
+			if (${ECHO_CMD} $$checked | ${EGREP} -qv "`${ECHO_CMD} $$dir | ${SED} -=
E -e 's|.*/([^/]+/.+)$$|\1|'`\b"); then \
 				childout=3D$$(cd $$dir; ${MAKE} CHILD_DEPENDS=3Dyes PARENT_CHECKED=3D"=
$$checked" package-depends-list); \
 				set -- $$childout; \
 				childdir=3D""; \

--=-dFuocr1iE8DaH0g/fWCq--

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

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

iD8DBQA+apK9b2iPiv4Uz4cRAqH+AJ9YrokAJbbfSuA6EGjWVlXsMdHlygCfQn5J
EV/9h81K5JTYH17ASdwvGNE=
=uQRi
-----END PGP SIGNATURE-----

--=-WWlsFoqEWHE0MhmbF+al--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




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