Re: [sparc64/base-gcc] Fix build of sysutils/nnn

2020-06-10 Thread Klemens Nanni
On Wed, Jun 10, 2020 at 02:00:27AM -0400, Kurt Mosiejczuk wrote:
> sysutils/nnn requires ports-gcc on base-gcc architectures. This patch
> fixes the build for sparc64.
Sure.  A comment with reasons for this would help, too.



Re: [sparc64/base-gcc] Fix build of sysutils/nnn

2020-06-10 Thread Martin Ziemer
On Wed, Jun 10, 2020 at 02:00:27AM -0400, Kurt Mosiejczuk wrote:
> sysutils/nnn requires ports-gcc on base-gcc architectures. This patch
> fixes the build for sparc64.
> 
> ok?
Looks good to me on amd64:
Built and used on two amd64 systems with no problems.



[sparc64/base-gcc] Fix build of sysutils/nnn

2020-06-10 Thread Kurt Mosiejczuk
sysutils/nnn requires ports-gcc on base-gcc architectures. This patch
fixes the build for sparc64.

ok?

(cc maintainer)

--Kurt

Index: Makefile
===
RCS file: /cvs/ports/sysutils/nnn/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile26 May 2020 12:46:34 -  1.8
+++ Makefile29 May 2020 17:16:39 -
@@ -19,6 +19,9 @@
 
 MASTER_SITES = https://github.com/jarun/nnn/releases/download/v${V}/
 
+COMPILER = base-clang ports-gcc
+COMPILER_LANGS =   c
+
 MAKE_FLAGS =   CFLAGS_OPTIMIZATION=
 FAKE_FLAGS =   MANPREFIX="$(PREFIX)/man" \
PREFIX="${PREFIX}"