FreeBSD Bugzilla – Attachment 212849 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.2 patch file
nift-2.0.1-to-2.2.patch (text/plain), 3.55 KB, created by
Mohammad S. Babaei
on 2020-03-30 00:12:03 UTC
(
hide
)
Description:
www/nift-2.0.1 to 2.2 patch file
Filename:
MIME Type:
Creator:
Mohammad S. Babaei
Created:
2020-03-30 00:12:03 UTC
Size:
3.55 KB
patch
obsolete
>diff -urN nift-orig/Makefile nift/Makefile >--- nift-orig/Makefile 2020-03-29 23:45:24.191547000 +0000 >+++ nift/Makefile 2020-03-29 23:50:24.394866000 +0000 >@@ -3,7 +3,7 @@ > > PORTNAME= nift > DISTVERSIONPREFIX= v >-DISTVERSION= 2.0.1 >+DISTVERSION= 2.2 > 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-29 23:45:24.191981000 +0000 >+++ nift/distinfo 2020-03-29 23:50:28.783016000 +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 = 1585525828 >+SHA256 (nifty-site-manager-nsm-v2.2_GH0.tar.gz) = 65d0d597aa0de5683a63e3f0524e1aa5d99e081aeb3124624c612e55b49c54be >+SIZE (nifty-site-manager-nsm-v2.2_GH0.tar.gz) = 1201641 >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-30 00:04:30.301592000 +0000 >@@ -0,0 +1,65 @@ >+--- Makefile.orig 2020-03-29 23:58:44 UTC >++++ Makefile >+@@ -30,8 +30,7 @@ else ifeq ($(detected_OS),Windows) # Windows >+ else ifeq ($(detected_OS),FreeBSD) #FreeBSD >+ CXX=clang >+ CXXFLAGS+= -s -Qunused-arguments -lstdc++ >+- LINK+= -ldl -lm -LLuaJIT/src -lluajit #use Nift built LuaJIT >+- #LINK+= -ldl -lm -L/usr/local/lib -lluajit-5.1 #use FreeBSD LuaJIT >++ LINK+= -ldl -lm -L/usr/local/lib -lluajit-5.1 #use FreeBSD LuaJIT >+ else # *nix >+ #use these flags for a smaller binary >+ #CXXFLAGS+= -s >+@@ -51,7 +50,7 @@ endif >+ >+ ### >+ >+-all: make-luajit nsm >++all: nsm >+ >+ ### >+ >+@@ -62,9 +61,6 @@ ifeq ($(detected_OS),Darwin) # Mac OSX >+ else ifeq ($(detected_OS),Windows) # Windows >+ cd LuaJIT && make >+ copy LuaJIT\src\lua51.dll . >+-else ifeq ($(detected_OS),FreeBSD) #FreeBSD >+- cd LuaJIT && gmake >+- cp LuaJIT/src/libluajit.so ./ >+ else # *nix >+ cd LuaJIT && make >+ endif >+@@ -159,7 +155,6 @@ ifeq ($(detected_OS),Windows) # Windows >+ else ifeq ($(detected_OS),FreeBSD) #FreeBSD >+ mkdir -p ${BINDIR} >+ chmod 755 nsm >+- mv libluajit.so ${LIBDIR}/libluajit-5.1.so.2 >+ mv nift ${BINDIR} >+ mv nsm ${BINDIR} >+ else # *nix >+@@ -175,7 +170,6 @@ ifeq ($(detected_OS),Windows) # Windows >+ @echo "and 'nift.exe' from install location, typically " >+ @echo "'C:\Windows\System32'" >+ else ifeq ($(detected_OS),FreeBSD) #FreeBSD >+- rm ${LIBDIR}/libluajit-5.1.so.2 >+ rm ${BINDIR}/nift >+ rm ${BINDIR}/nsm >+ else # *nix >+@@ -201,7 +195,6 @@ else ifeq ($(detected_OS),Windows) # Windows >+ #cd LuaJIT && make clean #this doesn't work for some reason >+ else ifeq ($(detected_OS),FreeBSD) #FreeBSD >+ rm -f $(objects) >+- cd LuaJIT && gmake clean >+ else # *nix >+ rm -f $(objects) >+ cd LuaJIT && make clean >+@@ -215,8 +208,7 @@ else ifeq ($(detected_OS),Windows) # Windows >+ del -f $(objects) nsm.exe nift.exe lua51.dll >+ #cd LuaJIT && make clean #see same line for clean >+ else ifeq ($(detected_OS),FreeBSD) #FreeBSD >+- rm -f $(objects) nsm nift libluajit.so >+- cd LuaJIT && gmake clean >++ rm -f $(objects) nsm nift >+ else # *nix >+ rm -f $(objects) nsm nift >+ cd LuaJIT && make clean
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