From owner-freebsd-questions Sat Apr 8 12:21:21 2000 Delivered-To: freebsd-questions@freebsd.org Received: from goku.cl.msu.edu (goku.cl.msu.edu [35.8.3.20]) by hub.freebsd.org (Postfix) with ESMTP id 2F2DB37B5AA; Sat, 8 Apr 2000 12:21:14 -0700 (PDT) (envelope-from dervish@goku.cl.msu.edu) Received: (from dervish@localhost) by goku.cl.msu.edu (8.9.3/8.9.3) id PAA65615; Sat, 8 Apr 2000 15:21:07 -0400 (EDT) (envelope-from dervish) Date: Sat, 8 Apr 2000 15:21:07 -0400 From: Bush Doctor To: Kent Stewart Cc: FreeBSD-ports@FreeBSD.ORG, "David J. Kanter" , FreeBSD Questions Subject: Re: ports/devel/codecrusader Makefile Fixes Message-ID: <20000408152107.A65431@goku.cl.msu.edu> References: <200004041002.DAA09557@freefall.freebsd.org> <38EBBDE2.47FF5BF2@3-cities.com> <20000405223501.B86568@ikhala.tcimet.net> <38EBF298.1B051729@3-cities.com> <20000405235751.A86786@ikhala.tcimet.net> <38EC1472.28B209C7@3-cities.com> <20000406170029.B98981@goku.cl.msu.edu> <38EE5DB0.4C9F3668@3-cities.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <38EE5DB0.4C9F3668@3-cities.com>; from kstewart@3-cities.com on Fri, Apr 07, 2000 at 03:14:08PM -0700 X-Operating-System: FreeBSD 5.0-CURRENT i386 WWW-Home-Page: http://bantu.cl.msu.edu Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Out of da blue Kent Stewart aka (kstewart@3-cities.com) said: > > > Bush Doctor wrote: > > > > Out of da blue Kent Stewart aka (kstewart@3-cities.com) said: > > > I think there was some source missing. I added code_medic, > > > code_crusader, JSearch, JToolBar, and JTree and did a "gmake > > > freebsd3.x" from the JX-1.5.3 directory and it is making jcc. The > > > ports Makefile doesn't add two of these. > > That's one thing I noticed last night. I was missing JSearch, however > > I left off the "freebsd3.x" target. I'm going to look at it again > > tonight. > > Here is what I have had to do to make Code Crusader 1.5.3 build as a > port. > > Modify line 97 in patch-ac to get rid of the line 172 error. There was > a blank right after the + that was causing the line 172 separator > error > > + @mkdir ${JCC} I wasn't getting this error on my 5.0-current system, so I did not need to make this change. > > I haven't figured out how to setup a patch style of diff but this is diff -ruN, but you may have found this out by now ... ;-) > my first diff that I applied to > ACE/ACE_wrappers/config-freebsd-pthread.h > 47d46 > < #define ACE_LACKS_SIGSET > 87a87,95 > > #if (__FreeBSD_version < 400000) > > #define ACE_LACKS_SIGSET > > #endif /* __FreeBSD_version >= 400000 */ > > > > #if (__FreeBSD_version >= 400000) > > #define ACE_HAS_UCONTEXT_T > > #define ACE_HAS_SOCKLEN_T > > #endif /* __FreeBSD_version >= 400000 */ Good catch here ... > > > > The second diff is > ACE/ACE_wrappers/ace/Log_Msg.cpp > 673c673 > < #if ! (defined(__BORLANDC__) && __BORLANDC__ >= 0x0530) > --- > > #if defined(ACE_LACKS_SYS_NERR) > 675c675 > < #endif /* ! (defined(__BORLANDC__) && __BORLANDC__ >= 0x0530) */ > --- > > #endif /* defined(ACE_LACKS_SYS_NERR) */ Nice follow up ;-) I building the codecrusader port on my box at home as I write this. It's gotten further than before, so I'm rather optimistic ... > > I also haven't figured out how to check for bison. Code Crusader is > dependant on bison being installed. I think we need this in the Makefile: USE_BISON= yes > > These changes produced a jcc on my FreeBSD 4.0-Stable using the > port/codecrusader/Makefile. > > I tried building a simple hellow_world from the tutorial. I had errors > but it created the source file, project, and it appeared to try and > compile it. I'll see what happens after my build ... Good work!!! > > Kent > > -- > Kent Stewart > Richland, WA > > mailto:kstewart@3-cities.com > http://www.3-cities.com/~kstewart/index.html > FreeBSD News http://daily.daemonnews.org/ > > SETI(Search for Extraterrestrial Intelligence) @ HOME > http://setiathome.ssl.berkeley.edu/ > #;^) -- f u cn rd ths, u cn gt a gd jb n cmptr prgrmmng. bush doctor To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message