Files
pkgsrc-ng/databases/postgresql90-datatypes/Makefile
2013-09-26 17:14:40 +02:00

29 lines
880 B
Makefile

# $NetBSD: Makefile,v 1.10 2013/02/09 11:19:12 adam Exp $
PKGNAME= ${DISTNAME:C/-/90-datatypes-/}
COMMENT= PostgreSQL data types support modules
DEPENDS+= postgresql90-server>=${PKGVERSION_NOREV}:../../databases/postgresql90-server
.include "../../databases/postgresql90/Makefile.common"
CONFIGURE_ARGS+= --with-ossp-uuid
BUILD_MAKE_FLAGS= PGXS=1
# because global pg_config.h is included, we have to define this
CPPFLAGS+= -DHAVE_UUID_H
BUILD_DIRS+= contrib/citext
BUILD_DIRS+= contrib/hstore
BUILD_DIRS+= contrib/intarray
BUILD_DIRS+= contrib/isn
BUILD_DIRS+= contrib/ltree
BUILD_DIRS+= contrib/lo
BUILD_DIRS+= contrib/uuid-ossp
BUILD_DIRS+= contrib/unaccent
REQD_DIRS+= lib/postgresql
REQD_DIRS+= share/postgresql/contrib
.include "../../databases/postgresql90-client/buildlink3.mk"
.include "../../devel/ossp-uuid/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"