FreeBSD Bugzilla – Attachment 212563 Details for
Bug 244941
www/nift: Update to 2.2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
www/nift-2.0.1 to 2.1 patch file
nift-2.0.1-to-2.1.patch (text/plain), 3.32 KB, created by
Mohammad S. Babaei
on 2020-03-21 01:13:36 UTC
(
hide
)
Description:
www/nift-2.0.1 to 2.1 patch file
Filename:
MIME Type:
Creator:
Mohammad S. Babaei
Created:
2020-03-21 01:13:36 UTC
Size:
3.32 KB
patch
obsolete
>diff -urN nift-orig/Makefile nift/Makefile >--- nift-orig/Makefile 2020-03-21 00:12:55.167151000 +0000 >+++ nift/Makefile 2020-03-21 01:06:35.380290000 +0000 >@@ -3,7 +3,7 @@ > > PORTNAME= nift > DISTVERSIONPREFIX= v >-DISTVERSION= 2.0.1 >+DISTVERSION= 2.1 > CATEGORIES= www > > MAINTAINER= info@babaei.net >@@ -12,7 +12,9 @@ > LICENSE= MIT > LICENSE_FILE= ${WRKSRC}/LICENSE > >-USES= compiler:c++11-lang >+LIB_DEPENDS= libluajit-5.1.so:lang/luajit >+ >+USES= compiler:c++11-lang gmake > USE_GITHUB= yes > GH_ACCOUNT= nifty-site-manager > GH_PROJECT= nsm >diff -urN nift-orig/distinfo nift/distinfo >--- nift-orig/distinfo 2020-03-21 00:12:55.167251000 +0000 >+++ nift/distinfo 2020-03-21 00:14:28.900053000 +0000 >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1578262769 >-SHA256 (nifty-site-manager-nsm-v2.0.1_GH0.tar.gz) = 66aad5d280b7d7ea8a5ea5b6bee24a69883218df2bc455e7ffb60343b77d4e4a >-SIZE (nifty-site-manager-nsm-v2.0.1_GH0.tar.gz) = 53160 >+TIMESTAMP = 1584749668 >+SHA256 (nifty-site-manager-nsm-v2.1_GH0.tar.gz) = cf96fb9738afddd97d7ea24cbd4e890600db69b7eb7a743a8dbb73ec20eb1348 >+SIZE (nifty-site-manager-nsm-v2.1_GH0.tar.gz) = 1027075 >diff -urN nift-orig/files/patch-LuaJIT_src_Makefile nift/files/patch-LuaJIT_src_Makefile >--- nift-orig/files/patch-LuaJIT_src_Makefile 1970-01-01 00:00:00.000000000 +0000 >+++ nift/files/patch-LuaJIT_src_Makefile 2020-03-21 00:28:45.694749000 +0000 >@@ -0,0 +1,11 @@ >+--- LuaJIT/src/Makefile.orig 2020-03-21 00:27:44 UTC >++++ LuaJIT/src/Makefile >+@@ -24,7 +24,7 @@ NODOTABIVER= 51 >+ # removing the '#' in front of them. Make sure you force a full recompile >+ # with "make clean", followed by "make" if you change any options. >+ # >+-DEFAULT_CC = gcc >++DEFAULT_CC = clang >+ # >+ # LuaJIT builds as a native 32 or 64 bit binary by default. >+ CC= $(DEFAULT_CC) >diff -urN nift-orig/files/patch-Makefile nift/files/patch-Makefile >--- nift-orig/files/patch-Makefile 1970-01-01 00:00:00.000000000 +0000 >+++ nift/files/patch-Makefile 2020-03-21 01:07:58.280616000 +0000 >@@ -0,0 +1,48 @@ >+--- Makefile.orig 2020-03-15 09:57:07 UTC >++++ Makefile >+@@ -26,10 +26,9 @@ else ifeq ($(detected_OS),Windows) # Windows >+ #CXXFLAGS+= -s -Wa,-mbig-obj -static-libgcc -static-libstdc++ -Wno-cast-function-type -Wno-error=cast-function-type >+ LINK+= -L. -llua51 >+ else # *nix >+- CXXFLAGS+= -s >+ #flags to use when compiling for Netlify & Releases >+ #CXXFLAGS+= -s -static-libgcc -static-libstdc++ >+- LINK+= -ldl -LLuaJIT/src -lluajit >++ LINK+= -ldl -L/usr/local/lib -lluajit-5.1 >+ endif >+ >+ #ifeq ($(detected_OS),Linux) # Linux >+@@ -43,7 +42,7 @@ endif >+ >+ ### >+ >+-all: make-luajit nsm >++all: nsm >+ >+ ### >+ >+@@ -55,7 +54,7 @@ else ifeq ($(detected_OS),Windows) # Windows >+ cd LuaJIT && make >+ copy LuaJIT\src\lua51.dll . >+ else # *nix >+- cd LuaJIT && make >++ cd LuaJIT && gmake >+ endif >+ >+ ### >+@@ -180,7 +179,7 @@ else ifeq ($(detected_OS),Windows) # Windows >+ #cd LuaJIT && make clean #this doesn't work for some reason >+ else # *nix >+ rm -f $(objects) >+- cd LuaJIT && make clean >++ cd LuaJIT && gmake clean >+ endif >+ >+ clean-all: >+@@ -192,5 +191,5 @@ else ifeq ($(detected_OS),Windows) # Windows >+ #cd LuaJIT && make clean #see same line for clean >+ else # *nix >+ rm -f $(objects) nsm nift >+- cd LuaJIT && make clean >++ cd LuaJIT && gmake clean >+ endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
info
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 244941
:
212563
|
212849