summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authordholland <dholland>2014-06-29 03:32:36 +0000
committerdholland <dholland>2014-06-29 03:32:36 +0000
commitc8afefa6d3783334ddb2d490c113e8e7802a34e1 (patch)
tree88caa753a2ccdbd88d00f06165088ba6d6d2ecbe /chat
parentb074ad8428d310021fbf706d1d0b279d6298c31b (diff)
downloadpkgsrc-c8afefa6d3783334ddb2d490c113e8e7802a34e1.tar.gz
Add hacks to (hopefully) fix MacOS build.
Diffstat (limited to 'chat')
-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