blob: 18982042ea839cd046b1b03365e3f6d2d3f6c044 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# $NetBSD: Makefile,v 1.3 2012/01/24 09:10:51 sbd Exp $
#
.include "../../databases/gdbm/Makefile.common"
PKGNAME= ${DISTNAME:S/-/_compat-/}
PKGREVISION= 1
COMMENT+= dbm and ndbm compat library
DEPENDS+= gdbm-${PKGVERSION_NOREV}{,nb[0-9]*}:../../databases/gdbm
PKG_DESTDIR_SUPPORT= user-destdir
PKG_INSTALLATION_TYPES= overwrite pkgviews
CONFIGURE_ARGS+= --enable-libgdbm-compat
BUILD_DIRS= compat
.include "../../databases/gdbm/buildlink3.mk"
post-extract:
${LN} -s ${BUILDLINK_PREFIX.gdbm}/lib/libgdbm.la ${WRKSRC}/src
.include "../../mk/bsd.pkg.mk"
|