From owner-svn-ports-all@freebsd.org Sat Feb 25 13:55:55 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5F325CECC90; Sat, 25 Feb 2017 13:55:55 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4397F307; Sat, 25 Feb 2017 13:55:55 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id 952F63D90; Sat, 25 Feb 2017 13:55:54 +0000 (UTC) To: antoine@FreeBSD.org, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r434801 - in head/emulators/unicorn: . files In-Reply-To: <201702251309.v1PD9tQM048800@repo.freebsd.org> Message-Id: <20170225135554.952F63D90@freefall.freebsd.org> Date: Sat, 25 Feb 2017 13:55:54 +0000 (UTC) From: jbeich@freebsd.org (Jan Beich) X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Feb 2017 13:55:55 -0000 Antoine Brodin writes: > + CFLAGS += -L ../../ -I ../../include > +-CFLAGS += -L ../../cmocka/src -I ../../cmocka/include > ++CFLAGS += -L $(PREFIX)/lib -I $(PREFIX)/include Other ports are installed under LOCALBASE, not PREFIX. $ pkg install cmocka gmake python27 $ make clean test PREFIX=/tmp/test -C /usr/ports/emulators/unicorn [...] ===> unicorn-1.0 depends on package: cmocka>0 - found gmake[1]: Entering directory '/wrkdirs/usr/ports/emulators/unicorn/work/unicorn-1.0/tests/unit' cc -O0 -pipe -fstack-protector -fno-strict-aliasing -Wall -Werror -Wno-unused-function -g -L ../../-I ../../include -L /tmp/test/lib -I /tmp/test/include -fstack-protector test_x86_soft_paging.c -lcmocka -lunicorn -o test_x86_soft_paging In file included from test_x86_soft_paging.c:1: ./unicorn_test.h:7:10: fatal error: 'cmocka.h' file not found #include ^ 1 error generated.