Skip to content
Snippets Groups Projects
Commit 1acfa6e9 authored by Alexey Dokuchaev's avatar Alexey Dokuchaev
Browse files

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
parent a177c72d
No related branches found
No related tags found
No related merge requests found
......@@ -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/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment