Bug 69910 - Port games/xqf fails with WITH_GEOIP=yes
Summary: Port games/xqf fails with WITH_GEOIP=yes
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-02 17:00 UTC by fl
Modified: 2004-08-22 19:17 UTC (History)
0 users

See Also:


Attachments
xqf-geoip.patch (319 bytes, patch)
2004-08-22 13:21 UTC, Stefan Walter
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description fl 2004-08-02 17:00:46 UTC
The WITH_GEOIP=yes option of the current xqf port seems broken.
Without geoip support, it compiles and installs as expected.

With Geoip, the port fails to detect that GeoIP was already installed
===>  Installing for GeoIP-1.3.1
===>   Generating temporary packing list
===>  Checking if net/GeoIP already installed
===>   GeoIP-1.3.1 is already installed
      You may wish to ``make deinstall'' and install this port again
      by ``make reinstall'' to upgrade it properly.
      If you really wish to overwrite the old port of net/GeoIP
      without deleting it first, set the variable "FORCE_PKG_REGISTER"
      in your environment or the "make install" command line.
*** Error code 1

Stop in /usr/ports/net/GeoIP.
*** Error code 1

Stop in /usr/ports/games/xqf.

If I deinstall the GeoIP port, and try to install xqf again, it fails as well
===>   Compressing manual pages for GeoIP-1.3.1
===>   Running ldconfig
/sbin/ldconfig -m /usr/local/lib
===>   Registering installation for GeoIP-1.3.1
===>   Returning to build of xqf-gtk2-0.9.14
Error: shared library "GeoIP.3" does not exist
*** Error code 1

Stop in /usr/ports/games/xqf.

Fix: 

Disable GeoIP support, but it's a workaround not a fix.
GeoIP supports enables cute country flags next to each server, which I wanted to have.
How-To-Repeat: cd /usr/ports/game/xqf
make install clean

cd /usr/ports/net/GeoIP/
make deinstall clean
cd -
make install clean
Comment 1 Stefan Walter 2004-08-22 13:21:28 UTC
The games/xqf port is looking for the wrong/old shared library of GeoIP.
The attached patch fixes that.

Stefan
Comment 2 Tilman Keskinoz freebsd_committer freebsd_triage 2004-08-22 19:17:50 UTC
State Changed
From-To: open->closed

Committed, thanks!