games/atanks: attempt to unbreak the port's build
Forward declaration of class BUTTON is not enough to access its members, we must include the corresponding header file. Reported by: pkg-fallout
This commit is contained in:
parent
a177c72d31
commit
1acfa6e9b3
@ -19,6 +19,10 @@ PORTDOCS= Changelog README README_ru.txt credits.txt
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/"optionitembase\.h"/ { x; s,^,#include\
|
||||
"button.h",; G; }' ${WRKSRC}/src/optionitem.h
|
||||
|
||||
post-install:
|
||||
${LN} -sf ../../share/icons/hicolor/48x48/apps/${PORTNAME}.png \
|
||||
${STAGEDIR}${PREFIX}/share/pixmaps/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user