[Bug 278203] [UPGRADE] www/nift from 2.4.11 to 3.0.3

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 07 Apr 2024 03:35:31 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278203

--- Comment #3 from Mohammad S. Babaei <info@babaei.net> ---
Thank you for the patch!

However, two things:

1. The following is unnecessary:
PORTREVISION=   0

You could just remove the line.

2. I just ran applied the patch and ran a make and I get:

 make
===>  Building for nift-3.0.3
clang -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -std=c++11 -Wall
-Wextra -pedantic -O3 -Dexprtk_disable_caseinsensitivity -s -Qunused-arguments
-lstdc++ -D__LUAJIT_VERSION_2_1__ -c -o GitInfo.o GitInfo.cpp
clang -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -std=c++11 -Wall
-Wextra -pedantic -O3 -Dexprtk_disable_caseinsensitivity -s -Qunused-arguments
-lstdc++ -D__LUAJIT_VERSION_2_1__ -c -o Expr.o Expr.cpp
clang -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -std=c++11 -Wall
-Wextra -pedantic -O3 -Dexprtk_disable_caseinsensitivity -s -Qunused-arguments
-lstdc++ -D__LUAJIT_VERSION_2_1__ -c -o Variables.o Variables.cpp
clang -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -std=c++11 -Wall
-Wextra -pedantic -O3 -Dexprtk_disable_caseinsensitivity -s -Qunused-arguments
-lstdc++ -D__LUAJIT_VERSION_2_1__ -c -o Lolcat.o Lolcat.cpp
clang -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -std=c++11 -Wall
-Wextra -pedantic -O3 -Dexprtk_disable_caseinsensitivity -s -Qunused-arguments
-lstdc++ -D__LUAJIT_VERSION_2_1__ -c -o Lua.o Lua.cpp
clang -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -std=c++11 -Wall
-Wextra -pedantic -O3 -Dexprtk_disable_caseinsensitivity -s -Qunused-arguments
-lstdc++ -D__LUAJIT_VERSION_2_1__ -c -o Pagination.o Pagination.cpp
In file included from Lua.cpp:1:
./Lua.h:41:12: fatal error: '/usr/local/include/luajit-2.1/lua.hpp' file not
found
                #include "/usr/local/include/luajit-2.1/lua.hpp"
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
gmake: *** [Makefile:258: Lua.o] Error 1
gmake: *** Waiting for unfinished jobs....
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/home/mamadou/www/nift
*** Error code 1

Stop.
make: stopped in /usr/home/mamadou/www/nift


I will investigate this later when I have a bit more time since I haven't
touched this port for quite a while. In the meantime feel free to submit a new
patch if you feel you could fix it.

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