pkgsrc/databases/gdbm_compat/Makefile

20 lines
487 B
Makefile

# $NetBSD: Makefile,v 1.9 2018/01/28 20:10:34 wiz Exp $
PKGREVISION= 1
.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"