From owner-freebsd-questions Fri Apr 7 15:14:49 2000 Delivered-To: freebsd-questions@freebsd.org Received: from corinth.bossig.com (corinth.bossig.com [208.26.239.66]) by hub.freebsd.org (Postfix) with ESMTP id EE7ED37C2D9; Fri, 7 Apr 2000 15:14:42 -0700 (PDT) (envelope-from kstewart@3-cities.com) Received: from 3-cities.com (unverified [208.26.241.237]) by corinth.bossig.com (Rockliffe SMTPRA 4.2.1) with ESMTP id ; Fri, 7 Apr 2000 15:24:42 -0700 Message-ID: <38EE5DB0.4C9F3668@3-cities.com> Date: Fri, 07 Apr 2000 15:14:08 -0700 From: Kent Stewart Organization: Columbia Basin Virtual Community Project X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Bush Doctor Cc: FreeBSD-ports@FreeBSD.ORG, "David J. Kanter" , FreeBSD Questions Subject: Re: ports/devel/codecrusader Makefile Fixes 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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 haven't figured out how to setup a patch style of diff but this is 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 */ > 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) */ I also haven't figured out how to check for bison. Code Crusader is dependant on bison being installed. 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. 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/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message