summaryrefslogtreecommitdiffstats
path: root/ffi
diff options
context:
space:
mode:
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