From 9204daf8e75eee08b16ffa7b30ef06df2ad8932a Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Thu, 27 Dec 2018 13:58:13 +0100 Subject: [PATCH] nfs-utils: Add build_in_sourcedir Without build_in_sourcedir the build fails, because -I is used with relative paths ( `-I../../support/include` ) : gcc -DHAVE_CONFIG_H -I. -I/scratch/local/bee-root/nfs-utils/nfs-utils-2.3.3-0/source/support/export -I../../support/include -I/usr/include/tirpc -D_GNU_SOURCE -pipe -Wall -Wextra -Werror=strict-prototypes -Werror=missing-prototypes -Werror=missing-declarations -Werror=format=2 -Werror=undef -Werror=missing-include-dirs -Werror=strict-aliasing=2 -Werror=init-self -Werror=implicit-function-declaration -Werror=return-type -Werror=switch -Werror=overflow -Werror=parentheses -Werror=aggregate-return -Werror=unused-result -fno-strict-aliasing -Werror=format-overflow=2 -Werror=int-conversion -Werror=incompatible-pointer-types -Werror=misleading-indentation -g -O2 -MT client.o -MD -MP -MF .deps/client.Tpo -c -o client.o /scratch/local/bee-root/nfs-utils/nfs-utils-2.3.3-0/source/support/export/client.c /scratch/local/bee-root/nfs-utils/nfs-utils-2.3.3-0/source/support/export/client.c:22:10: fatal error: sockaddr.h: No such file or directory #include "sockaddr.h" ^~~~~~~~~~~~ compilation terminated. Add build_in_sourcedir. --- nfs-utils.be0 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nfs-utils.be0 b/nfs-utils.be0 index e22928cda..21604faeb 100755 --- a/nfs-utils.be0 +++ b/nfs-utils.be0 @@ -22,7 +22,7 @@ SRCURL[0]="https://sourceforge.net/projects/nfs/files/nfs-utils/${PKGVERSION}/nf ## outside the source directory and needs to be built inside the source ## directory. -# build_in_sourcedir +build_in_sourcedir ############################################################################### ## bee cannot detect buildtypes specified in subdirectories.