blob: 4032f7bcdd444eee8a47e5e93c5756b72be6447f (
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
|
# $NetBSD: Makefile.common,v 1.60 2021/05/02 10:24:47 nia Exp $
#
# used by databases/libgda/Makefile
# used by databases/libgda-mysql/Makefile
# used by databases/libgda-postgres/Makefile
DISTNAME= libgda-5.2.9
CATEGORIES= databases gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libgda/5.2/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.gnome-db.org/
COMMENT= GNU database access library
LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2
DISTINFO_FILE= ${.CURDIR}/../../databases/libgda/distinfo
PATCHDIR= ${.CURDIR}/../../databases/libgda/patches
USE_TOOLS+= gmake intltool pkg-config msgfmt
USE_TOOLS+= itstool
USE_LIBTOOL= YES
USE_PKGLOCALEDIR= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
CONFIGURE_ARGS+= --without-ldap
.if !defined(LIBGDA_PROVIDER) || empty(LIBGDA_PROVIDER:Mmysql)
CONFIGURE_ARGS+= --without-mysql
.endif
.if !defined(LIBGDA_PROVIDER) || empty(LIBGDA_PROVIDER:Mpostgres)
CONFIGURE_ARGS+= --without-postgres
.endif
.if defined(LIBGDA_PROVIDER) && !empty(LIBGDA_PROVIDER)
PKGNAME= ${DISTNAME:S/libgda-/libgda-${LIBGDA_PROVIDER}-/}
COMMENT+= - ${LIBGDA_PROVIDER} provider
BUILD_DIRS= providers/reuseable/${LIBGDA_PROVIDER} providers/${LIBGDA_PROVIDER}
.include "../../databases/libgda/buildlink3.mk"
.else
.include "../../devel/readline/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.endif
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
|