textproc/wordnet: fix build on recent current

This commit is contained in:
Tobias C. Berner 2020-08-27 17:05:20 +00:00
parent 42874042f0
commit 9d0c4fe0e1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=546367

View File

@ -23,6 +23,9 @@ USE_LDCONFIG= yes
SUB_FILES= pkg-message
SUB_LIST+= TCL_VER=${TCL_VER}
# Fix build on recent current
CFLAGS+= -fcommon
post-patch:
${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' \
${WRKSRC}/src/wnb ${WRKSRC}/doc/man/*.?