pkgsrc/databases/gdbm_compat/Makefile

18 lines
471 B
Makefile

# $NetBSD: Makefile,v 1.7 2014/10/09 14:06:05 wiz 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
.include "../../databases/gdbm/buildlink3.mk"
post-extract:
${LN} -s ${BUILDLINK_PREFIX.gdbm}/lib/libgdbm.la ${WRKSRC}/src
.include "../../mk/bsd.pkg.mk"