Skip to content

Commit 78353a4

Browse files
committed
configure tweaks for Solaris
1 parent 91efe63 commit 78353a4

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

README.Rmd

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ knitr::opts_chunk$set(
1717

1818
<!-- badges: start -->
1919

20-
[![nanonext status badge](https://shikokuchuo.r-universe.dev/badges/nanonext)](https://shikokuchuo.r-universe.dev) [![R-CMD-check](https://github.com/shikokuchuo/nanonext/workflows/R-CMD-check/badge.svg)](https://github.com/shikokuchuo/nanonext/actions)
20+
[![nanonext status badge](https://shikokuchuo.r-universe.dev/badges/nanonext?color=112d4e)](https://shikokuchuo.r-universe.dev)
21+
[![R-CMD-check](https://github.com/shikokuchuo/nanonext/workflows/R-CMD-check/badge.svg)](https://github.com/shikokuchuo/nanonext/actions)
2122

2223
<!-- badges: end -->
2324

@@ -99,7 +100,7 @@ recv(socket2)
99100

100101
### Building from source
101102

102-
#### Linux / Mac
103+
#### Linux / Mac / Solaris
103104

104105
Installation from source requires the C library 'libnng' along with its development headers.
105106

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<!-- badges: start -->
77

88
[![nanonext status
9-
badge](https://shikokuchuo.r-universe.dev/badges/nanonext)](https://shikokuchuo.r-universe.dev)
9+
badge](https://shikokuchuo.r-universe.dev/badges/nanonext?color=112d4e)](https://shikokuchuo.r-universe.dev)
1010
[![R-CMD-check](https://github.com/shikokuchuo/nanonext/workflows/R-CMD-check/badge.svg)](https://github.com/shikokuchuo/nanonext/actions)
1111

1212
<!-- badges: end -->
@@ -130,7 +130,7 @@ recv(socket2)
130130

131131
### Building from source
132132

133-
#### Linux / Mac
133+
#### Linux / Mac / Solaris
134134

135135
Installation from source requires the C library ‘libnng’ along with its
136136
development headers.

configure

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ else
4444
echo "Prior system libnng installation not found"
4545
echo "Preparing to download and build library from source..."
4646
curl -L https://github.com/nanomsg/nng/archive/refs/tags/v$LIB_VER.tar.gz -o nng.tar.gz
47-
tar -xzf nng.tar.gz
47+
gzip -dc nng.tar.gz | tar -xf -
4848
rm -f nng.tar.gz
4949
cd nng-$LIB_VER
5050
mkdir build
@@ -81,7 +81,7 @@ if [ $? -ne 0 ]; then
8181
echo "Attempt to use system libnng failed"
8282
echo "Preparing to download and build library from source..."
8383
curl -L https://github.com/nanomsg/nng/archive/refs/tags/v$LIB_VER.tar.gz -o nng.tar.gz
84-
tar -xzf nng.tar.gz
84+
gzip -dc nng.tar.gz | tar -xf -
8585
rm -f nng.tar.gz
8686
cd nng-$LIB_VER
8787
mkdir build

0 commit comments

Comments
 (0)