svn commit: r385012 - in head/lang/ocaml: . files

Sunpoet Po-Chuan Hsieh sunpoet at freebsd.org
Fri May 1 10:34:03 UTC 2015


On Thu, Apr 30, 2015 at 4:45 AM, John Marino <marino at freebsd.org> wrote:

> Author: marino
> Date: Wed Apr 29 20:45:23 2015
> New Revision: 385012
> URL: https://svnweb.freebsd.org/changeset/ports/385012
>
> Log:
>   lang/ocaml: Upgrade version 4.01 => 4.02
>
>   PR:           195736
>   Submitted by: Michael Gruenewald (maintainer)
>   Add'l fixes:  marino
>
>   Besides typical port cleanup, the dragonfly patches which had been
>   removed for the update were added back to the configure patch.
>

Hi,

(maintainer cc'd)

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.

configure, line 88 to 90:
  88 if echo "$configure_options" | grep -q -e '--\?[a-zA-Z0-9-]\+='; then
  89   err "Arguments to this script look like '-prefix /foo/bar', not
'-prefix=/foo/bar' (note the '=')."
  90 fi

Can we remove/fix this check from configure?
Thanks!

Regards,
sunpoet


More information about the svn-ports-all mailing list