parent
beb87541ed
commit
f58d567630
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=512358
2 changed files with 15 additions and 2 deletions
|
@ -15,7 +15,7 @@ COMMENT= Compatible client of Ace of Spades
|
|||
LICENSE= GPLv3
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
ONLY_FOR_ARCHS= amd64
|
||||
ONLY_FOR_ARCHS= amd64 powerpc64
|
||||
ONLY_FOR_ARCHS_REASON= bundles non-portable AngelScript
|
||||
|
||||
BUILD_DEPENDS= convert:graphics/ImageMagick6 # for building icons
|
||||
|
@ -25,11 +25,13 @@ LIB_DEPENDS= libcurl.so:ftp/curl \
|
|||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= yvt
|
||||
|
||||
USES= cmake:insource compiler:c++11-lib desktop-file-utils gl gnome openal
|
||||
USES= cmake:insource compiler:c++11-lib desktop-file-utils dos2unix \
|
||||
gl gnome openal sdl xorg
|
||||
CMAKE_ARGS= -DOPENSPADES_RESOURCES=OFF \
|
||||
-DOPENSPADES_INSTALL_MAN="man/man6" \
|
||||
-DOPENSPADES_INSTALL_BINARY="bin" \
|
||||
-DOPENSPADES_INSTALL_RESOURCES="${DATADIR_REL}"
|
||||
DOS2UNIX_FILES= Sources/AngelScript/source/as_config.h
|
||||
USE_SDL= sdl2 image2
|
||||
USE_GL= gl glew
|
||||
INSTALLS_ICONS= yes
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
--- Sources/AngelScript/source/as_config.h.orig 2019-09-17 11:18:51 UTC
|
||||
+++ Sources/AngelScript/source/as_config.h
|
||||
@@ -947,6 +947,8 @@
|
||||
#define COMPLEX_RETURN_MASK (asOBJ_APP_CLASS_DESTRUCTOR | asOBJ_APP_CLASS_COPY_CONSTRUCTOR | asOBJ_APP_ARRAY)
|
||||
#define THISCALL_PASS_OBJECT_POINTER_ON_THE_STACK
|
||||
#define AS_X86
|
||||
+ #elif defined(__powerpc64__)
|
||||
+ #define AS_MAX_PORTABILITY
|
||||
#elif defined(__LP64__)
|
||||
#define AS_X64_GCC
|
||||
#define HAS_128_BIT_PRIMITIVES
|
Loading…
Reference in a new issue