Unbreak the build on recent -CURRENT.

Reported by:	pkg-fallout
This commit is contained in:
Alexey Dokuchaev 2020-08-27 08:11:18 +00:00
parent 27b279413e
commit b544f1eb52
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=546329

View File

@ -79,6 +79,8 @@ post-patch:
@${REINPLACE_CMD} -E '/fav(->|\.)fov/s|NULL|0.0|' \
${WRKSRC}/src/celestia/celestiacore.cpp \
${WRKSRC}/src/celestia/favorites.cpp
@${REINPLACE_CMD} -e '280s,NULL,false,' \
${WRKSRC}/src/celengine/parseobject.cpp
# Fix Lua discovery pkg-config(1) calls
@${REINPLACE_CMD} -E 's|lua5\.?|lua-5.|' ${WRKSRC}/configure
# Remove controversial compiler options (respect our C[XX]FLAGS)