pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/R-httpuv
Module Name: pkgsrc
Committed By: joerg
Date: Wed Dec 18 12:44:39 UTC 2019
Modified Files:
pkgsrc/www/R-httpuv: Makefile distinfo
Added Files:
pkgsrc/www/R-httpuv/patches: patch-src_Makevars
Log Message:
Use external libuv.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/www/R-httpuv/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/www/R-httpuv/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/www/R-httpuv/patches/patch-src_Makevars
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/R-httpuv/Makefile
diff -u pkgsrc/www/R-httpuv/Makefile:1.3 pkgsrc/www/R-httpuv/Makefile:1.4
--- pkgsrc/www/R-httpuv/Makefile:1.3 Thu Sep 26 22:18:09 2019
+++ pkgsrc/www/R-httpuv/Makefile Wed Dec 18 12:44:39 2019
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2019/09/26 22:18:09 brook Exp $
+# $NetBSD: Makefile,v 1.4 2019/12/18 12:44:39 joerg Exp $
R_PKGNAME= httpuv
R_PKGVER= 1.5.1
+PKGREVISION= 1
CATEGORIES= www
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
@@ -18,5 +19,6 @@ USE_LANGUAGES= c c++
.include "../../math/R/Makefile.extension"
.include "../../devel/R-Rcpp/buildlink3.mk"
.include "../../devel/boost-headers/buildlink3.mk"
+.include "../../devel/libuv/buildlink3.mk"
.include "../../sysutils/R-later/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/www/R-httpuv/distinfo
diff -u pkgsrc/www/R-httpuv/distinfo:1.1 pkgsrc/www/R-httpuv/distinfo:1.2
--- pkgsrc/www/R-httpuv/distinfo:1.1 Fri Aug 9 20:26:46 2019
+++ pkgsrc/www/R-httpuv/distinfo Wed Dec 18 12:44:39 2019
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2019/08/09 20:26:46 brook Exp $
+$NetBSD: distinfo,v 1.2 2019/12/18 12:44:39 joerg Exp $
SHA1 (R/httpuv_1.5.1.tar.gz) = 5dd42f39bfda919ad890eea978089d27b2bc72da
RMD160 (R/httpuv_1.5.1.tar.gz) = 24558208c04722e5844ccbe87fdcefc8db9aaa29
SHA512 (R/httpuv_1.5.1.tar.gz) = 17d1d9a922c17ebd738a59d3671e3d29f097937ef60774898f71dcfa0468d73d8c3b32915b6990941c9b7b03929fbdd6405932fa69672b004a0d129d3cded8c0
Size (R/httpuv_1.5.1.tar.gz) = 1758514 bytes
+SHA1 (patch-src_Makevars) = d4fa4eea362aca5647b859cfaefa0fda6bd55c4e
Added files:
Index: pkgsrc/www/R-httpuv/patches/patch-src_Makevars
diff -u /dev/null pkgsrc/www/R-httpuv/patches/patch-src_Makevars:1.1
--- /dev/null Wed Dec 18 12:44:39 2019
+++ pkgsrc/www/R-httpuv/patches/patch-src_Makevars Wed Dec 18 12:44:39 2019
@@ -0,0 +1,31 @@
+$NetBSD: patch-src_Makevars,v 1.1 2019/12/18 12:44:39 joerg Exp $
+
+--- src/Makevars.orig 2019-04-05 20:06:25.000000000 +0000
++++ src/Makevars
+@@ -9,7 +9,7 @@ ifeq ($(UNAME), Darwin)
+ FRAMEWORK = -framework CoreServices
+ endif
+
+-PKG_LIBS = ./libuv/.libs/libuv.a ./http-parser/http_parser.o ./sha1/sha1.o ./base64/base64.o $(FRAMEWORK) -pthread
++PKG_LIBS = -luv ./http-parser/http_parser.o ./sha1/sha1.o ./base64/base64.o $(FRAMEWORK) -pthread
+ ifeq ($(UNAME), SunOS)
+ PKG_LIBS += -lkstat -lsendfile -lsocket -lxnet
+ endif
+@@ -22,7 +22,7 @@ endif
+
+ PKG_CFLAGS = $(C_VISIBILITY) -DSTRICT_R_HEADERS
+ PKG_CXXFLAGS = $(CXX_VISIBILITY) -DSTRICT_R_HEADERS
+-PKG_CPPFLAGS = -Ilibuv/include -pthread
++PKG_CPPFLAGS = -I${PREFIX} -pthread
+
+ # To avoid spurious warnings from `R CMD check --as-cran`, about compiler
+ # warning flags like -Werror.
+@@ -44,7 +44,7 @@ CONFIGURE_FLAGS="--quiet"
+ # PKG_CPPFLAGS += -D_GLIBCXX_ASSERTIONS
+
+
+-$(SHLIB): libuv/.libs/libuv.a http-parser/http_parser.o sha1/sha1.o base64/base64.o
++$(SHLIB): http-parser/http_parser.o sha1/sha1.o base64/base64.o
+
+ # We needed to rename lt~obsolete.m4 because the name causes problems with R
+ # CMD check. Here we rename it back.
Home |
Main Index |
Thread Index |
Old Index