Revert "perl: Don't use builtin zlib and bzip2"
This reverts commit 86f9f5d128306a37649cf13a687b231df18a03ca.
This commit is contained in:
parent
8c2a8661eb
commit
354e5af036
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, bzip2, zlib, enableThreading ? stdenv ? glibc }:
|
{ stdenv, fetchurl, enableThreading ? stdenv ? glibc }:
|
||||||
|
|
||||||
# We can only compile perl with threading on platforms where we have a
|
# We can only compile perl with threading on platforms where we have a
|
||||||
# real glibc in the stdenv.
|
# real glibc in the stdenv.
|
||||||
@ -37,11 +37,6 @@ stdenv.mkDerivation rec {
|
|||||||
++ optional stdenv.isSunOS ./ld-shared.patch
|
++ optional stdenv.isSunOS ./ld-shared.patch
|
||||||
++ stdenv.lib.optional stdenv.isDarwin [ ./cpp-precomp.patch ./no-libutil.patch ] ;
|
++ stdenv.lib.optional stdenv.isDarwin [ ./cpp-precomp.patch ./no-libutil.patch ] ;
|
||||||
|
|
||||||
buildInputs = [ zlib bzip2 ];
|
|
||||||
|
|
||||||
BUILD_ZLIB = "false";
|
|
||||||
BUILD_BZIP2 = "0";
|
|
||||||
|
|
||||||
# Build a thread-safe Perl with a dynamic libperls.o. We need the
|
# Build a thread-safe Perl with a dynamic libperls.o. We need the
|
||||||
# "installstyle" option to ensure that modules are put under
|
# "installstyle" option to ensure that modules are put under
|
||||||
# $out/lib/perl5 - this is the general default, but because $out
|
# $out/lib/perl5 - this is the general default, but because $out
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, bzip2, zlib, enableThreading ? stdenv ? glibc }:
|
{ stdenv, fetchurl, enableThreading ? stdenv ? glibc }:
|
||||||
|
|
||||||
# We can only compile perl with threading on platforms where we have a
|
# We can only compile perl with threading on platforms where we have a
|
||||||
# real glibc in the stdenv.
|
# real glibc in the stdenv.
|
||||||
@ -35,11 +35,6 @@ stdenv.mkDerivation rec {
|
|||||||
++ optional stdenv.isSunOS ./ld-shared.patch
|
++ optional stdenv.isSunOS ./ld-shared.patch
|
||||||
++ stdenv.lib.optional stdenv.isDarwin [ ./cpp-precomp.patch ./no-libutil.patch ];
|
++ stdenv.lib.optional stdenv.isDarwin [ ./cpp-precomp.patch ./no-libutil.patch ];
|
||||||
|
|
||||||
buildInputs = [ zlib bzip2 ];
|
|
||||||
|
|
||||||
BUILD_ZLIB = "false";
|
|
||||||
BUILD_BZIP2 = "0";
|
|
||||||
|
|
||||||
# Build a thread-safe Perl with a dynamic libperls.o. We need the
|
# Build a thread-safe Perl with a dynamic libperls.o. We need the
|
||||||
# "installstyle" option to ensure that modules are put under
|
# "installstyle" option to ensure that modules are put under
|
||||||
# $out/lib/perl5 - this is the general default, but because $out
|
# $out/lib/perl5 - this is the general default, but because $out
|
||||||
|
Loading…
x
Reference in New Issue
Block a user