2005-06-27 03:57:26 +02:00
|
|
|
# $NetBSD: Makefile,v 1.15 2005/06/27 01:57:26 markd Exp $
|
2004-01-07 12:08:53 +01:00
|
|
|
#
|
|
|
|
|
2004-01-07 14:32:40 +01:00
|
|
|
.include "../../databases/libpqxx/Makefile.common"
|
2004-01-07 12:08:53 +01:00
|
|
|
|
|
|
|
COMMENT= C++ interface to postgresql-lib
|
2004-01-07 12:22:49 +01:00
|
|
|
|
2004-01-07 12:21:16 +01:00
|
|
|
NOT_FOR_PLATFORM= NetBSD-*-pc532
|
2004-01-07 12:08:53 +01:00
|
|
|
|
2004-02-05 10:28:59 +01:00
|
|
|
USE_LANGUAGES= c c++
|
2004-02-14 18:21:32 +01:00
|
|
|
USE_LIBTOOL= yes
|
2004-02-14 19:26:26 +01:00
|
|
|
PKGCONFIG_OVERRIDE+= libpqxx.pc.in
|
2004-01-07 12:08:53 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2005-06-27 03:57:26 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if ${OPSYS} == "NetBSD"
|
|
|
|
# No strerror_r
|
|
|
|
CONFIGURE_ARGS+= --disable-thread-safety
|
|
|
|
.endif
|
2004-01-07 12:08:53 +01:00
|
|
|
|
2004-03-23 00:29:12 +01:00
|
|
|
# Avoid an ICE in gcc2 on sparc64
|
|
|
|
CONFIGURE_ENV+= F77=${FALSE}
|
|
|
|
|
2004-07-25 00:45:14 +02:00
|
|
|
.include "../../mk/pgsql.buildlink3.mk"
|
2004-01-07 12:08:53 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|