From 69dcd5af55cfdc5bd409f589584fe426d8a2a315 Mon Sep 17 00:00:00 2001 From: phryk Date: Wed, 26 Aug 2020 18:47:33 +0200 Subject: Modified conditional to set INSTALL executable to ginstall for FreeBSD. --- ffi/Makefile | 2 +- ffi/lang/python/Makefile | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'ffi') 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 -- cgit v1.2.3