Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jul 2002 23:59:27 +1000
From:      Edwin Groothuis <edwin@mavetju.org>
To:        Mack Lobell <macklobell@hotmail.com>
Cc:        ports@FreeBSD.org
Subject:   Re: jam port doesn't build
Message-ID:  <20020712135927.GD574@k7.mavetju>
In-Reply-To: <F221A1IIbF5RAMeJin70000e92b@hotmail.com>
References:  <F221A1IIbF5RAMeJin70000e92b@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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