USE_CURL is never set by the Makefile when building on FreeBSD. Have a look at [the patched or unpatched] file ioUrbanTerrorClientSource/Makefile within the distfile ioUrbanTerrorSource_2007_12_20.zip. For the FreeBSD build in that file, USE_CURL is never set as a build variable. It _is_ set for Linux and other OS's. When installing the iourbanterror port, one is presented with a config menu when beginning the build of the port. Two of the options in that build config menu are "Enable curl support" and "Enable dynamic loading of curl". However because of the Makefile mentioned above these settings never have any effect on the build. I have a couple of patches that honor the "Enable curl support" config option. I am able to build UrbanTerror with curl support, and the auto-download now works flawlessly. However, I was not able to get the "Enable dynamic loading of curl" to work, and so I've set this to be disabled by default, and I've added a text "(broken?)" as a description to this option. I'm not familiar enough with build processes to fix this problem. Perhaps this option might be taken out of the config options altogether. P.S. This is a really great game and I recommend it to everyone. Large player base. Fix: I'm attaching patches to two revised files: /usr/ports/games/iourbanterror/Makefile /usr/ports/games/iourbanterror/files/patch-Makefile I don't take diffs often, so if I made a mistake in the diff I can try again. Contact me. I also have the modified files "Makefile" and "patch-Makefile" Patch attached with submission follows: How-To-Repeat: Build and install games/iourbanterror. Choose whatever build options (won't make a difference). Go to a server with a map that does not exist in the default install. (An example of a map that does not exist in the default install is ut4_uberjumps_beta3.) Attempt the auto-download of this map. It will fail with the message "Unknown error in auto-download". If one examines the source code in cl_main.c, one sees that the USE_CURL preprocessor variable was probably not set. USE_CURL is NEVER set because of the Makefile problem.
Responsible Changed From-To: freebsd-ports-bugs->alepulver Over to maintainer (via the GNATS Auto Assign Tool)
State Changed From-To: open->feedback Ask more information to the submitter.
Hello. Could you please provide more information about the problem with CURL_DLOPEN, so it can be fixed too? Thanks and Best Regards, Ale
alepulver 2008-01-29 04:10:56 UTC FreeBSD ports repository Modified files: games/iourbanterror Makefile games/iourbanterror/files patch-Makefile games/worldofpadman Makefile games/worldofpadman/files patch-Makefile Log: - Bump PORTREVISION. - Fix CURL option (flag wasn't passed to the build). - Fix CURL_DLOPEN option (was trying to open the wrong file, so remove version: libcurl.so.4 -> libcurl.so). The original PR was for games/iourbanterror, but also applies to games/worldofpadman. PR: ports/119813 Submitted by: "Nerius Landys" <nlandys@gmail.com> Revision Changes Path 1.14 +6 -1 ports/games/iourbanterror/Makefile 1.8 +36 -17 ports/games/iourbanterror/files/patch-Makefile 1.3 +8 -1 ports/games/worldofpadman/Makefile 1.2 +37 -15 ports/games/worldofpadman/files/patch-Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: feedback->closed Committed, with minor changes. Thanks!