Also, USE_MYSQL can't happen after bsd.port.pre.mk because it is a USES.
PR: 208971
Submitted by: mat
Exp-run by: antoine
With hat: portmgr
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D5951
c++ -fpic -DPIC -O2 -pipe -fno-strict-aliasing -I/usr/local/include/tcl8.4 -I/usr/local/include/mysql -c /wrkdirs/usr/ports/databases/tcl-Mysql/work/tcl-sql/sql-mysql.cc -o sql-mysql.So
/wrkdirs/usr/ports/databases/tcl-Mysql/work/tcl-sql/sql-mysql.cc:1:17: error: tcl.h: No such file or directory
In file included from /wrkdirs/usr/ports/databases/tcl-Mysql/work/tcl-sql/sql-mysql.h:3,
from /wrkdirs/usr/ports/databases/tcl-Mysql/work/tcl-sql/sql-mysql.cc:2:
/wrkdirs/usr/ports/databases/tcl-Mysql/work/tcl-sql/sql-interface.h: In member function 'virtual Sql_row* Sql_interface::fetchrow(int)':
/wrkdirs/usr/ports/databases/tcl-Mysql/work/tcl-sql/sql-interface.h:49: error: 'NULL' was not declared in this scope
...
Reported by: pkg-fallout
- Remove references to Tcl/Tk 8.3 from bsd.tcl.mk
- Update ports that required 8.3+ to require 8.4+ (since 8.5 is the
default, I don't expect this change to cause much trouble)
compatible with the 3 -- mysql_error now returns `const char *', and
there is no mysql_connect any more. Default to MySQL-4.x for now. Bump
PORTREVISION.
Reported by: Robert Andrews
. make compile with and default to Tcl-8.4 (8.3 is still possible)
(this necessitated PORTREVISION bump :\)
. don't link in -lgcc -- should've used gcc_pic anyway, but this
is not really needed at all, it seems;
. don't require a particular version of mysqlclient library.
cc, but we were able to get away with it previously. Not any more.
Set CC to ${CXX} (something bsd.lib.mk should be doing for us!) to
avoid unresolved __gxx_personality_v0 when trying to load the package
into the Tcl interpreter at run-time.
No PORTREVISION bump, since the port did not build on -current until
5 minutes ago, and the problem does not affect -stable.
Not Approved by: portmgr (Linnex would too cruel and too unusual anyway)
for functions' arguments are specified twice -- in the declaration
(sql-mysql.h) and in the definition (sql-mysql.cc). The added patch
removes the redundant defaults from the functions' definitions and fixes
the build on -current.
Submitted by: bento
Not Approved by: portmgr -- no approval requested, since port did not build
mysql323-client installs libmysqlclient.so.10 (instead of
libmysqlclient.so.6).
mysql323-{client,server} are production quality, now (according to
MySQL AB at least).