You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
xmoto: set correct worksrcdir, remove noop reinplace
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user