diff options
author | antoine <antoine@FreeBSD.org> | 2017-02-25 22:39:00 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2017-02-25 22:39:00 +0800 |
commit | b55ca5c102e360ec8b7e3e8552e5c208e7d0bbf3 (patch) | |
tree | 31a1bbdb0a478b7b9ec0ea6853342f91ef91a31d /emulators | |
parent | 987d44eac18148784add7073304957bdb92ac6c1 (diff) | |
download | freebsd-ports-gnome-b55ca5c102e360ec8b7e3e8552e5c208e7d0bbf3.tar.gz freebsd-ports-gnome-b55ca5c102e360ec8b7e3e8552e5c208e7d0bbf3.tar.zst freebsd-ports-gnome-b55ca5c102e360ec8b7e3e8552e5c208e7d0bbf3.zip |
Fix "make test" when PREFIX != LOCALBASE
Reported by: jbeich
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/unicorn/files/patch-tests_unit_Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emulators/unicorn/files/patch-tests_unit_Makefile b/emulators/unicorn/files/patch-tests_unit_Makefile index ae82f6e9dbdf..cd7991d53e08 100644 --- a/emulators/unicorn/files/patch-tests_unit_Makefile +++ b/emulators/unicorn/files/patch-tests_unit_Makefile @@ -4,7 +4,7 @@ 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) |