Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 May 2015 18:33:35 +0800
From:      Sunpoet Po-Chuan Hsieh <sunpoet@freebsd.org>
To:        John Marino <marino@freebsd.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org,  svn-ports-head@freebsd.org, michipili@gmail.com
Subject:   Re: svn commit: r385012 - in head/lang/ocaml: . files
Message-ID:  <CAMHz58TdE7ROGP1-Ma_OsJ191xYxaNBt7gCFs%2BPnu6uDZf-srQ@mail.gmail.com>
In-Reply-To: <201504292045.t3TKjO0F025992@svn.freebsd.org>
References:  <201504292045.t3TKjO0F025992@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 30, 2015 at 4:45 AM, John Marino <marino@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMHz58TdE7ROGP1-Ma_OsJ191xYxaNBt7gCFs%2BPnu6uDZf-srQ>