ports/54485: [Patch] x11/xstroke Makefile error
Matthew Seaman
m.seaman at infracaninophile.co.uk
Mon Jul 14 22:10:16 UTC 2003
The following reply was made to PR ports/54485; it has been noted by GNATS.
From: Matthew Seaman <m.seaman at infracaninophile.co.uk>
To: FreeBSD-gnats-submit at freebsd.org
Cc:
Subject: Re: ports/54485: [Patch] x11/xstroke Makefile error
Date: Mon, 14 Jul 2003 23:04:15 +0100
--IS0zKkzwUGydFO0o
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Mon, Jul 14, 2003 at 10:25:57PM +0100, Matthew Seaman wrote:
>=20
> The last update to the x11/xstroke port Makefile has resulted in a
> broken system that goes into an infinite loop attempting to generate
> the value of the GETOPTDIR variable by:
>=20
> GETOPTDIR!=3D cd ${PORTSDIR}/devel/libgnugetopt; make -V WRKSRC
>=20
> The command depends on the value of ${PORTSDIR}, but that appears to
> be null at the crucial time, so make -V WRKSRC gets run again in the
> same directory. Etc. Ad nauseam.
>=20
> Note this kills rebuilding INDEX and so affects rather more people
> than just the people with x11/xstroke installed.
On second thoughts, this patch is better:
--- Makefile.bak Mon Jul 14 22:03:51 2003
+++ Makefile Mon Jul 14 22:58:10 2003
@@ -24,7 +24,7 @@
CPPFLAGS=3D -I${LOCALBASE}/include
LDFLAGS=3D -L${LOCALBASE}/lib ${PTHREAD_LIBS}
MAKE_ENV+=3D CPPFLAGS=3D"${CPPFLAGS}" LDFLAGS=3D"${LDFLAGS}"
-GETOPTDIR!=3D cd ${PORTSDIR}/devel/libgnugetopt; make -V WRKSRC
+GETOPTDIR!=3D cd ${.CURDIR}/../../devel/libgnugetopt && make -V WRKSRC
=20
MAN1=3D xstroke.1
=20
Cheers,
Matthew
--=20
Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks
Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614 Bucks., SL7 1TH UK
--IS0zKkzwUGydFO0o
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)
iD8DBQE/EyjfdtESqEQa7a0RAoIfAJ4164zBGTM1vgiTC5taDwHNB0MINACdH+oZ
ecWR2KU7RvSKNj+6RQdhJ5E=
=ii0Y
-----END PGP SIGNATURE-----
--IS0zKkzwUGydFO0o--
More information about the freebsd-ports-bugs
mailing list