Bug 178733 - devel/ode: make: "/usr/ports/devel/ode/Makefile" line 37: Malformed conditional (${PORT_OPTIONS:MGIMPACT) && defined(WITH_DOUBLE})
Summary: devel/ode: make: "/usr/ports/devel/ode/Makefile" line 37: Malformed condition...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Jose Alonso Cardenas Marquez
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-18 10:40 UTC by O. Hartmann
Modified: 2013-05-19 09:25 UTC (History)
0 users

See Also:


Attachments
file.diff (381 bytes, patch)
2013-05-18 10:40 UTC, O. Hartmann
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2013-05-18 10:40:00 UTC
There is a typo in the Makefile preventing the port from being compiled:

make: Unknown modifier ')'
make: "/usr/ports/devel/ode.orig/Makefile" line 37: Malformed conditional (${PORT_OPTIONS:MGIMPACT) && defined(WITH_DOUBLE})
make: Fatal errors encountered -- cannot continue

Fix: Correct the malformed line 37 in the Makefile and replace it by:

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


By the way, a funny permutation of the braces ;-)

Patch attached with submission follows:
How-To-Repeat: Try to make devel/ode
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-05-18 10:40:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->acm

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 O. Hartmann 2013-05-18 12:17:51 UTC
On Sat, 2013-05-18 at 09:40 +0000, FreeBSD-gnats-submit@FreeBSD.org
wrote:
> Thank you very much for your problem report.
> It has the internal identification `ports/178733'.
> The individual assigned to look at your
> report is: freebsd-ports-bugs. 
> 
> You can access the state of your problem report at any time
> via this link:
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=178733
> 
> >Category:       ports
> >Responsible:    freebsd-ports-bugs
> >Synopsis:       devel/ode: make: "/usr/ports/devel/ode/Makefile" line 37: Malformed conditional (${PORT_OPTIONS:MGIMPACT) && defined(WITH_DOUBLE})
> >Arrival-Date:   Sat May 18 09:40:00 UTC 2013




Please close, the subsequent PR (pr=178734)is correct, this one is
bogus.

oh
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2013-05-19 09:24:51 UTC
State Changed
From-To: open->closed

see ports/178734.