[Bug 271760] [NEW PORT] lang/nll Simple language for programming learning

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 05 Aug 2023 13:47:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271760

Robert Clausecker <fuz@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Open
           Assignee|ports-bugs@FreeBSD.org      |fuz@FreeBSD.org

--- Comment #3 from Robert Clausecker <fuz@FreeBSD.org> ---
Thank you for your submission.  I apologise for the slow processing.
Please check the output of the portlint tool on your port.  It reports the
following problems:

 - The project URL (WWW) has moved from pkg-descr to Makefile.  Please
   put a WWW=... into Makefile as per Porter's Handbook instead of
   having it in pkg-descr
 - use DISTNAME and USES=zip instead of setting DISTFILES
 - USE_GCC has changed lately.  Please fix the port to confirm to the new
   way this variable works.  USE_GCC=yes should work
 - please define LICENSE.  See the Porter's Handbook for details.
 - it seems that the license file is encoded in shift-JIS.  Check if you can
   transcode it into UTF-8 for installation (e.g. with iconv(1)).

More egregious is that the port does not build for me.  It seems like it hard
codes gcc as the compiler.  No such binary exists on my system:

===>  Building for nll-20230601a
gcc -E -O -Wall -g -fno-inline    -DUSE_LIBEDIT    -DUSE_CURSES -DUSE_GRAPHIC
-DUSE_AUDIO  -DUSE_SDL2     -DUSE_FLOATING_POINT -DUSE_MATHLIB
-DUSE_MATHBUILTIN -DUSE_SYSTEM_FUNCTION -DUSE_SYSCALL_FUNCTION main.c -o main.i
make[2]: exec(gcc) failed (No such file or directory)

You need to patch the port so it uses ${CC} as the compiler.  Ports must obey
whatever compiler CC is set to so the user can override the compiler.

Please check and resubmit.

-- 
You are receiving this mail because:
You are the assignee for the bug.