summaryrefslogtreecommitdiff
path: root/databases/gdbm_compat/Makefile
blob: 647c46d85e9e78a999bcf158533c0917dab2d985 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# $NetBSD: Makefile,v 1.8 2017/03/20 06:02:27 adam Exp $

.include "../../databases/gdbm/Makefile.common"

PKGNAME=	${DISTNAME:S/-/_compat-/}

COMMENT+=	Compat library for dbm and ndbm

DEPENDS+=	gdbm-${PKGVERSION_NOREV}{,nb[0-9]*}:../../databases/gdbm

CONFIGURE_ARGS+=	--enable-libgdbm-compat

BUILD_DIRS=		compat

post-extract:
	${LN} -s ${BUILDLINK_PREFIX.gdbm}/lib/libgdbm.la ${WRKSRC}/src

.include "../../databases/gdbm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"