Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
php5
:
extensions
>
php5-geoip
> geoip-1.0.1-lib64.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File geoip-1.0.1-lib64.patch of Package php5-geoip (Revision 10)
Currently displaying revision
10
,
show latest
Index: config.m4 =================================================================== --- config.m4.orig 2007-08-22 15:48:39.000000000 +0200 +++ config.m4 2007-08-29 12:36:19.000000000 +0200 @@ -38,12 +38,12 @@ if test "$PHP_GEOIP" != "no"; then PHP_CHECK_LIBRARY($LIBNAME,$LIBSYMBOL, [ - PHP_ADD_LIBRARY_WITH_PATH($LIBNAME, $GEOIP_DIR/lib, GEOIP_SHARED_LIBADD) + PHP_ADD_LIBRARY_WITH_PATH($LIBNAME, $GEOIP_DIR/$PHP_LIBDIR, GEOIP_SHARED_LIBADD) AC_DEFINE(HAVE_GEOIPLIB,1,[ ]) ],[ AC_MSG_ERROR([wrong geoip lib version or lib not found]) ],[ - -L$GEOIP_DIR/lib -lm -ldl + -L$GEOIP_DIR/$PHP_LIBDIR -lm -ldl ]) # Checking for GeoIP_setup_custom_directory in newer lib @@ -52,12 +52,12 @@ if test "$PHP_GEOIP" != "no"; then AC_DEFINE(HAVE_CUSTOM_DIRECTORY,1,[ ]) ],[ ],[ - -L$GEOIP_DIR/lib -lm -ldl + -L$GEOIP_DIR/$PHP_LIBDIR -lm -ldl ]) # Check to see if we are using the LGPL library (version 1.4.0 and newer) AC_MSG_CHECKING([for LGPL compatible GeoIP libs]) - libgeoip_full_version=`find $GEOIP_DIR/lib/ -name libGeoIP.\*.\*.\*.\* | cut -d . -f 2-5` + libgeoip_full_version=`find $GEOIP_DIR/$PHP_LIBDIR/ -name libGeoIP.\*.\*.\*.\* | cut -d . -f 2-5` ac_IFS=$IFS IFS="." set $libgeoip_full_version