diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-06-30 21:51:56 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-06-30 21:51:56 +0000 |
commit | bd3f1e29a9e78781e39b0a58d3414668d0590c3c (patch) | |
tree | d50a59567a93e19d51c1d3a8fa4c729652dd3b5a /net/iaxmodem/Makefile | |
parent | f5a57e02920a13086fad96121504cdf16787865b (diff) | |
download | ports-bd3f1e29a9e78781e39b0a58d3414668d0590c3c.tar.gz ports-bd3f1e29a9e78781e39b0a58d3414668d0590c3c.zip |
Notes
Diffstat (limited to 'net/iaxmodem/Makefile')
-rw-r--r-- | net/iaxmodem/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/net/iaxmodem/Makefile b/net/iaxmodem/Makefile index f6125447f870..232edd032765 100644 --- a/net/iaxmodem/Makefile +++ b/net/iaxmodem/Makefile @@ -12,7 +12,7 @@ COMMENT= Software modem that connects to IAX channel LIB_DEPENDS= libtiff.so:${PORTSDIR}/graphics/tiff -USES= perl5 +USES= compiler:features perl5 USE_PERL5= patch HAS_CONFIGURE= yes USE_RC_SUBR= ${PORTNAME} @@ -27,7 +27,12 @@ PORTEXAMPLES= config.ttyIAX iaxmodem-cfg.ttyIAX OPTIONS_DEFINE= DOCS EXAMPLES -.include <bsd.port.options.mk> +.include <bsd.port.pre.mk> + +.if ${ARCH} == i386 && ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 36 +# gsm0610_rpe.c:81:10: error: invalid operand for instruction +USE_GCC= yes +.endif post-patch: @${PERL} -0pi.bak -e "s|for ac_header in tgmath\.h.*?done||s" \ @@ -43,4 +48,4 @@ do-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} -.include <bsd.port.mk> +.include <bsd.port.post.mk> |