Date: Fri, 19 Jun 2020 14:01:43 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r539610 - branches/2020Q2/devel/plan9port Message-ID: <202006191401.05JE1hGo095922@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Fri Jun 19 14:01:43 2020 New Revision: 539610 URL: https://svnweb.freebsd.org/changeset/ports/539610 Log: MFH: r539609 devel/plan9port: fix build on GCC architectures Use newer GCC: cc1: error: unrecognized command line option "-Wno-misleading-indentation" cc1: error: unrecognized command line option "-Wno-stringop-truncation" cc1: error: unrecognized command line option "-Wno-stringop-overflow" cc1: error: unrecognized command line option "-Wno-format-truncation" Approved by: portmgr (fix build blanket) Modified: branches/2020Q2/devel/plan9port/Makefile Directory Properties: branches/2020Q2/ (props changed) Modified: branches/2020Q2/devel/plan9port/Makefile ============================================================================== --- branches/2020Q2/devel/plan9port/Makefile Fri Jun 19 14:00:16 2020 (r539609) +++ branches/2020Q2/devel/plan9port/Makefile Fri Jun 19 14:01:43 2020 (r539610) @@ -22,7 +22,7 @@ BROKEN_armv7= fails to compile: thread.c:130:5: no me LIB_DEPENDS= libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig -USES= localbase:ldflags perl5 shebangfix xorg +USES= compiler:c11 localbase:ldflags perl5 shebangfix xorg USE_GITHUB= yes GH_ACCOUNT= 9fans GH_TAGNAME= e995a0c101863688d5f14649ae3de45a7c43789c @@ -61,7 +61,8 @@ post-patch: @${REINPLACE_CMD} -e 's|ulong|u64int|' ${WRKSRC}/src/libmach/FreeBSD.c do-configure: - @${ECHO_CMD} 'CFLAGS="${CFLAGS}"' > ${WRKSRC}/LOCAL.config + @${ECHO_CMD} 'CC9="${CC}"' > ${WRKSRC}/LOCAL.config + @${ECHO_CMD} 'CFLAGS="${CFLAGS}"' >> ${WRKSRC}/LOCAL.config @${ECHO_CMD} 'LDFLAGS="${LDFLAGS}"' >> ${WRKSRC}/LOCAL.config @${ECHO_CMD} 'FONTSRV=fontsrv' >> ${WRKSRC}/LOCAL.config
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006191401.05JE1hGo095922>