Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 May 2015 11:44:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 199884] [PATCH] lang/ocaml: fix build when CONFIGURE_ARGS contains =
Message-ID:  <bug-199884-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199884

            Bug ID: 199884
           Summary: [PATCH] lang/ocaml: fix build when CONFIGURE_ARGS
                    contains =
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: sunpoet@FreeBSD.org
                CC: michipili@gmail.com
                CC: michipili@gmail.com
          Keywords: patch
             Flags: maintainer-feedback?(michipili@gmail.com)

Created attachment 156272
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=156272&action=edit
ocaml diff

- Remove unnecessary check for configure arguments

While upgrading lang/ocaml to latest 4.02.1, I got the following failure while
upgrading this port:

===>  Configuring for ocaml-nox11-4.02.1
[ERROR!]Arguments to this script look like '-prefix /foo/bar', not
'-prefix=/foo/bar' (note the '=').
===>  Script "configure" failed unexpectedly. 

It was caused by "CPUTYPE?=core2" in /etc/make.conf
With this setting, $configure_options in configure was set to
  -verbose -prefix /usr/local -cc "clang -O2 -pipe -march=core2 
-fno-strict-aliasing" -as "as " -aspp clang -c -partialld ld -r -as as 
-no-graph

Then it fails to configure.

The check in configure line 88 to 90 is incomplete as it does not consider
quotes.

-- 
You are receiving this mail because:
You are the assignee for the bug.



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