Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Apr 2005 08:50:01 +0300
From:      Vasil Dimov <vd@datamax.bg>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/79816: devel/jam Makefile error: Malformed conditional
Message-ID:  <1113285001.210521.80350.nullmailer@sinanica.bg.datamax>
Resent-Message-ID: <200504120550.j3C5oKPG037538@freefall.freebsd.org>

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

>Number:         79816
>Category:       ports
>Synopsis:       devel/jam Makefile error: Malformed conditional
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 12 05:50:20 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Vasil Dimov
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
DataMax
>Environment:
System: FreeBSD sinanica.bg.datamax 5.4-STABLE FreeBSD 5.4-STABLE #5: Mon Apr 11 14:07:32 EEST 2005 root@sinanica.bg.datamax:/usr/obj/usr/src/sys/SINANICA-SMP i386


	
>Description:
	devel/jam's Makefile got broken with the last commit
>How-To-Repeat:
	cd /usr/ports/devel/jam
	make
	"Makefile", line 35: Malformed conditional (${ARCH} == "alpha")
	"Makefile", line 35: Need an operator
	"Makefile", line 37: if-less else
	"Makefile", line 37: Need an operator
	"Makefile", line 39: if-less endif
	"Makefile", line 39: Need an operator
	make: fatal errors encountered -- cannot continue
>Fix:

	

--- Makefile.diff begins here ---
--- Makefile.orig	Tue Apr 12 08:29:36 2005
+++ Makefile	Tue Apr 12 08:40:05 2005
@@ -31,6 +31,8 @@
 		 s|^CFLAGS|#CFLAGS|g ; \
 		 s|^	jam|	./jam|g' ${WRKSRC}/Makefile
 
+.include <bsd.port.pre.mk>
+
 do-install:
 .if ${ARCH} == "alpha"
 	${INSTALL_PROGRAM} ${WRKSRC}/bin.freebsdaxp/jam ${PREFIX}/bin
@@ -42,4 +44,4 @@
 	${INSTALL_DATA} ${WRKSRC}/*.html ${DOCSDIR}
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
--- Makefile.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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