devel/9base: fix build on recent current

This commit is contained in:
Tobias C. Berner 2020-08-27 16:34:54 +00:00
parent 9fbfada19a
commit 1793b65e6d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=546360

View File

@ -27,6 +27,9 @@ MAKE_ARGS= PREFIX="${PREFIX}/9" CC="${CC}" MANPREFIX="${MANPREFIX}/man" \
CFLAGS="${CFLAGS} -I. -c" LDFLAGS="${LDFLAGS} -L."
MAKE_JOBS_UNSAFE= yes
# Fix build on current
CFLAGS+= -fcommon
post-patch:
@${REINPLACE_CMD} -e 's|PREFIX|"${PREFIX}/9"|' ${WRKSRC}/lib9/get9root.c