blob: c9b806c9e883792ed4e9293c086ed25f6d1a1339 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# $NetBSD: Makefile.common,v 1.3 2001/07/08 13:59:14 bad Exp $
DISTNAME= mysql-3.23.39
CATEGORIES= databases
MASTER_SITES= ftp://ftp.mysql.com/MySQL-3.23/ \
http://www.mysql.com/Downloads/MySQL-3.23/ \
ftp://ftp.sunet.se/pub/unix/databases/relational/mysql/Downloads/MySQL-3.23/
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.mysql.com/
EXTRACT_USING_PAX= # defined
.include "../../mk/bsd.prefs.mk"
MYSQL_DATADIR?= /var/mysql
GNU_CONFIGURE= # defined
CONFIGURE_ARGS+= --localstatedir=${MYSQL_DATADIR}
CONFIGURE_ARGS+= --with-named-z-libs=z
CONFIGURE_ARGS+= --with-libwrap
CONFIGURE_ARGS+= --with-named-curses-libs="-lcurses -ltermcap"
CONFIGURE_ARGS+= --without-perl
# We always use our own readline, either system- or pkgsrc-supplied.
CONFIGURE_ARGS+= --without-readline
# This forces mysql.info _not_ to be rebuilt.
CONFIGURE_ARGS+= --without-docs
CONFIGURE_ARGS+= --without-debug
CONFIGURE_ARGS+= --without-bench
CONFIGURE_ARGS+= --with-low-memory
CPPFLAGS+= -Dunix
USE_PERL5= # defined
USE_LIBTOOL= # defined
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
post-extract:
cd ${WRKSRC}; \
for dir in dbug heap isam merge mysys strings; do \
${MV} $${dir}/Makefile.in $${dir}/Makefile.in.orig; \
${SED} -e "/^install-exec:/s/install-pkglibLIBRARIES//" \
$${dir}/Makefile.in.orig > $${dir}/Makefile.in; \
done
cd ${WRKSRC}/scripts; \
for file in mysql_install_db.sh safe_mysqld.sh; do \
${MV} $${file} $${file}.orig; \
${SED} -e "s,chown,${CHOWN},g" \
$${file}.orig > $${file}; \
${RM} $${file}.orig; \
done
|