From owner-freebsd-ports@FreeBSD.ORG Fri Jul 23 19:18:54 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8709416A4CE for ; Fri, 23 Jul 2004 19:18:54 +0000 (GMT) Received: from gw.xbsd.org (xbsd.org [81.56.254.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 773CD43D1D for ; Fri, 23 Jul 2004 19:18:52 +0000 (GMT) (envelope-from flz@xbsd.org) Received: from [192.168.42.3] (innercity.xbsd.org [192.168.42.3]) by gw.xbsd.org (Postfix) with ESMTP id BE013470; Fri, 23 Jul 2004 21:18:54 +0200 (CEST) Message-ID: <41016498.50307@xbsd.org> Date: Fri, 23 Jul 2004 21:18:48 +0200 From: Florent Thoumie User-Agent: Mozilla Thunderbird 0.7.1 (X11/20040710) X-Accept-Language: en-us, en MIME-Version: 1.0 To: N COKYAZICI References: <20040722091115.21036.qmail@web25402.mail.ukl.yahoo.com> In-Reply-To: <20040722091115.21036.qmail@web25402.mail.ukl.yahoo.com> X-Enigmail-Version: 0.84.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: ports@freebsd.org Subject: Re: 2 port requests (with details on how i got some of it working) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jul 2004 19:18:54 -0000 N COKYAZICI wrote: > Hello... > > 1. theres a game engine i've been trying to get > working on FreeBSD 5.2.1-Release, theres a linux > version now - which should be easy to port, i tryed > the windows version before on windows and played it a > lot, it made the graphics of a really old game and > small game look quite modern. > > doomsdayhq dot com > > is the website for it. from what i remember when you > download and install the 9MB models it makes the > graphics like quake 3, i was amazed at how it managed > it with only around 20MB. > > i think it mostly uses SDL, the ./configure fails when > it trys to find SDL_net.h, i tryed ages to try to make > it detect it but it still didnt no matter what i did > :( If you're making a port, you should have put something like : USE_SDL= net (etc, following requirements) If this still doesn't work then you may want to add : CONFIGURE_ENV= "CPPFLAGS=${LOCALBASE}/include" \ "LDFLAGS=${LOCALBASE}/lib" There could be some other problems if the Makefile is written to call sdl-config, look at some examples in ${PORTSDIR}/games and see how they use REINPLACE_CMD. This should help configure to find required headers and libraries. > 2. this isnt relavant to my first request but its > still very useful... you can get the dos gcc - djgpp > to cross compile a DOS/Windows program on FreeBSD. i > managed to get it working, i tested a program it > compiled that had a lot of file i/o functions in > dosbox and it worked nicely, i just couldnt get the > c++ working, i found a website that said if you go to > the "packages/gnu/gcc-3.2-obj" and type "make all-gcc > install" it makes and installs it with c but without > c++, i followed the instructions in the text file > "cross/howto.32" and did the above. i think this is > important as a port because many people have friends > on windows who they need to send programs they wrote > and compiled for them. the website for the compiler is > delorie dot com slash djgpp you just go to the zip > picker and say you want to do a unix cross compile and > select sources for everything you download, the > instructions on the zip picker seem to be kind of out > of date but theres good instructions when you unzip > one of the files, a file called cross/howto.32 should > appear. Sorry but I have no clue for that, never tried to cross-compile DOS program on FreeBSD. -- flz