[Bug 199884] [PATCH] lang/ocaml: fix build when CONFIGURE_ARGS contains =

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun May 3 11:44:47 UTC 2015


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 at FreeBSD.org
          Reporter: sunpoet at FreeBSD.org
                CC: michipili at gmail.com
                CC: michipili at gmail.com
          Keywords: patch
             Flags: maintainer-feedback?(michipili at 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.


More information about the freebsd-ports-bugs mailing list