Index: head/lang/angelscript/Makefile =================================================================== --- head/lang/angelscript/Makefile (revision 509719) +++ head/lang/angelscript/Makefile (revision 509720) @@ -1,38 +1,39 @@ # Created by: Veniamin Gvozdikov # $FreeBSD$ PORTNAME= angelscript PORTVERSION= 2.33.0 CATEGORIES= lang MASTER_SITES= http://www.angelcode.com/angelscript/sdk/files/ DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= ndowens@yahoo.com COMMENT= AngelCode Scripting Library LICENSE= ZLIB BROKEN_aarch64= Does not build: invokes x86 asm -BROKEN_powerpc64= Does not build: invokes x86 asm BROKEN_sparc64= Does not build: invokes x86 asm -USES= alias gmake zip +USES= alias compiler:c11 dos2unix gmake zip USE_LDCONFIG= yes + +DOS2UNIX_FILES= ../../source/as_config.h MAKE_ARGS= CP_SYMLINK="${INSTALL_LIB}" .include .if ${ARCH} == "i386" pre-build: (cd ${WRKDIR}/sdk/angelscript/source && ${REINPLACE_CMD} -e 's|ifdef __OPTIMIZE__|if defined(__OPTIMIZE__) \&\&\ !defined(__clang__)|g' \ -e 's,ifdef __OPTIMIZE__ifdef __OPTIMIZE__,,g' *.cpp) .endif WRKSRC= ${WRKDIR}/sdk/angelscript/projects/gnuc/ PLIST_FILES= include/angelscript.h \ lib/libangelscript.a \ lib/libangelscript.so \ lib/libangelscript.so.${PORTVERSION} .include Index: head/lang/angelscript/files/patch-as_config.h =================================================================== --- head/lang/angelscript/files/patch-as_config.h (nonexistent) +++ head/lang/angelscript/files/patch-as_config.h (revision 509720) @@ -0,0 +1,12 @@ +--- ../../source/as_config.h.orig 2019-07-28 15:58:25.283690000 +0200 ++++ ../../source/as_config.h 2019-07-28 16:08:34.592212000 +0200 +@@ -953,6 +953,9 @@ + #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_BIG_ENDIAN ++ #define AS_MAX_PORTABILITY + #elif defined(__LP64__) + #define AS_X64_GCC + #define HAS_128_BIT_PRIMITIVES Property changes on: head/lang/angelscript/files/patch-as_config.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property