Subject: Re: pkg/27796
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: S.P.Zeidler <spz@serpens.de>
List: pkgsrc-bugs
Date: 02/17/2005 13:25:02
The following reply was made to PR pkg/27796; it has been noted by GNATS.

From: "S.P.Zeidler" <spz@serpens.de>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/27796
Date: Thu, 17 Feb 2005 14:23:44 +0100

 I did some comparison between builds on m68k and i386:
 ---- snip ----
 ===> Configuring for apache-2.0.53
 => Fixing paths.
 checking for chosen layout... NetBSD
 checking for working mkdir -p... yes
 checking build system type... i386-unknown-netbsdelf2.0
 checking host system type... i386--netbsdelf
 checking target system type... i386--netbsdelf
 
 Configuring Apache Portable Runtime library ...
 
 checking for APR... yes
   setting CPP to "gcc -E"
   adding "-pthread" to CFLAGS
   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this here missing on m68k
   adding "-g" to CFLAGS
   adding "-DNETBSD" to CPPFLAGS
   setting INCLUDES to " -I/usr/pkg/include/apr-0 "
 
 Configuring Apache Portable Runtime Utility library...
 ---- snap ----
 
 as soon as you put CFLAGS += -pthread into your /etc/mk.conf before
 configure, everything builds like a charm.
 
 regards,
 	spz
 -- 
 spz@serpens.de (S.P.Zeidler)