summaryrefslogtreecommitdiff
path: root/chat/phone/Makefile
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2016-02-25 11:21:11 +0000
committerjperkin <jperkin@pkgsrc.org>2016-02-25 11:21:11 +0000
commit341772996adec7f825e106cce7cab2b3baa9892b (patch)
tree799746ba4d7cc546916fda643f3bec8b5b84f011 /chat/phone/Makefile
parentaa0a0b7fb811b9fbab9a3fc5edd97d9a775c4291 (diff)
downloadpkgsrc-341772996adec7f825e106cce7cab2b3baa9892b.tar.gz
Use OPSYSVARS.
Diffstat (limited to 'chat/phone/Makefile')
-rw-r--r--chat/phone/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/chat/phone/Makefile b/chat/phone/Makefile
index e0b6071cf60..4734fe6a76a 100644
--- a/chat/phone/Makefile
+++ b/chat/phone/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2015/11/07 22:19:32 dholland Exp $
+# $NetBSD: Makefile,v 1.7 2016/02/25 11:28:58 jperkin Exp $
DISTNAME= phone-2.0
PKGREVISION= 3
@@ -16,12 +16,8 @@ INSTALLATION_DIRS= bin libexec ${PKGMANDIR}/man1 sbin
# needs utmpx unless someone wants to patch legacy utmp support in
BROKEN_ON_PLATFORM= OpenBSD-*-*
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "Darwin"
-BUILDLINK_TRANSFORM+= rm:-Wa,--fatal-warnings
-CFLAGS+= -DINFTIM=-1
-.endif
+BUILDLINK_TRANSFORM.Darwin+= rm:-Wa,--fatal-warnings
+CFLAGS.Darwin+= -DINFTIM=-1
post-install:
${INSTALL_MAN} ${WRKSRC}/phone.1 \