pkgsrc/databases/postgresql84-client/buildlink3.mk

29 lines
1,002 B
Makefile
Raw Normal View History

# $NetBSD: buildlink3.mk,v 1.2 2010/01/17 12:02:11 wiz Exp $
.include "../../mk/bsd.fast.prefs.mk"
BUILDLINK_TREE+= postgresql84-client
.if !defined(POSTGRESQL84_CLIENT_BUILDLINK3_MK)
POSTGRESQL84_CLIENT_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.postgresql84-client+= postgresql84-client>=8.4.0
BUILDLINK_ABI_DEPENDS.postgresql84-client?= postgresql84-client>=8.4.2nb1
BUILDLINK_PKGSRCDIR.postgresql84-client?= ../../databases/postgresql84-client
. if defined(PG_SUBPREFIX) && !empty(PG_SUBPREFIX)
BUILDLINK_INCDIRS.postgresql84-client?= ${PG_SUBPREFIX}/include
BUILDLINK_LIBDIRS.postgresql84-client?= ${PG_SUBPREFIX}/lib
. endif
# This variable contains the libraries need to link most clients.
BUILDLINK_LDADD.postgresql84-client= -lpq ${BUILDLINK_LDADD.gettext}
BUILDLINK_FILES.postgresql84-client+= bin/pg_config
.include "../../security/openssl/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.endif # POSTGRESQL84_CLIENT_BUILDLINK3_MK
BUILDLINK_TREE+= -postgresql84-client