From 15bd20dde10b1f124bbd69f6a357eae626da9c33 Mon Sep 17 00:00:00 2001 From: Chris Olstrom Date: Thu, 8 Jun 2017 09:10:01 -0700 Subject: [PATCH] Builds on macOS/Darwin as FreeBSD --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index af0c297..6379dac 100644 --- a/Makefile +++ b/Makefile @@ -61,6 +61,10 @@ INSTALL_TARGETS += $(DESTDIR)/lib/smartdc/mdata-get PKGNAME = joyent-mdata-client endif +ifeq ($(UNAME_S),Darwin) +UNAME_S = FreeBSD +endif + ifeq ($(UNAME_S),FreeBSD) CC = cc