xmoto: set correct worksrcdir, remove noop reinplace

This commit is contained in:
Joshua Root
2024-03-30 10:24:37 +11:00
parent 36003f2231
commit 2f0d417585
+2 -7
View File
@@ -18,7 +18,8 @@ long_description \
homepage http://xmoto.tuxfamily.org/
master_sites http://download.tuxfamily.org/xmoto/xmoto/${version}/
distname xmoto-${version}-src
distname ${name}-${version}-src
worksrcdir ${name}-${version}
checksums rmd160 4b005c37871489f54c16c9557e6a8556cd2121b4 \
sha256 a584a6f9292b184686b72c78f16de4b82d5c5b72ad89e41912ff50d03eca26b2
@@ -36,12 +37,6 @@ depends_lib port:libpng \
port:curl \
port:libxdg-basedir
post-patch {
# libpng 1.4 compatibility
reinplace "s/png_set_gray_1_2_4_to_8/png_set_expand_gray_1_2_4_to_8/" \
${worksrcpath}/src/image/tim_png.cpp
}
configure.args-append --with-apple-opengl-framework --disable-sdltest
# xmoto does not pick up flags for ode correctly, so we do this manually