From: Steffen Vogel Date: Fri, 10 Feb 2017 13:04:42 +0000 (-0300) Subject: Dont mix Homebrew and MacPorts build options X-Git-Tag: yosys-0.8~506^2~1^2~1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9eca3671abe054e973b6c38c6670b0053954b4c2;p=yosys.git Dont mix Homebrew and MacPorts build options --- diff --git a/Makefile b/Makefile index 50dc1b865..1a430277f 100644 --- a/Makefile +++ b/Makefile @@ -73,10 +73,9 @@ LDFLAGS += -L$(BREW_PREFIX)/readline/lib PKG_CONFIG_PATH := $(BREW_PREFIX)/libffi/lib/pkgconfig:$(PKG_CONFIG_PATH) export PATH := $(BREW_PREFIX)/bison/bin:$(BREW_PREFIX)/gettext/bin:$(BREW_PREFIX)/flex/bin:$(PATH) -endif # macports search paths -ifneq ($(shell which port),) +else ifneq ($(shell which port),) PORT_PREFIX := $(patsubst %/bin/port,%,$(shell which port)) CXXFLAGS += -I$(PORT_PREFIX)/include