ref: 944855bcd1f27e4ccc28e6a5e7d59b2ae28665fc
parent: b5f87777fd56136fdccd397daa394c3834a75e89
author: JonathanS <mail@strfry.org>
date: Sun Apr 29 21:06:40 EDT 2018
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