ports/79816: devel/jam Makefile error: Malformed conditional
Vasil Dimov
vd at datamax.bg
Tue Apr 12 05:50:21 UTC 2005
>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 at 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:
More information about the freebsd-ports-bugs
mailing list