Date: Tue, 30 Jun 2015 21:51:56 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r391012 - head/net/iaxmodem Message-ID: <201506302151.t5ULpuDH054724@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Tue Jun 30 21:51:56 2015 New Revision: 391012 URL: https://svnweb.freebsd.org/changeset/ports/391012 Log: - Fix build on 10.x i386: gsm0610_rpe.c:81:10: error: invalid operand for instruction " movq %[gsm_H],%%mm1;\n" ^ Submitted by: pkg-fallout Approved by: portmgr blanket Differential Revision: Modified: head/net/iaxmodem/Makefile Modified: head/net/iaxmodem/Makefile ============================================================================== --- head/net/iaxmodem/Makefile Tue Jun 30 21:49:29 2015 (r391011) +++ head/net/iaxmodem/Makefile Tue Jun 30 21:51:56 2015 (r391012) @@ -12,7 +12,7 @@ COMMENT= Software modem that connects to 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 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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506302151.t5ULpuDH054724>