diff options
author | dholland <dholland@pkgsrc.org> | 2014-06-29 03:32:36 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2014-06-29 03:32:36 +0000 |
commit | f0ef8fd963dfd4d048c370cb85faf27a78eb5c9e (patch) | |
tree | 88caa753a2ccdbd88d00f06165088ba6d6d2ecbe /chat/phone | |
parent | 8d16a7c0ab1e3356cbe7fe3ed992ed9ed240d66c (diff) | |
download | pkgsrc-f0ef8fd963dfd4d048c370cb85faf27a78eb5c9e.tar.gz |
Add hacks to (hopefully) fix MacOS build.
Diffstat (limited to 'chat/phone')
-rw-r--r-- | chat/phone/Makefile | 10 |
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 |