pkgsrc-Bugs archive

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

Re: pkg/37699: pbulk big stopper: archivers/dar



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

From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/37699: pbulk big stopper: archivers/dar
Date: Mon, 7 Jan 2008 14:12:20 +0100

 --VS++wcV0S1rZb1Fb
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 On Sat, Jan 05, 2008 at 08:05:00PM +0000, cheusov%tut.by@localhost wrote:
 > bmake: 
 > "../../mk/wrapper/../../mk/buildlink3/../../security/openssl/../../mk/wrapper/../../mk/buildlink3/../../security/openssl/builtin.mk"
 >  line 141: Malformed conditional (!empty(USE_FEATURES.openssl:Mthreads) &&  
 > !empty(BUILTIN_OPENSSL_HAS_THREADS:M[nN][oO]))
 > bmake: 
 > "../../mk/wrapper/../../mk/buildlink3/../../security/openssl/../../mk/wrapper/../../mk/buildlink3/../../security/openssl/builtin.mk"
 >  line 146: if-less endif
 > bmake: 
 > "../../mk/wrapper/../../mk/buildlink3/../../security/openssl/../../mk/wrapper/../../mk/buildlink3/../../security/openssl/builtin.mk"
 >  line 146: Need an operator
 > bmake: Fatal errors encountered -- cannot continue
 
 First of all, try the attached patch.
 Second, which OpenSSL version is this and does opensslconf.h exist?
 
 Joerg
 
 --VS++wcV0S1rZb1Fb
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename="builtin.mk.diff"
 
 Index: builtin.mk
 ===================================================================
 RCS file: /data/repo/netbsd/pkgsrc/security/openssl/builtin.mk,v
 retrieving revision 1.22
 diff -u -p -r1.22 builtin.mk
 --- builtin.mk 7 Sep 2007 17:26:23 -0000       1.22
 +++ builtin.mk 7 Jan 2008 13:11:31 -0000
 @@ -102,14 +102,17 @@ BUILTIN_PKG.openssl=     openssl-${BUILTIN_V
  MAKEVARS+=    BUILTIN_PKG.openssl
  
  .if !defined(BUILTIN_OPENSSL_HAS_THREADS) && \
 -    !empty(IS_BUILTIN.openssl:M[yY][eE][sS]) && \
 -    empty(H_OPENSSLCONF:M__nonexistent__)
 +    !empty(IS_BUILTIN.openssl:M[yY][eE][sS])
 +.  if empty(H_OPENSSLCONF:M__nonexistent__)
  BUILTIN_OPENSSL_HAS_THREADS!=                                         \
        ${AWK} 'BEGIN { ans = "no" }                                    \
                /\#[    ]*define[       ]*OPENSSL_THREADS/ { ans= "yes" } \
                /\#[    ]*define[       ]*THREADS/ { ans = "yes" }      \
                END { print ans; exit 0 }                               \
        ' ${H_OPENSSLCONF:Q}
 +.  else
 +BUILTIN_OPENSSL_HAS_THREADS!= no
 +.  endif
  .endif
  MAKEVARS+=    BUILTIN_OPENSSL_HAS_THREADS
  
 
 --VS++wcV0S1rZb1Fb--
 



Home | Main Index | Thread Index | Old Index