diff options
author | ngie <ngie@FreeBSD.org> | 2016-01-19 23:18:49 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2016-01-19 23:18:49 +0000 |
commit | 223081e0c89077309760cd2f5ce595677493432e (patch) | |
tree | 076d27ffb83dbed9b844dbb7b4ee0db26c265e62 /lib | |
parent | 73c42f454f020871f99f36350a399d27874a87c5 (diff) | |
download | FreeBSD-src-223081e0c89077309760cd2f5ce595677493432e.zip FreeBSD-src-223081e0c89077309760cd2f5ce595677493432e.tar.gz |
Default __MAKE_SHELL to /bin/sh when generating aton_ether_subr.c via
`gen_ether_subr`.
__MAKE_SHELL is only defined when installworld is run on stable/10,
which breaks workflows dealing with source trees mounted with noexec [*]
This is a direct commit to stable/10
Reported by: Mark Martinec <Mark.Martinec+freebsd@ijs.si>
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/tests/net/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/tests/net/Makefile b/lib/libc/tests/net/Makefile index a88f44f..fb76f26 100644 --- a/lib/libc/tests/net/Makefile +++ b/lib/libc/tests/net/Makefile @@ -28,6 +28,8 @@ PROGS+= h_dns_server DPADD.h_nsd_recurse+= ${LIBPTHREAD} LDADD.h_nsd_recurse+= -lpthread +__MAKE_SHELL?= /bin/sh + CLEANFILES+= aton_ether_subr.c aton_ether_subr.c: gen_ether_subr ${.CURDIR:H:H:H:H}/sys/net/if_ethersubr.c ${__MAKE_SHELL} ${.ALLSRC} ${.TARGET} |