FreeBSD Bugzilla – Attachment 250444 Details for
Bug 278752
games/warzone2100: Use EXTRACT_AFTER_ARGS and helpers
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for warzone2100 v2
rmrf-warzone2100-fixes.patch (text/plain), 1.25 KB, created by
Daniel Engberg
on 2024-05-05 12:51:27 UTC
(
hide
)
Description:
Patch for warzone2100 v2
Filename:
MIME Type:
Creator:
Daniel Engberg
Created:
2024-05-05 12:51:27 UTC
Size:
1.25 KB
patch
obsolete
>diff --git a/games/warzone2100/Makefile b/games/warzone2100/Makefile >index 7042b8350dcf..95e27c9c52b2 100644 >--- a/games/warzone2100/Makefile >+++ b/games/warzone2100/Makefile >@@ -23,16 +23,20 @@ LIB_DEPENDS= libphysfs.so:devel/physfs \ > libharfbuzz.so:print/harfbuzz \ > libsodium.so:security/libsodium \ > libcurl.so:ftp/curl \ >- libsqlite3.so:databases/sqlite3 \ > libminiupnpc.so:net/miniupnpc \ > libopusfile.so:audio/opusfile \ > libopus.so:audio/opus > RUN_DEPENDS= ${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf:x11-fonts/dejavu > > USES= cmake bison compiler:c++11-lib gl openal:al pkgconfig \ >- sdl tar:xz >+ sdl sqlite tar:xz > USE_GL= gl > USE_SDL= sdl2 >+ >+EXTRACT_AFTER_ARGS= --exclude 3rdparty/miniupnp \ >+ --exclude 3rdparty/SQLiteCpp/sqlite3 \ >+ --exclude lib/sound/3rdparty >+ > CMAKE_ARGS= -DWZ_DISTRIBUTOR="FreeBSD ports" \ > -DCMAKE_DISABLE_FIND_PACKAGE_Asciidoctor=TRUE \ > -DCMAKE_DISABLE_FIND_PACKAGE_Git=TRUE \ >@@ -67,10 +71,4 @@ post-patch: > @${FIND} ${WRKSRC} -type f -iname "*cmake*" -exec \ > ${REINPLACE_CMD} -i '' -e '/find_package(Git/d' {} \; > >-post-extract: >-.for bundled in miniupnp SQLiteCpp/sqlite3 >- @${RM} -rf ${WRKSRC}/3rdparty/${bundled} >-.endfor >- @${RM} -rf ${WRKSRC}/lib/sound/3rdparty >- > .include <bsd.port.mk>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 278752
:
250388
| 250444