On 2012/09/12 11:17, Ryan Freeman wrote:
> Hey ports@
> 
> Hoping I can borrow some eyes on this one, as I have beaten this to
> death myself.
> 
> Basically, a program that build just fine with its plain source
> archive always fails when trying to turn it into a port:
> 
> 
> building via ports:
> 
> [ 60%] Building CXX object source/CMakeFiles/vavoom.dir/net_udp.o
> cd /home/ryan/obj/pobj/vavoom-1.33/build-i386/source && /usr/bin/c++   
> -DHAVE_INTTYPES_H=1 -g -I/home/ryan/obj/pobj/vavoom-1.33/build-i386/source 
> -I/usr/local/include/SDL -I/usr/local/include -I/usr/X11R6/include 
> -I/usr/local/include/AL -I/usr/local/include/libpng 
> -I/home/ryan/obj/pobj/vavoom-1.33/vavoom-1.33/source/-pthread -o 
> CMakeFiles/vavoom.dir/net_udp.o -c 
> /home/ryan/obj/pobj/vavoom-1.33/vavoom-1.33/source/net_udp.cpp

This is using SEPARATE_BUILD (i.e. build dir is outside of the tree)

> cd /home/ryan/src/vavoom/vavoom-1.33/build/source && /usr/bin/c++   
> -DHAVE_INTTYPES_H=1 -g -I/home/ryan/src/vavoom/vavoom-1.33/build/source 
> -I/usr/local/include/SDL -I/usr/local/include -I/usr/X11R6/include 
> -I/usr/local/include/AL -I/usr/local/include/libpng 
> -I/home/ryan/src/vavoom/vavoom-1.33/source/-pthread -o 
> CMakeFiles/vavoom.dir/net_udp.o -c 
> /home/ryan/src/vavoom/vavoom-1.33/source/net_udp.cpp

and this isn't. That would be the first place I'd look (i.e. set 
SEPARATE_BUILD=No).

Not related to the error you're seeing but 
"-I/home/ryan/src/vavoom/vavoom-1.33/source/-pthread" looks wrong..

Reply via email to