diff --git a/games/powder-toy/Makefile b/games/powder-toy/Makefile index a575c7e57af..7f99c8f2cb8 100644 --- a/games/powder-toy/Makefile +++ b/games/powder-toy/Makefile @@ -3,7 +3,7 @@ COMMENT = physics sandbox simulation # LuaJIT requires USE_NOBTCFI USE_NOBTCFI = Yes -V = 98.2.365 +V = 99.1.380 PKGNAME = powder-toy-${V} DIST_TUPLE += github The-Powder-Toy The-Powder-Toy v${V} . CATEGORIES = games @@ -28,10 +28,10 @@ LIB_DEPENDS = archivers/bzip2 \ net/curl CONFIGURE_ARGS += -Dworkaround_elusive_bzip2=true \ - -Dworkaround_elusive_bzip2_lib_dir=/usr/local/lib -CONFIGURE_ENV += LIBRARY_PATH=/usr/local/lib LDFLAGS="${LDFLAGS}" + -Dworkaround_elusive_bzip2_lib_dir=${LOCALBASE}/lib +CONFIGURE_ENV += LIBRARY_PATH=${LOCALBASE}/lib LDFLAGS="${LDFLAGS}" -CFLAGS += -I/usr/local/include +CXXFLAGS += -I${LOCALBASE}/include LDFLAGS += -lexecinfo .if ${MACHINE_ARCH:Mi386} diff --git a/games/powder-toy/distinfo b/games/powder-toy/distinfo index 00824b5ac3f..5aeb512155f 100644 --- a/games/powder-toy/distinfo +++ b/games/powder-toy/distinfo @@ -1,2 +1,2 @@ -SHA256 (The-Powder-Toy-The-Powder-Toy-v98.2.365.tar.gz) = IZALawIlNdDlYSawI1OMxPRLZP7Or7VkBJJhikKmAIA= -SIZE (The-Powder-Toy-The-Powder-Toy-v98.2.365.tar.gz) = 777726 +SHA256 (The-Powder-Toy-The-Powder-Toy-v99.1.380.tar.gz) = v735fQ6sluMVijl/iCnZI+jHm97Ra/9e361mAox3eZ8= +SIZE (The-Powder-Toy-The-Powder-Toy-v99.1.380.tar.gz) = 798672 diff --git a/games/powder-toy/patches/patch-src_PowderToy_cpp b/games/powder-toy/patches/patch-src_PowderToy_cpp deleted file mode 100644 index 19526d5107d..00000000000 --- a/games/powder-toy/patches/patch-src_PowderToy_cpp +++ /dev/null @@ -1,12 +0,0 @@ -Index: src/PowderToy.cpp ---- src/PowderToy.cpp.orig -+++ src/PowderToy.cpp -@@ -155,7 +155,7 @@ static void BlueScreen(String detailMessage, std::opti - } - - // Don't use Platform::Exit, we're practically zombies at this point anyway. --#if defined(__MINGW32__) || defined(__APPLE__) || defined(__EMSCRIPTEN__) -+#if defined(__MINGW32__) || defined(__APPLE__) || defined(__EMSCRIPTEN__) || defined(__OpenBSD__) - // Come on... - exit(-1); - #else