ref: 3c8773ccf3d980587f6aeccee55a44200464e25a
parent: b5f87777fd56136fdccd397daa394c3834a75e89
parent: 944855bcd1f27e4ccc28e6a5e7d59b2ae28665fc
author: guangwei <GuangweiWang@users.noreply.github.com>
date: Wed May 2 05:13:50 EDT 2018
Merge pull request #2965 from strfry/master Makefile: Use tr in a POSIX-conform way
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@
vpath %.rc $(SRC_PATH)
vpath %.pc.in $(SRC_PATH)
-OS=$(shell uname | tr A-Z a-z | tr -d \\-[:digit:]. | sed -E 's/^(net|open|free)bsd/bsd/')
+OS=$(shell uname | tr A-Z a-z | tr -d \\-0-9. | sed -E 's/^(net|open|free)bsd/bsd/')
ARCH=$(shell uname -m)
LIBPREFIX=lib
LIBSUFFIX=a