espie 30ef10f6cd the build process of those ports only leads to a .la file if shared objects
are being built, so put those files into the PFRAG.shared-main fragment
too (this is one port where fragment-folding can't work)
2013-07-05 12:03:52 +00:00

30 lines
693 B
Makefile

# $OpenBSD: Makefile,v 1.28 2013/07/05 12:03:52 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
REVISION-main = 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>