summaryrefslogtreecommitdiff
path: root/mail/re-alpine
diff options
context:
space:
mode:
authorbsiegert <bsiegert@pkgsrc.org>2014-01-01 16:10:09 +0000
committerbsiegert <bsiegert@pkgsrc.org>2014-01-01 16:10:09 +0000
commit35820aa79461b180fb9790e5c17bbb94475d8cc3 (patch)
treef217528088dcb22ebba54a37dfefd66bdf41494d /mail/re-alpine
parente6cca2b01fb3c3828076c1f54fe66b2ace28911c (diff)
downloadpkgsrc-35820aa79461b180fb9790e5c17bbb94475d8cc3.tar.gz
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.
Diffstat (limited to 'mail/re-alpine')
-rw-r--r--mail/re-alpine/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/mail/re-alpine/Makefile b/mail/re-alpine/Makefile
index a6210a846f4..a165d8e3cee 100644
--- a/mail/re-alpine/Makefile
+++ b/mail/re-alpine/Makefile
@@ -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