summaryrefslogtreecommitdiff
path: root/databases/libpqxx/Makefile
blob: 8f1a94ef02f7fa6651898c2cc433b60d82fc2fc8 (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
# $NetBSD: Makefile,v 1.32 2016/10/09 21:41:56 wiz Exp $

PYTHON_VERSIONS_INCOMPATIBLE=	34 35 # not yet ported as of 4.0.1

PKGREVISION= 1
.include "../../databases/libpqxx/Makefile.common"

COMMENT=		C++ interface to postgresql-lib

# Apparently (at least as of 2004) this package's shared libraries are
# messed up on a.out platforms. But AFAIK we don't have any in pkgsrc
# any more. Leave this here for documentation just in case.
#   - dholland 20150101
#NOT_FOR_PLATFORM=	${AOUTPLATFORMS}

USE_LANGUAGES=		c c++
USE_LIBTOOL=		yes
PKGCONFIG_OVERRIDE+=	libpqxx.pc.in
GNU_CONFIGURE=		yes

PYTHON_FOR_BUILD_ONLY=	yes
REPLACE_PYTHON+=	tools/splitconfig

.include "../../lang/python/application.mk"
.include "../../mk/pgsql.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"