From owner-freebsd-ports Fri Jul 12 6:59:37 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC1E737B400 for ; Fri, 12 Jul 2002 06:59:34 -0700 (PDT) Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 896D343E58 for ; Fri, 12 Jul 2002 06:59:34 -0700 (PDT) (envelope-from edwin@mavetju.org) Received: from k7.mavetju (topaz.mdcc.cx [212.204.230.141]) by topaz.mdcc.cx (Postfix) with ESMTP id DAD432B6AE; Fri, 12 Jul 2002 15:59:31 +0200 (CEST) Received: by k7.mavetju (Postfix, from userid 1001) id F3BAC6A711E; Fri, 12 Jul 2002 23:59:27 +1000 (EST) Date: Fri, 12 Jul 2002 23:59:27 +1000 From: Edwin Groothuis To: Mack Lobell Cc: ports@FreeBSD.org Subject: Re: jam port doesn't build Message-ID: <20020712135927.GD574@k7.mavetju> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Jul 12, 2002 at 01:31:55PM +0000, Mack Lobell wrote: > Hi, > > the jam port doesn't build, see log below. > > Fix: > > --- Makefile.org Fri Jul 12 15:17:50 2002 > +++ Makefile Fri Jul 12 15:18:03 2002 > @@ -65,7 +65,7 @@ > rules.c scan.c search.c timestamp.c variable.c > > all: jam0 > - jam0 > + ./jam0 > > jam0: > $(CC) $(TARGET) $(CFLAGS) $(SOURCES) $(LINKLIBS) > > > make log when build fails: You have found an ugly bug in the ports-system: @${REINPLACE_CMD} -e 's|\t...|\t...|g' doesn't work. The real patch on the makefile in /usr/ports/devel/jam is: --- Makefile.old Fri Jul 12 23:55:50 2002 +++ Makefile Fri Jul 12 23:58:31 2002 @@ -21,7 +21,7 @@ pre-patch: @${REINPLACE_CMD} -e 's|^CC|#CC|g ; \ s|^CFLAGS|#CFLAGS|g ; \ - s|\tjam|\t\$$\{.CURDIR\}/jam|g' ${WRKSRC}/Makefile + s| jam| \$$\{.CURDIR\}/jam|g' ${WRKSRC}/Makefile do-install: .if ${MACHINE_ARCH} == "alpha" Not that the "empty" spaces are tabs. Edwin -- Edwin Groothuis | Personal website: http://www.MavEtJu.org edwin@mavetju.org | Interested in MUDs? Visit Fatal Dimensions: bash$ :(){ :|:&};: | http://www.FatalDimensions.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message