From owner-svn-ports-all@freebsd.org Sat Feb 27 01:37:05 2021 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 31A9655686A; Sat, 27 Feb 2021 01:37:05 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DnTf90wf5z3j1t; Sat, 27 Feb 2021 01:37:05 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 12A94153B0; Sat, 27 Feb 2021 01:37:05 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 11R1b4HO020106; Sat, 27 Feb 2021 01:37:04 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 11R1b4CI020105; Sat, 27 Feb 2021 01:37:04 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <202102270137.11R1b4CI020105@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Sat, 27 Feb 2021 01:37:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r566650 - head/math/calc/files X-SVN-Group: ports-head X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: head/math/calc/files X-SVN-Commit-Revision: 566650 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2021 01:37:05 -0000 Author: linimon Date: Sat Feb 27 01:37:04 2021 New Revision: 566650 URL: https://svnweb.freebsd.org/changeset/ports/566650 Log: Disable -march=native to fix build on riscv64: cc: error: invalid arch name 'native', string must begin with rv32{i,e,g} or rv64{i,g} (For cluster building, it should not be set in any case.) Approved by: maintainer Modified: head/math/calc/files/patch-Makefile.ship Modified: head/math/calc/files/patch-Makefile.ship ============================================================================== --- head/math/calc/files/patch-Makefile.ship Sat Feb 27 00:23:16 2021 (r566649) +++ head/math/calc/files/patch-Makefile.ship Sat Feb 27 01:37:04 2021 (r566650) @@ -1,6 +1,6 @@ ---- Makefile.ship.orig 2019-11-04 23:36:46 UTC +--- Makefile.ship.orig 2021-02-20 17:27:50 UTC +++ Makefile.ship -@@ -581,7 +581,7 @@ else +@@ -579,7 +579,7 @@ else #endif /* end of skip for non-Gnu makefiles */ # default INCDIR for non-macOS @@ -9,7 +9,7 @@ #INCDIR= /usr/local/include #INCDIR= /dev/env/DJDIR/include -@@ -644,7 +644,7 @@ else +@@ -642,7 +642,7 @@ else #endif /* end of skip for non-Gnu makefiles */ # default BINDIR for non-macOS @@ -18,7 +18,7 @@ #BINDIR= /usr/local/bin #BINDIR= /dev/env/DJDIR/bin -@@ -660,7 +660,7 @@ else +@@ -658,7 +658,7 @@ else #endif /* end of skip for non-Gnu makefiles */ # default LIBDIR for non-macOS @@ -27,7 +27,7 @@ #LIBDIR= /usr/local/lib #LIBDIR= /dev/env/DJDIR/lib -@@ -676,7 +676,7 @@ else +@@ -674,7 +674,7 @@ else #endif /* end of skip for non-Gnu makefiles */ # default CALC_SHAREDIR for non-macOS @@ -36,7 +36,7 @@ #CALC_SHAREDIR= /usr/local/lib/calc #CALC_SHAREDIR= /dev/env/DJDIR/share/calc -@@ -690,7 +690,7 @@ endif +@@ -688,7 +688,7 @@ endif # #CALC_INCDIR= /usr/local/include/calc #CALC_INCDIR= /dev/env/DJDIR/include/calc @@ -45,7 +45,7 @@ # By default, these values are based CALC_SHAREDIR, INCDIR, BINDIR # --------------------------------------------------------------- -@@ -717,7 +717,7 @@ HELPDIR= ${CALC_SHAREDIR}/help +@@ -715,7 +715,7 @@ HELPDIR= ${CALC_SHAREDIR}/help CUSTOMCALDIR= ${CALC_SHAREDIR}/custom CUSTOMHELPDIR= ${CALC_SHAREDIR}/custhelp CUSTOMINCDIR= ${CALC_INCDIR}/custom @@ -54,7 +54,7 @@ # T - top level directory under which calc will be installed # -@@ -749,7 +749,7 @@ SCRIPTDIR= ${BINDIR}/cscript +@@ -747,7 +747,7 @@ SCRIPTDIR= ${BINDIR}/cscript # # If in doubt, use T= # @@ -63,7 +63,7 @@ # where man pages are installed # -@@ -760,7 +760,7 @@ T= +@@ -758,7 +758,7 @@ T= #MANDIR= #MANDIR= /usr/local/man/man1 #MANDIR= /usr/man/man1 @@ -72,7 +72,7 @@ #MANDIR= /dev/env/DJDIR/man/man1 #MANDIR= /usr/man/u_man/man1 #MANDIR= /usr/contrib/man/man1 -@@ -895,11 +895,11 @@ CALCRC= ${CALC_SHAREDIR}/startup:~/.calcrc:./.calcinit +@@ -893,11 +893,11 @@ CALCRC= ${CALC_SHAREDIR}/startup:~/.calc # # If in doubt, set USE_READLINE, READLINE_LIB and READLINE_INCLUDE to nothing. # @@ -87,7 +87,7 @@ # #READLINE_LIB= -lreadline #READLINE_EXTRAS= -lhistory -lncurses -@@ -925,7 +925,7 @@ READLINE_EXTRAS= +@@ -923,7 +923,7 @@ READLINE_EXTRAS= #READLINE_LIB= -L/usr/local/opt/readline/lib -lreadline #READLINE_EXTRAS= -lhistory -lncurses # @@ -96,7 +96,7 @@ #READLINE_INCLUDE= -I/usr/gnu/include #READLINE_INCLUDE= -I/usr/local/include -@@ -936,7 +936,7 @@ READLINE_INCLUDE= +@@ -934,7 +934,7 @@ READLINE_INCLUDE= #CALCPAGER= more #CALCPAGER= pg #CALCPAGER= cat @@ -105,7 +105,16 @@ #CALCPAGER= less.exe -ci # Debug/Optimize options for ${CC} and ${LCC} -@@ -1384,8 +1384,8 @@ CCWERR= +@@ -1125,7 +1125,7 @@ EXTRA_LDFLAGS= + # The ARCH_CFLAGS are ${CC} when compiling C files. They follow + # CCMISC and precede EXTRA_CFLAGS. + # +-ARCH_CFLAGS= -march=native ++#ARCH_CFLAGS= -march=native + #ARCH_CFLAGS= + + # COMMON_CFLAGS are the common ${CC} flags used for all programs, both +@@ -1398,8 +1398,8 @@ CCWERR= CCOPT= ${DEBUG} CCMISC= # @@ -116,7 +125,7 @@ # MAKE= gmake # -@@ -1734,7 +1734,7 @@ ICFLAGS= ${COMMON_CFLAGS} ${CC_STATIC} +@@ -1748,7 +1748,7 @@ ICFLAGS= ${COMMON_CFLAGS} ${CC_STATIC} else ICFLAGS= ${COMMON_CFLAGS} ${CC_SHARE} endif