Index: head/emulators/unicorn/files/patch-tests_unit_Makefile =================================================================== --- head/emulators/unicorn/files/patch-tests_unit_Makefile (revision 434814) +++ head/emulators/unicorn/files/patch-tests_unit_Makefile (revision 434815) @@ -1,10 +1,10 @@ --- tests/unit/Makefile.orig 2017-02-23 12:57:14 UTC +++ tests/unit/Makefile @@ -1,6 +1,6 @@ CFLAGS += -Wall -Werror -Wno-unused-function -g CFLAGS += -L ../../ -I ../../include -CFLAGS += -L ../../cmocka/src -I ../../cmocka/include -+CFLAGS += -L $(PREFIX)/lib -I $(PREFIX)/include ++CFLAGS += -L $(LOCALBASE)/lib -I $(LOCALBASE)/include UNAME_S := $(shell uname -s) ifeq ($(UNAME_S), Linux)