From 341772996adec7f825e106cce7cab2b3baa9892b Mon Sep 17 00:00:00 2001 From: jperkin Date: Thu, 25 Feb 2016 11:21:11 +0000 Subject: Use OPSYSVARS. --- chat/phone/Makefile | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'chat/phone/Makefile') 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 \ -- cgit v1.2.3