Add files from parent branch HEAD:
[pkgsrcv2.git] / databases / libpqxx / Makefile
1 # $NetBSD: Makefile,v 1.20 2008/03/13 17:38:48 joerg Exp $
2 #
3
4 PKG_DESTDIR_SUPPORT=    user-destdir
5
6 .include "../../databases/libpqxx/Makefile.common"
7
8 COMMENT=                C++ interface to postgresql-lib
9 PKGREVISION=            2
10
11 NOT_FOR_PLATFORM=       NetBSD-*-pc532
12
13 USE_LANGUAGES=          c c++
14 USE_LIBTOOL=            yes
15 PKGCONFIG_OVERRIDE+=    libpqxx.pc.in
16 GNU_CONFIGURE=          yes
17
18 .include "../../mk/bsd.prefs.mk"
19
20 .if ${OPSYS} == "NetBSD"
21 # No strerror_r
22 CONFIGURE_ARGS+=        --disable-thread-safety
23 .endif
24
25 # Avoid an ICE in gcc2 on sparc64
26 CONFIGURE_ENV+=         F77=${FALSE:Q}
27
28 .include "../../mk/pgsql.buildlink3.mk"
29 .include "../../mk/bsd.pkg.mk"