pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

openhexagon: fix lua include



Module Name:	pkgsrc-wip
Committed By:	Thomas Merkel <tm%core.io@localhost>
Pushed By:	drscream
Date:		Tue Apr 28 00:02:46 2020 +0200
Changeset:	4a447e5106aaf0bdfb8252ff29bfaaba93e43119

Modified Files:
	openhexagon/Makefile

Log Message:
openhexagon: fix lua include

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4a447e5106aaf0bdfb8252ff29bfaaba93e43119

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 openhexagon/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diffs:
diff --git a/openhexagon/Makefile b/openhexagon/Makefile
index 93d3d9e1ad..c4b277a5b4 100644
--- a/openhexagon/Makefile
+++ b/openhexagon/Makefile
@@ -21,6 +21,8 @@ USE_LANGUAGES=	c c++
 USE_TOOLS+=	cmake
 USE_CMAKE=	yes
 
+CMAKE_ARGS+=	-DLUA_INCLUDE_DIR=${PREFIX}/${LUA_INCDIR}
+
 # Workaround required because a full recursive clone fails with git-package.mk
 # and all dependencies are only handled via git submodules.
 pre-configure:
@@ -31,6 +33,5 @@ pre-configure:
 
 .include "../../devel/sparsehash/buildlink3.mk"
 .include "../../wip/sfml+/buildlink3.mk"
-.include "../../lang/lua52/buildlink3.mk"
-.include "../../lang/lua/application.mk"
+.include "../../lang/lua51/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index