MFH: r501598
- Fix build with VIEWER enabled - Add missing USES - Switch to USES=localbase and opt_CMAKE_BOOL PR: 237607 Reported by: doralitze@chaotikum.org Approved by: monwarez@mailoo.org (maintainer) Approved by: ports-secteam (with hat)
This commit is contained in:
parent
2bfcd1b9e1
commit
bffdd51b5e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/branches/2019Q2/; revision=501599
@ -30,29 +30,25 @@ GH_PROJECT= megaglest-source
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
USES= cmake:insource compiler:c++11-lib display:build dos2unix jpeg lua \
|
||||
openal:al,alut pkgconfig
|
||||
openal:al,alut pkgconfig ssl localbase:ldflags sdl gl
|
||||
USE_GL= glew gl glu
|
||||
USE_SDL= sdl2
|
||||
USE_XORG= sm ice x11 xext
|
||||
USE_CXXSTD= c++11
|
||||
LLD_UNSAFE= yes
|
||||
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib -lssl -lcrypto
|
||||
LDFLAGS+= -lssl -lcrypto
|
||||
|
||||
OPTIONS_DEFINE= EDITOR DOCS VIEWER
|
||||
OPTIONS_SUB= yes
|
||||
EDITOR_DESC= Install MegaGlest Editor
|
||||
VIEWER_DESC= Install Megaglest G3D viewer
|
||||
|
||||
EDITOR_CMAKE_ON= -DBUILD_MEGAGLEST_MAP_EDITOR=On
|
||||
EDITOR_CMAKE_OFF= -DBUILD_MEGAGLEST_MAP_EDITOR=Off
|
||||
EDITOR_CMAKE_BOOL= BUILD_MEGAGLEST_MAP_EDITOR
|
||||
EDITOR_USE= WX=3.0
|
||||
|
||||
VIEWER_CMAKE_ON= -DBUILD_MEGAGLEST_MODEL_IMPORT_EXPORT_TOOLS=On \
|
||||
-BUILD_MEGAGLEST_MODEL_VIEWER=On
|
||||
VIEWER_CMAKE_OFF= -DBUILD_MEGAGLEST_MODEL_IMPORT_EXPORT_TOOLS=Off \
|
||||
-DBUILD_MEGAGLEST_MODEL_VIEWER=Off
|
||||
VIEWER_CMAKE_BOOL= BUILD_MEGAGLEST_MODEL_IMPORT_EXPORT_TOOLS \
|
||||
BUILD_MEGAGLEST_MODEL_VIEWER
|
||||
VIEWER_USE= WX=3.0
|
||||
|
||||
post-patch:
|
||||
|
Loading…
Reference in New Issue
Block a user