2008-07-14 14:55:56 +02:00
|
|
|
# $NetBSD: Makefile,v 1.21 2008/07/14 12:56:01 joerg Exp $
|
2004-01-07 12:08:53 +01:00
|
|
|
#
|
|
|
|
|
2008-07-14 14:55:56 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
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
|
2008-03-13 18:38:48 +01:00
|
|
|
PKGREVISION= 2
|
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
|
2005-12-05 21:49:47 +01:00
|
|
|
CONFIGURE_ENV+= F77=${FALSE:Q}
|
2004-03-23 00:29:12 +01:00
|
|
|
|
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"
|