summaryrefslogtreecommitdiff
path: root/mail/alpine
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2016-02-25 15:00:50 +0000
committerjperkin <jperkin@pkgsrc.org>2016-02-25 15:00:50 +0000
commit7d5d0fca715ee9a7953e7864354ad0cc10706978 (patch)
treee303acd59cb37500c85db45927b7c3213588d3ca /mail/alpine
parent39aae52e063ed023435320f21c58a1c16d866d1f (diff)
downloadpkgsrc-7d5d0fca715ee9a7953e7864354ad0cc10706978.tar.gz
Use OPSYSVARS.
Diffstat (limited to 'mail/alpine')
-rw-r--r--mail/alpine/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/mail/alpine/Makefile b/mail/alpine/Makefile
index 3673ceca0c1..4a26ac0eff2 100644
--- a/mail/alpine/Makefile
+++ b/mail/alpine/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.37 2015/10/25 23:48:11 darcy Exp $
+# $NetBSD: Makefile,v 1.38 2016/02/25 15:00:50 jperkin Exp $
#
DISTNAME= alpine-2.11
@@ -34,15 +34,13 @@ INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
CONFIGURE_ARGS+= --without-pthread
.endif
-.if ${OPSYS} == "Darwin"
# mach/mach.h defines panic, differently.
-SUBST_CLASSES+= panic
+SUBST_CLASSES.Darwin+= panic
SUBST_STAGE.panic= pre-configure
SUBST_MESSAGE.panic= Renaming the panic function
SUBST_FILES.panic= */*.c
SUBST_FILES.panic+= pith/util.h
SUBST_SED.panic+= -e 's,panic(,Panic(,g'
-.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/alpine/alpine ${DESTDIR}${PREFIX}/bin/alpine