Skip to content

Commit

Permalink
games/vultures-eye: fix build on 14.x by renaming macro which conflic…
Browse files Browse the repository at this point in the history
…ts with math.h

Reported by:	pkg-fallout
  • Loading branch information
AMDmi3 committed Sep 20, 2022
1 parent cb12546 commit f4673bd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions games/vultures-eye/Makefile
Expand Up @@ -39,6 +39,11 @@ MAKE_ENV+= FLEX="${FLEX}"
pre-patch:
@(cd ${WRKSRC}/win && ${LN} -sf ../../vulture)

post-patch:
@${FIND} ${WRKSRC} \( -name "*.c" -o -name "*.h" \) -print
@${FIND} ${WRKSRC} \( -name "*.c" -o -name "*.h" \) -exec \
${REINPLACE_CMD} -e 's|yn(|yesno(|g' {} \;

pre-configure:
@${CHMOD} a+x ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}

Expand Down

0 comments on commit f4673bd

Please sign in to comment.