pkgsrc-Bugs archive

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

Re: pkg/53659: pkgsrc-2018Q3 devel/protobuf build failure on NetBSD/i3868.0



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

From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: pkg/53659: pkgsrc-2018Q3 devel/protobuf build failure on NetBSD/i3868.0
Date: Sun, 23 Dec 2018 07:45:04 +0900

 For NetBSD/i386 builds, the following change (like firefox etc.)
 seems enough.
 
 
 Index: devel/protobuf/Makefile
 ===================================================================
 RCS file: /cvsroot/pkgsrc/devel/protobuf/Makefile,v
 retrieving revision 1.16
 diff -u -p -d -r1.16 Makefile
 --- devel/protobuf/Makefile	4 Aug 2018 21:19:39 -0000	1.16
 +++ devel/protobuf/Makefile	22 Dec 2018 22:43:26 -0000
 @@ -20,6 +20,11 @@ PKGCONFIG_OVERRIDE+=	protobuf.pc.in
  
  TEST_TARGET=	check
  
 +.if ${MACHINE_ARCH} == "i386"
 +# 64 bit atomic ops are required
 +CXXFLAGS+=	-march=i586
 +.endif
 +
  pre-configure:
  	${RUN} cd ${WRKSRC} && ./autogen.sh
  
 
 ---
 Izumi Tsutsui
 


Home | Main Index | Thread Index | Old Index