pkgsrc-Bugs archive

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

Re: pkg/45788: devel/swt never builds for arch/i386



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

From: "OBATA Akio" <obache%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/45788: devel/swt never builds for arch/i386
Date: Fri, 06 Jan 2012 15:23:14 +0900

 On Fri, 06 Jan 2012 14:50:03 +0900, B.ICT A.P. deBROUWER Jr. 
<noud4%home.nl@localhost> wrote:
 
 >  On Fri, 2012-01-06 at 05:20 +0000, OBATA Akio wrote:
 >  >  In pkgsrc/devel/swt/Makefile.
 > nha, i don't get you, missing the how.
 
 How?
 As already said, use ${MACHINE_ARCH} instead of ${LOWER_ARCH}, then your patch 
will not be required.
 
 Index: Makefile
 ===================================================================
 RCS file: /cvsroot/pkgsrc/devel/swt/Makefile,v
 retrieving revision 1.13
 diff -u -r1.13 Makefile
 --- Makefile    2 Jan 2012 18:56:58 -0000       1.13
 +++ Makefile    6 Jan 2012 06:19:51 -0000
 @@ -37,10 +37,10 @@
 
   .include "../../mk/bsd.prefs.mk"
 
 -.if ${OPSYS} == "NetBSD" && ${LOWER_ARCH} == "x86_64"
 +.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "x86_64"
   MY_LOWER_ARCH= amd64
   .endif
 -MY_LOWER_ARCH?=        ${LOWER_ARCH}
 +MY_LOWER_ARCH?=        ${MACHINE_ARCH}
 
   post-extract:
          cd ${WRKSRC} && jar -xf ${WRKSRC}/src.zip
 


Home | Main Index | Thread Index | Old Index