Fix build after llvm 11 import into 13-current.

This commit is contained in:
Cy Schubert 2020-08-20 18:53:58 +00:00
parent 71386cf73a
commit 1916f0228d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=545548
2 changed files with 4 additions and 2 deletions

View File

@ -15,6 +15,7 @@ EXTRACT_DEPENDS= rcs:devel/rcs57
BROKEN_aarch64= Fails to link: missing sbrk
USES= tar:bzip2
LDFLAGS= -Wl,--allow-multiple-definition
NO_WRKSUBDIR= yes
PORTDOCS= paper.ascii.gz

View File

@ -14,8 +14,9 @@ BUILD_DEPENDS= ksh:shells/pdksh
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= gmake ncurses tar:bzip2
MAKE_ARGS= CC=${CC} CFLAGS="${CFLAGS}" ROOT="${STAGEDIR}" \
LCURS="-L${LOCALBASE}/lib -lncurses"
LDFLAGS+= -Wl,--allow-multiple-definition
MAKE_ARGS= CC=${CC} CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \
ROOT="${STAGEDIR}" LCURS="-L${LOCALBASE}/lib -lncurses"
MAKEFILE= makefile
ALL_TARGET= #
DATADIR= ${PREFIX}/${PORTNAME}