Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Nov 2007 21:00:22 -0600
From:      Stephen Montgomery-Smith <stephen@math.missouri.edu>
To:        FreeBSD Ports List <freebsd-ports@freebsd.org>
Subject:   Re: stlport
Message-ID:  <4740FC46.1070405@math.missouri.edu>
In-Reply-To: <4740FB72.5010206@math.missouri.edu>
References:  <4740FB72.5010206@math.missouri.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Stephen Montgomery-Smith wrote:
> I am trying to get the devel/stlport to work on FreeBSD 7.0.  A start is 
> to add the line
> USE_GCC=    3.4
> in the appropriate place in the Makefile, but then it becomes clear that 
> some additional change is needed to stlport/config/stl_gcc.h.  This file 
> is the most convoluted mess of #if's I have ever seen.  The attached 
> patch works on my particular system, but clearly it is a fudge and won't 
> be universal to other situations.
> 
> Is anyone working on this?  If not, would you guys be kind enough to 
> make my patch more proper?
> 
> Thanks,
> Stephen

Just to clarify, the appropriate bits I added were:


+#     define tempi386 i386
+#     undef i386
+#     define _STLP_NATIVE_INCLUDE_PATH 
/usr/local/lib/gcc/i386-portbld-freebsd7.0/3.4.6/include/c++
+#     define _STLP_NATIVE_OLD_STREAMS_INCLUDE_PATH 
/usr/local/lib/gcc/i386-portbld-freebsd7.0/3.4.6/include/c++
+#     define i386 tempi386

and

+#define _STLP_NO_MEMBER_TEMPLATE_CLASSES



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4740FC46.1070405>