Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Oct 2001 23:20:01 -0700 (PDT)
From:      Peter Pentchev <roam@ringlet.net>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/31465: nasty loop in ports/print/ft2demos
Message-ID:  <200110240620.f9O6K1g97877@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/31465; it has been noted by GNATS.

From: Peter Pentchev <roam@ringlet.net>
To: chkno@dork.com
Cc: FreeBSD-gnats-submit@freebsd.org,
	KANOU Hiroki <kanou@mil.allnet.ne.jp>
Subject: Re: ports/31465: nasty loop in ports/print/ft2demos
Date: Wed, 24 Oct 2001 09:15:15 +0300

 On Tue, Oct 23, 2001 at 10:42:59PM -0700, chkno@dork.com wrote:
 > 
 > >Number:         31465
 > >Category:       ports
 > >Synopsis:       nasty loop in ports/print/ft2demos
 > >Responsible:    freebsd-ports
 > >Originator:     chkno
 > >Organization:
 > >Environment:
 > System: FreeBSD c1742628-a.vncvr1.wa.home.com 4.4-STABLE FreeBSD 4.4-STABLE #0: Sat Oct 20 14:35:40 PDT 2001 su@c1742628-a.vncvr1.wa.home.com:/usr/obj/usr/src/sys/CHK i386
 > 
 > 
 > >Description:
 > 	Any make in ports/print/ft2demos results in a loop of:
 > cd: can't cd to /print/freetype2
 > cd: can't cd to /print/freetype2
 > cd: can't cd to /print/freetype2
 > cd: can't cd to /print/freetype2
 > cd: can't cd to /print/freetype2
 > ...
 > 	Make & sh process are spawned recursively, spinning out of
 > control, filling swap & ..
 > 
 > 	Related to the commit Mon Oct 22 19:02:28 2001 UTC?
 
 Yep, it does seem to be related.  Makefile rev. 1.5 uses ${PORTSDIR}
 in a != construct, which is evaluated *before* the inclusion of bsd.port.mk
 which defines PORTSDIR.
 
 The attached patch seems to fix things for me.  This message is CC'd to
 the port maintainer for his comments.
 
 G'luck,
 Peter
 
 -- 
 I had to translate this sentence into English because I could not read the original Sanskrit.
 
 Index: ports/print/ft2demos/Makefile
 ===================================================================
 RCS file: /home/ncvs/ports/print/ft2demos/Makefile,v
 retrieving revision 1.5
 diff -u -r1.5 Makefile
 --- ports/print/ft2demos/Makefile	2001/10/22 19:02:28	1.5
 +++ ports/print/ft2demos/Makefile	2001/10/24 06:09:33
 @@ -26,6 +26,8 @@
  USE_GMAKE=	yes
  MAKE_ENV=	TOP="${FREETYPE_WRKSRC}"
  
 +.include <bsd.port.pre.mk>
 +
  FREETYPE_WRKSRC!=	cd ${PORTSDIR}/print/freetype2; ${MAKE} -V WRKSRC
  
  FT_PROGRAMS=	ftdump ftlint ftmulti ftstring fttimer ftview ftmemchk
 @@ -33,4 +35,4 @@
  do-install:
  	@(cd ${WRKSRC}/bin/.libs/ ; ${INSTALL_PROGRAM} ${FT_PROGRAMS} ${PREFIX}/bin)
  
 -.include <bsd.port.mk>
 +.include <bsd.port.post.mk>

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




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