openbsd-ports/databases/db/v3/Makefile
espie 2795b45115 convert databases/db to bsd.port.arch.mk, a bit more complicated since
there is a Makefile.inc.

Since the BUILD_PACKAGES tests have to happen there, put the java one there
as well, it won't trigger for db/v3, obviously.

Allows the removal of the ,java pseudo-flavor, since the ONLY_FOR_ARCH-* part
will take care of it.
2011-10-17 10:10:59 +00:00

29 lines
675 B
Makefile

# $OpenBSD: Makefile,v 1.27 2011/10/17 10:10:59 espie Exp $
REV= 3
DBLIBDIR= lib/db
VERSION= ${REV}.1.17
PKGNAME-main= ${DISTNAME}
PKGNAME-tcl= db-tcl-${VERSION}
EPOCH-main= 0
EPOCH-tcl= 0
SHARED_LIBS += db 3.1 # .0.0
SHARED_LIBS += db_cxx 4.0 # .0.0
SHARED_LIBS += db_tcl 4.0 # .0.0
PKGSPEC-main = db->=3,<4|db->=3v0,<4v0
PKGSPEC-tcl = db-tcl->=3,<4|db-tcl->=3v0,<4v0
CONFIGURE_STYLE=gnu dest
DEST_SUBDIR=
WANTLIB=c
WANTLIB-tcl = m ${MODTCL_WANTLIB}
LIB_DEPENDS-tcl = ${MODTCL_LIB_DEPENDS}
RUN_DEPENDS-tcl = ${BUILD_PKGPATH}
pre-configure:
@${SUBST_CMD} ${WRKSRC}/test/include.tcl
.include <bsd.port.mk>