Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Apr 2000 15:14:08 -0700
From:      Kent Stewart <kstewart@3-cities.com>
To:        Bush Doctor <dervish@goku.cl.msu.edu>
Cc:        FreeBSD-ports@FreeBSD.ORG, "David J. Kanter" <djkanter@nwu.edu>, FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: ports/devel/codecrusader Makefile Fixes
Message-ID:  <38EE5DB0.4C9F3668@3-cities.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38EE5DB0.4C9F3668>