﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
400,add freeciv - bep file needs work,scottmc,michaelvoliveira,"freeciv needs a clean patch than can be upstreamed.  ie, don't remove parts that other OSes will still need, find a way to patch it so that it will work for Haiku and others.

For this part, perhaps try setting SRCDIR in the .bep file?
{{{
-# Chdir to the srcdir, then run auto* tools. 
-	cd $SRCDIR 
-	 	 
-	[ -f $srcfile ] || { 
-	  echo ""Are you sure $SRCDIR is a valid source directory?"" 
-	  exit 1 
-	} 
}}}

for the lnetwork check don't remove the socket check, leave it in, it will fail on Haiku and then try network:

{{{
if test $ac_cv_func_connect = no; then 
- 	  AC_CHECK_LIB(socket, connect, LIBS=""-lsocket $LIBS"") 
+	  AC_CHECK_LIB(network, connect, LIBS=""-lnetwork $LIBS"") 
fi 
}}}

Why remove an ifdef section?  Worst case to add a second case to it, but for the real fix you should figure out where HAVE LONGJMP gets set, and figure out why it's getting set for Haiku if it's not working.  Perhaps you didn't run all of the autotools first?
{{{
-#ifdef HAVE__LONGJMP 
- 	#define LUA_USE_ULONGJMP 
-#endif 
}}}",task,closed,normal,,games-strategy/freeciv,,normal,fixed,,
