openbsd-ports/databases/p5-DBD-Pg/Makefile
sthen ff18e861a5 update to DBD::Pg 2.19.3, fixes a bug showing up with OpenBSD malloc.
From Andrew Fresh (who put a lot of time into tracking down the problem),
maintainer ENOTIME.
2012-09-05 20:10:35 +00:00

34 lines
794 B
Makefile

# $OpenBSD: Makefile,v 1.67 2012/09/05 20:10:35 sthen Exp $
SHARED_ONLY= Yes
COMMENT= access to PostgreSQL databases through the DBI
MODULES= cpan
DISTNAME= DBD-Pg-2.19.3
CATEGORIES= databases
LIB_DEPENDS= databases/postgresql
RUN_DEPENDS= databases/p5-DBI>=1.52
BUILD_DEPENDS= ${RUN_DEPENDS}
REGRESS_DEPENDS=databases/postgresql,-server \
devel/p5-Test-Warn
REGRESS_FLAGS= DBI_DSN="dbi:Pg:dbname=template1" DBI_USER="_postgresql" \
DBI_PASS=""
MAINTAINER= Pierre-Emmanuel Andre <pea@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB+= c m pq>=2
CONFIGURE_ENV+= POSTGRES_HOME="${LOCALBASE}" \
POSTGRES_LIB="${LOCALBASE}/lib" \
POSTGRES_INCLUDE="${LOCALBASE}/include/postgresql"
.include <bsd.port.mk>