Add support for MirBSD to re-alpine.

This needs more work but at least allows the package to be built. However,
it segfaults when you try to compose a message. It looks like there are
issues with format strings.
This commit is contained in:
bsiegert 2014-01-01 16:10:09 +00:00
parent 19a15bf4dc
commit bafd88e7f1

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.10 2013/02/06 23:22:48 jperkin Exp $
# $NetBSD: Makefile,v 1.11 2014/01/01 16:10:09 bsiegert Exp $
#
DISTNAME= re-alpine-2.02
@ -30,10 +30,19 @@ USE_LIBTOOL= yes
MAKE_JOBS_SAFE= no
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD" && empty(OS_VERSION:M4.99.*) && empty(OS_VERSION:M[5-9]*)
CONFIGURE_ARGS+= --without-pthread
.endif
.if ${OPSYS} == "MirBSD"
SUBST_CLASSES+= mirbsd
SUBST_STAGE.mirbsd= pre-configure
SUBST_FILES.mirbsd= configure
SUBST_SED.mirbsd= -e 's,\*-\*-openbsd,*-*-mirbsd,g'
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/alpine/alpine ${DESTDIR}${PREFIX}/bin/alpine
${INSTALL_MAN} ${WRKSRC}/doc/alpine.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/alpine.1