pkgsrc/mail/dovecot2-sqlite/Makefile
marino 938dfe006b Specify readline requirement on 30 packages
Solves:
/usr/libexec/binutils225/elf/ld.gold: error: cannot find -lreadline

The missing specification is obvious on DragonFly because there's
no publically accessible version of readline in base.
2016-12-04 03:51:14 +00:00

25 lines
777 B
Makefile

# $NetBSD: Makefile,v 1.2 2016/12/04 03:51:16 marino Exp $
#
.include "../../mail/dovecot2/Makefile.plugin"
PKGNAME= ${DISTNAME:S/dovecot/dovecot-sqlite/}
COMMENT+= (sqlite plugin)
CONFIGURE_ARGS+= --with-sql=plugin
CONFIGURE_ARGS+= --with-sqlite
INSTALLATION_DIRS+= lib/dovecot/auth lib/dovecot/dict
do-install:
cd ${WRKSRC} && ${LIBTOOL} --mode=install ${INSTALL_LIB} \
src/lib-sql/libdriver_sqlite.la \
${DESTDIR}${PREFIX}/lib/dovecot
${LN} -s ../libdriver_sqlite.so \
${DESTDIR}${PREFIX}/lib/dovecot/auth/libdriver_sqlite.so
${LN} -s ../libdriver_sqlite.so \
${DESTDIR}${PREFIX}/lib/dovecot/dict/libdriver_sqlite.so
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../devel/readline/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"