1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-17 19:39:43 +00:00

games/vultures-eye: fix build on 14.x by renaming macro which conflicts with math.h

Reported by:	pkg-fallout
This commit is contained in:
Dmitry Marakasov 2022-09-20 19:03:49 +03:00
parent cb12546550
commit f4673bd16d

View File

@ -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}