16 |
SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
17 |
|
|
18 |
REMOVE_DEPRECATED_MAGE_TARGETS=1 |
REMOVE_DEPRECATED_MAGE_TARGETS=1 |
19 |
sminclude mtools alx |
ALX_ONLY_KEEP="etc/mysql |
20 |
|
usr/bin/mysql |
21 |
|
usr/$(mlibdir)/*.so.* |
22 |
|
usr/$(mlibdir)/*.so |
23 |
|
usr/$(mlibdir)/mysql/*.so.* |
24 |
|
usr/$(mlibdir)/mysql/*.so" |
25 |
|
sminclude mtools alx-split |
26 |
|
|
27 |
SRC_URI=( |
SRC_URI=( |
28 |
ftp://ftp.mysql.com/pub/mysql/src/${SRCFILE} |
ftp://ftp.mysql.com/pub/mysql/src/${SRCFILE} |
57 |
export CFLAGS="${CFLAGS} -fPIC" |
export CFLAGS="${CFLAGS} -fPIC" |
58 |
export CXXFLAGS="${CXXFLAGS} -fPIC" |
export CXXFLAGS="${CXXFLAGS} -fPIC" |
59 |
|
|
60 |
|
# --with-readline uses included readline, detection is broken |
61 |
mconfigure \ |
mconfigure \ |
62 |
--libexecdir=/usr/sbin \ |
--libexecdir=/usr/sbin \ |
63 |
--sysconfdir=/etc/mysql \ |
--sysconfdir=/etc/mysql \ |
64 |
--localstatedir=/var/lib/mysql \ |
--localstatedir=/var/lib/mysql \ |
65 |
--with-raid \ |
--without-raid \ |
66 |
--with-low-memory \ |
--with-low-memory \ |
67 |
--enable-assembler \ |
--enable-assembler \ |
68 |
--with-charset=latin1 \ |
--with-charset=latin1 \ |
69 |
|
--with-collation=latin1_swedish_ci \ |
70 |
--enable-local-infile \ |
--enable-local-infile \ |
71 |
--with-mysqld-user=mysql \ |
--with-mysqld-user=mysql \ |
72 |
--with-extra-charsets=none \ |
--with-extra-charsets=none \ |
86 |
--without-bench \ |
--without-bench \ |
87 |
--without-berkeley-db \ |
--without-berkeley-db \ |
88 |
--without-row-based-relication \ |
--without-row-based-relication \ |
89 |
--without-readline \ |
--with-readline \ |
90 |
|| die |
|| die |
91 |
|
|
92 |
mmake || die |
mmake || die |