Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 May 2013 09:31:31 GMT
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/178734: devel/ode: make: "/usr/ports/devel/ode/Makefile" line 37: Malformed conditional (${PORT_OPTIONS:MGIMPACT) && defined(WITH_DOUBLE})
Message-ID:  <201305180931.r4I9VVUh017910@oldred.FreeBSD.org>
Resent-Message-ID: <201305180940.r4I9e0ba069749@freefall.freebsd.org>

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

>Number:         178734
>Category:       ports
>Synopsis:       devel/ode: make: "/usr/ports/devel/ode/Makefile" line 37: Malformed conditional (${PORT_OPTIONS:MGIMPACT) && defined(WITH_DOUBLE})
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 18 09:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     O. Hartmann
>Release:        FreeBSD 10.0-CURRENT/amd64
>Organization:
FU Berlin
>Environment:
FreeBSD 10.0-CURRENT #1 r250753: Fri May 17 23:33:28 CEST 2013 amd64
>Description:
make: Unknown modifier ')'
make: "/usr/ports/devel/ode/Makefile" line 37: Malformed conditional (${PORT_OPTIONS:MGIMPACT) && defined(WITH_DOUBLE})
make: Fatal errors encountered -- cannot continue
>How-To-Repeat:
Try to make devel/ode
>Fix:
Goto Makefile of devel/ode. Search for line 37.

REPLACE: .if ${PORT_OPTIONS:MGIMPACT) && defined(WITH_DOUBLE}

SET: .if ${PORT_OPTIONS:MGIMPACT) && defined(WITH_DOUBLE)

Patch attached with submission follows:

diff -Nur ode.orig/Makefile ode/Makefile
--- ode.orig/Makefile	2013-05-18 11:30:01.000000000 +0200
+++ ode/Makefile	2013-05-18 11:30:16.000000000 +0200
@@ -34,7 +34,7 @@
 CFLAGS+=	-fPIC -DPIC
 .endif
 
-.if ${PORT_OPTIONS:MGIMPACT) && defined(WITH_DOUBLE}
+.if ${PORT_OPTIONS:MGIMPACT) && defined(WITH_DOUBLE)
 IGNORE=	currently double precision is not supported by gimpact
 .endif
 


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



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