pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/38197 (libgcrypt 1.4.0 doesn't build on NetBSD 3.1 x386)

The following reply was made to PR pkg/38197; it has been noted by GNATS.

From: "Volkmar Seifert" <>
Subject: Re: pkg/38197 (libgcrypt 1.4.0 doesn't build on NetBSD 3.1 x386)
Date: Tue, 25 Mar 2008 21:40:48 +0100 (CET)

 Content-Type: text/plain; charset="iso-8859-1"
 Content-Transfer-Encoding: 8bit
 >  Does the package build if you add "CONFIGURE_ARGS+= --disable-asm" to
 >  "pkgsrc/security/libgcrypt/Makefile"?
 I just tested that, and it did not compile.
 Anyhow, I have found a way to compile and install it, and that is by
 excluding padlock completely by adding
 CONFIGURE_ARGS+= --disable-padlock-support
 to the Makefile.
 Since padlock-support is completely unnecessary in most cases, and only
 useful on a few comparably rare CPUs such as VIA Nehemia etc, I have
 patched the and added a new option "nopadlock", which is a
 default-option, too, to have that option added through the
 The patch is attached to this mail, since I think it rather useful. One
 should not need to compile code which is useless on one's machine, and I
 feel this padlock-support should be the user's decision.
 - Volkmar
 Content-Type: text/x-patch; name=""
 Content-Transfer-Encoding: 8bit
 Content-Disposition: attachment; filename=""
 ---    2008-03-25 11:24:51.000000000 +0100
 +++ 2008-03-25 10:42:44.000000000 +0100
 @@ -1,10 +1,16 @@
  # $NetBSD$
 +PKG_SUPPORTED_OPTIONS=        idea nopadlock
 +PKG_SUGGESTED_OPTIONS=        nopadlock
  .include "../../mk/"
 +.if !empty(PKG_OPTIONS:Mnopadlock)
 +# disable padlock
 +CONFIGURE_ARGS+=        --disable-padlock-support
  .if !empty(PKG_OPTIONS:Midea)
  # use of IDEA as crypto function
  LICENSE=      idea-license

Home | Main Index | Thread Index | Old Index