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 | 788d547ebcc4a07cda4a09f2b10618e72caa16c9 (patch) | |
tree | 88caa753a2ccdbd88d00f06165088ba6d6d2ecbe /chat | |
parent | d981b362ef704aba7f1d444bccae070bc25d2e37 (diff) | |
download | pkgsrc-788d547ebcc4a07cda4a09f2b10618e72caa16c9.tar.gz |
Add hacks to (hopefully) fix MacOS build.
Diffstat (limited to 'chat')
-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 |