blob: 227b67a3df5bd36b6add5d70046ac9fe3575981c (
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
|
# $NetBSD: Makefile,v 1.26 2011/11/01 06:11:53 sbd Exp $
DISTNAME= mysql-connector-odbc-5.1.8
PKGNAME= ${DISTNAME:S/mysql-connector-odbc/myodbc/}
PKGREVISION= 1
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_MYSQL:=Connector-ODBC/5.1/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.mysql.com/
COMMENT= ODBC driver (server side) for MySQL
LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
USE_LIBTOOL= yes
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --datadir=${PREFIX}/share/doc
CONFIGURE_ARGS+= --disable-gui
CONFIGURE_ARGS+= --disable-myodbc3i
CONFIGURE_ARGS+= --disable-test
CONFIGURE_ARGS+= --with-mysql-path=${BUILDLINK_PREFIX.mysql-client}
CONFIGURE_ARGS+= --without-samples
INSTALLATION_DIRS= share/doc/mysql-connector-odbc
.include "options.mk"
# 5.5 fails on my_free(), which no longer accepts 2 arguments, but 1
MYSQL_VERSIONS_ACCEPTED= 51 50
.include "../../devel/libltdl/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/mysql.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|