summaryrefslogtreecommitdiffstats
path: root/ffi
diff options
context:
space:
mode:
authorphryk <phryk@wzff.de>2020-08-26 18:47:33 +0200
committerWiktor Kwapisiewicz <wiktor@metacode.biz>2020-10-14 10:53:49 +0200
commit69dcd5af55cfdc5bd409f589584fe426d8a2a315 (patch)
tree1898b18402f878b5bd13582346c20a2d68a1ab46 /ffi
parent1e503d7f545c2152adc80ed5d4d92053542fcce0 (diff)
Modified conditional to set INSTALL executable to ginstall for FreeBSD.
Diffstat (limited to 'ffi')
-rw-r--r--ffi/Makefile2
-rw-r--r--ffi/lang/python/Makefile3
2 files changed, 3 insertions, 2 deletions
diff --git a/ffi/Makefile b/ffi/Makefile
index 1feb7b53..0812845e 100644
--- a/ffi/Makefile
+++ b/ffi/Makefile
@@ -20,7 +20,7 @@ else
endif
# Tools.
-ifeq ($(shell uname -s), Darwin)
+ifneq ($(filter Darwin FreeBSD,$(shell uname -s)),"")
INSTALL ?= ginstall
else
INSTALL ?= install
diff --git a/ffi/lang/python/Makefile b/ffi/lang/python/Makefile
index 429a133e..99d8847d 100644
--- a/ffi/lang/python/Makefile
+++ b/ffi/lang/python/Makefile
@@ -9,7 +9,8 @@ CFLAGS += -I../../include -I../../../openpgp-ffi/include
PYTHON ?= python3
IPYTHON ?= ipython3
PYTEST ?= pytest-3
-ifeq ($(shell uname -s), Darwin)
+
+ifneq ($(filter Darwin FreeBSD,$(shell uname -s)),"")
INSTALL ?= ginstall
else
INSTALL ?= install