editors/chexedit: fix build on recent current

This commit is contained in:
Tobias C. Berner 2020-08-28 16:59:07 +00:00
parent b22133ca69
commit 792519c698
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=546755

View File

@ -21,6 +21,9 @@ CONFIGURE_ENV+= ac_cv_header_ncurses_h=yes
PLIST_FILES= bin/chexedit \
man/man1/chexedit.1.gz
# Fix build on recent current
CFLAGS+= -fcommon
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/hexedit ${STAGEDIR}${PREFIX}/bin/chexedit
${INSTALL_MAN} ${WRKSRC}/docs/hexedit.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/chexedit.1