Merge pull request #61795 from bfortz/lbdb

lbdb: fix build for 0.48.1
This commit is contained in:
Mario Rodas 2019-05-22 19:39:24 -05:00 committed by GitHub
commit 5b7dea1962
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, perl, perlPackages, finger_bsd, makeWrapper { stdenv, fetchurl, fetchpatch, perl, perlPackages, finger_bsd, makeWrapper
, abook ? null , abook ? null
, gnupg ? null , gnupg ? null
, goobook ? null , goobook ? null
@ -32,7 +32,14 @@ stdenv.mkDerivation {
++ optional (khard != null) "--with-khard" ++ optional (khard != null) "--with-khard"
++ optional (mu != null) "--with-mu"; ++ optional (mu != null) "--with-mu";
patches = [ ./add-methods-to-rc.patch ]; patches = [ ./add-methods-to-rc.patch
# fix undefined exec_prefix. Remove with the next release
(fetchpatch {
url = "https://github.com/RolandRosenfeld/lbdb/commit/60b7bae255011f59212d96adfbded459d6a27129.patch";
sha256 = "129zg086glmlalrg395jq8ljcp787dl3rxjf9v7apsd8mqfdkl2v";
excludes = [ "debian/changelog" ];
})
];
postFixup = "wrapProgram $out/lib/mutt_ldap_query --prefix PERL5LIB : " postFixup = "wrapProgram $out/lib/mutt_ldap_query --prefix PERL5LIB : "
+ "${AuthenSASL}/${perl.libPrefix}" + "${AuthenSASL}/${perl.libPrefix}"
+ ":${ConvertASN1}/${perl.libPrefix}" + ":${ConvertASN1}/${perl.libPrefix}"
@ -43,6 +50,6 @@ stdenv.mkDerivation {
license = licenses.gpl2; license = licenses.gpl2;
platforms = platforms.all; platforms = platforms.all;
description = "The Little Brother's Database"; description = "The Little Brother's Database";
maintainers = [ maintainers.kaiha ]; maintainers = [ maintainers.kaiha maintainers.bfortz ];
}; };
} }