pkgsrc-Bugs archive

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

Re: pkg/44191



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

From: Jeff Rizzo <riz%tastylime.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/44191
Date: Wed, 15 Dec 2010 12:56:19 -0800

 The problem seems to be that pkgsrc does some funkiness to set a 32-bit 
 ABI, but the package successfully detects that it's running a 64-bit 
 host/kernel etc.
 
 This patch to security/botan/Makefile fixes it for me.  I didn't commit 
 because I'm not 100% sure it's the right thing to do and wanted someone 
 else to look it over.
 
 Index: Makefile
 ===================================================================
 RCS file: /cvsroot/pkgsrc/security/botan/Makefile,v
 retrieving revision 1.21
 diff -u -r1.21 Makefile
 --- Makefile   12 Oct 2010 19:36:43 -0000      1.21
 +++ Makefile   15 Dec 2010 20:52:50 -0000
 @@ -30,6 +30,12 @@
 
   PLIST_VARS+= i386 x86 x86_64
 
 +.if ${OPSYS} == "Darwin"
 +.  if defined(ABI)&&  ${ABI} == "32"
 +CONFIGURE_ARGS+=      --cpu=i386
 +.  endif
 +.endif
 +
   .if ${MACHINE_ARCH} == "x86_64"
   PLIST.x86_64=        yes
   PLIST.x86=   yes
 
 


Home | Main Index | Thread Index | Old Index