Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
php5
:
extensions
>
php5-geoip
> geoip-1.0.6-lib64.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File geoip-1.0.6-lib64.patch of Package php5-geoip (Revision 10)
Currently displaying revision
10
,
show latest
--- config.m4.orig 2009-01-20 20:52:37.000000000 +0100 +++ config.m4 2009-01-20 20:54:17.000000000 +0100 @@ -38,12 +38,12 @@ 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,7 +52,7 @@ AC_DEFINE(HAVE_CUSTOM_DIRECTORY,1,[ ]) ],[ ],[ - -L$GEOIP_DIR/lib -lm -ldl + -L$GEOIP_DIR/$PHP_LIBDIR -lm -ldl ]) # Checking for GeoIP_continent_by_id in newer lib @@ -61,12 +61,12 @@ AC_DEFINE(HAVE_CONTINENT_BY_ID,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 | sort` + libgeoip_full_version=`find $GEOIP_DIR/$PHP_LIBDIR/ -name libGeoIP.\*.\*.\*.\* | cut -d . -f 2-5 | sort` for lines in $libgeoip_full_version; do ac_IFS=$IFS IFS="."