[MacPorts] #55490: mysql57 +universal: mysql_config syntax error
MacPorts
noreply at macports.org
Fri Dec 8 18:08:39 UTC 2017
#55490: mysql57 +universal: mysql_config syntax error
------------------------+---------------------
Reporter: ryandesign | Owner: pixilla
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: mysql57
------------------------+---------------------
{{{
$ port -v installed mysql57
The following ports are currently installed:
mysql57 @5.7.17_0+universal (active) platform='darwin 16' archs='i386
x86_64' date='2017-02-05T17:34:56-0600'
$ /opt/local/lib/mysql57/bin/mysql_config --help
/opt/local/lib/mysql57/bin/mysql_config: line 119: -Os: command not found
Usage: /opt/local/lib/mysql57/bin/mysql_config [OPTIONS]
Options:
--cflags []
--cxxflags []
--include [-I/opt/local/include/mysql57/mysql]
--libs [-L/opt/local/lib/mysql57/mysql -lmysqlclient
-lz]
--libs_r [-L/opt/local/lib/mysql57/mysql -lmysqlclient
-lz]
--plugindir [/opt/local/lib/mysql57/plugin]
--socket [/opt/local/var/run/mysql57/mysqld.sock]
--port [0]
--version [5.7.17]
--libmysqld-libs [-L/opt/local/lib/mysql57/mysql -lmysqld -lz]
--variable=VAR VAR is one of:
pkgincludedir [/opt/local/include/mysql57/mysql]
pkglibdir [/opt/local/lib/mysql57/mysql]
plugindir [/opt/local/lib/mysql57/plugin]
}}}
Lines 118-119 of `mysql_config` are:
{{{
cflags="-I$pkgincludedir -Os -fno-omit-frame-pointer
cxxflags="-I$pkgincludedir -Os -stdlib=libc++ -fno-omit-frame-pointer
}}}
Note the missing closing quote on each line.
This only happens with the universal variant.
mysql56 doesn't have this problem.
--
Ticket URL: <https://trac.macports.org/ticket/55490>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list