summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chat/phone/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/chat/phone/Makefile b/chat/phone/Makefile
index c0c67049cf1..ba7c8a01089 100644
--- a/chat/phone/Makefile
+++ b/chat/phone/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2014/01/01 23:52:32 dholland Exp $
+# $NetBSD: Makefile,v 1.3 2014/06/29 03:32:36 dholland Exp $
DISTNAME= phone-2.0
PKGREVISION= 1
@@ -13,6 +13,14 @@ LICENSE= generic-nonlicense
INSTALLATION_DIRS= bin libexec ${PKGMANDIR}/man1 sbin
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Darwin"
+BUILDLINK_TRANSFORM+= rm:-Wa,--fatal-warnings
+CFLAGS+= -DINFTIM=-1
+.endif
+
post-install:
${INSTALL_MAN} ${WRKSRC}/phone.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/phone.1