Merge remote-tracking branch 'upstream/master' into hardened-stdenv
This commit is contained in:
@@ -13,12 +13,12 @@ diff --git a/django/contrib/gis/gdal/libgdal.py b/django/contrib/gis/gdal/libgda
|
||||
diff --git a/django/contrib/gis/geos/libgeos.py b/django/contrib/gis/geos/libgeos.py
|
||||
--- a/django/contrib/gis/geos/libgeos.py
|
||||
+++ b/django/contrib/gis/geos/libgeos.py
|
||||
@@ -23,7 +23,7 @@ try:
|
||||
lib_path = settings.GEOS_LIBRARY_PATH
|
||||
except (AttributeError, EnvironmentError,
|
||||
ImportError, ImproperlyConfigured):
|
||||
- lib_path = None
|
||||
+ lib_path = "@geos@/lib/libgeos_c.so"
|
||||
@@ -26,7 +26,7 @@ try:
|
||||
lib_path = settings.GEOS_LIBRARY_PATH
|
||||
except (AttributeError, EnvironmentError,
|
||||
ImportError, ImproperlyConfigured):
|
||||
- lib_path = None
|
||||
+ lib_path = "@geos@/lib/libgeos_c.so"
|
||||
|
||||
# Setting the appropriate names for the GEOS-C library.
|
||||
if lib_path:
|
||||
# Setting the appropriate names for the GEOS-C library.
|
||||
if lib_path:
|
||||
@@ -28,9 +28,9 @@ stdenv.mkDerivation {
|
||||
${python.executable} configure.py $configureFlags "''${configureFlagsArray[@]}"
|
||||
'';
|
||||
|
||||
buildInputs = [ python pkgconfig makeWrapper qt4 lndir ];
|
||||
buildInputs = [ pkgconfig makeWrapper qt4 lndir ];
|
||||
|
||||
propagatedBuildInputs = [ pythonPackages.sip_4_16 ];
|
||||
propagatedBuildInputs = [ pythonPackages.sip_4_16 python ];
|
||||
|
||||
postInstall = ''
|
||||
for i in $out/bin/*; do
|
||||
|
||||
@@ -20,11 +20,11 @@ in stdenv.mkDerivation {
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
python pkgconfig makeWrapper lndir
|
||||
pkgconfig makeWrapper lndir
|
||||
qtbase qtsvg qtwebkit qmakeHook
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ sip ];
|
||||
propagatedBuildInputs = [ sip python ];
|
||||
|
||||
configurePhase = ''
|
||||
runHook preConfigure
|
||||
|
||||
Reference in New Issue
Block a user