Date: Sun, 16 Apr 2000 13:08:53 -0400 (EDT) From: bush doctor <dervish@ikhala.tcimet.net> To: bugs@ikhala.tcimet.net Subject: ports/18033: Codecrusader port version 2.1.4 does not build. (Patches included) Message-ID: <200004161708.NAA86705@ikhala.tcimet.net>
next in thread | raw e-mail | index | archive | help
>Number: 18033 >Category: ports >Synopsis: Codecrusader port version 2.1.4 does not build. (Patches included) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Apr 16 09:40:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: bush doctor >Release: unknown-1.0 >Organization: tcimet >Environment: FreeBSD ikhala.tcimet.net 5.0-CURRENT FreeBSD 5.0-CURRENT #18: Sat Mar 25 21:35:21 EST 2000 root@ikhala.tcimet.net:/usr/src/sys/compile/GANJA i386 >Description: Codecrusader 2.1.4 was broken for FreeBSD 4.x+ systems. The port failed in a couple of places. First in the FreeBSD specific configuration and also in building the ACE library. >How-To-Repeat: cd /usr/ports/devel/codecrusader make >Fix: Here are the patches by Kent Stewart that allow the port to build ... --- Makefile.orig Mon Apr 10 16:36:33 2000 +++ Makefile Mon Apr 10 16:39:40 2000 @@ -29,6 +29,7 @@ "LIBJTREE=${LIBJTREE}" \ "LIBJX=${LIBJX}" USE_GMAKE= yes +USE_BISON= yes MAKE_ENV= JX_INSTALL_ROOT=${PREFIX}/bin \ JX_LIB_ROOT=${PREFIX}/lib --- programs/code_crusader/Make.header.orig Tue Sep 21 13:23:17 1999 +++ programs/code_crusader/Make.header Fri Dec 10 11:31:35 1999 @@ -73,11 +73,10 @@ ##### .PHONY : default -default: libs jcc ctags +default: libs jcc .PHONY : Makefiles Makefiles: - @cd ctags; ./configure > /dev/null # # required libraries @@ -98,33 +97,19 @@ @cd ${JTOOLBARLIBDIR}; ${MAKE} TOUCHSTRING=${TOUCHSTRING} touch # -# ctags -# - -.PHONY : ctags -ctags: - @cd ctags; ${MAKE}; strip ctags - -# # install binaries # .PHONY : jxinstall -jxinstall: jcc ctags +jxinstall: jcc @strip jcc ifneq (${J_WANT_INSTALL},0) - @mv jcc ctags/ctags ${JX_INSTALL_ROOT}/ - ifeq (${shell whoami},root) - @cp ctags/ctags.1 /usr/man/man1/ - endif + @mv jcc ${JX_INSTALL_ROOT}/ endif .PHONY : jxuninstall jxuninstall: - @${RM} ${JX_INSTALL_ROOT}/jcc ${JX_INSTALL_ROOT}/ctags - ifeq (${shell whoami},root) - @${RM} /usr/man/man1/ctags.1 - endif + @${RM} ${JX_INSTALL_ROOT}/jcc # # remove binaries @@ -132,7 +117,6 @@ .PHONY : tidy tidy:: - @cd ctags; ${MAKE} clean > /dev/null # makemake's clean invokes tidy, which does everything necessary @@ -145,14 +129,13 @@ .PHONY : source source: - @-cd ctags; ${MAKE} clean > /dev/null @cd ${J_DISTR_TAR_DIR}; \ - tar -czf ${SRC_TAR_FILE} ${filter-out %.o %~ %ctags, \ + tar -czf ${SRC_TAR_FILE} ${filter-out %.o %~, \ ${shell cd ${J_DISTR_TAR_DIR}; echo \ ${addprefix ${SRC_FILE_DIR}/, \ README.* LICENSE FAQ Make.* *.fd \ ${EXTRA_FILES} macros/* desktop/* \ - code/* rpm/* ctags/* } }} + code/* rpm/* } }} # # binary distributions @@ -179,18 +162,15 @@ # distr_sub (JCC_DISTR_TAR_FILE, MKMK_TARGET) .PHONY : distr_sub -distr_sub: ctags +distr_sub: @strip jcc @${RM} -r ${JCC} - @mkdir ${JCC} ${JCC}/ctags + @mkdir ${JCC} @ln -s ../README.binary ${JCC}/README @ln -s ../jcc ${JCC}/jcc @ln -s ../macros ${JCC}/macros @ln -s ../desktop ${JCC}/desktop - @ln -s ../../ctags/ctags ${JCC}/ctags/ctags @cp LICENSE FAQ ${EXTRA_FILES} ${JCC}/ - @cp ctags/COPYING ctags/FAQ ctags/NEWS ctags/QUOTES ctags/README \ - ctags/ctags.1 ${JCC}/ctags/ @cd ${MKMKDIR}; \ ${MAKE} JCC_TAR_DIR=${JCC_TAR_DIR}/${JCC} ${MKMK_TARGET} @tar -chf ${JCC_DISTR_TAR_FILE} ${JCC}/* --- ACE/ACE_wrappers/ace/config-freebsd-pthread.h.orig Mon Apr 10 13:55:24 2000 +++ ACE/ACE_wrappers/ace/config-freebsd-pthread.h Mon Apr 10 13:56:09 2000 @@ -44,7 +44,6 @@ #define ACE_HAS_NONCONST_SELECT_TIMEVAL #define ACE_HAS_CHARPTR_DL //#define ACE_USES_ASM_SYMBOL_IN_DLSYM -#define ACE_LACKS_SIGSET #define ACE_NEEDS_SCHED_H // Use of <malloc.h> is deprecated. @@ -84,6 +83,15 @@ #if (__FreeBSD_version >= 300000) #define ACE_HAS_SIGINFO_T #endif /* __FreeBSD_version >= 300000 */ + +#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 */ #define ACE_HAS_CONSISTENT_SIGNAL_PROTOTYPES #define ACE_LACKS_SIGINFO_H --- ACE/ACE_wrappers/ace/Log_Msg.cpp.orig Mon Apr 10 14:01:34 2000 +++ ACE/ACE_wrappers/ace/Log_Msg.cpp Mon Apr 10 14:02:38 2000 @@ -670,9 +670,9 @@ ACE_TRACE ("ACE_Log_Msg::log"); // External decls. -#if ! (defined(__BORLANDC__) && __BORLANDC__ >= 0x0530) +#if defined(ACE_LACKS_SYS_NERR) extern int sys_nerr; -#endif /* ! (defined(__BORLANDC__) && __BORLANDC__ >= 0x0530) */ +#endif /* defined(ACE_LACKS_SYS_NERR) */ typedef void (*PTF)(...); // Only print the message if <priority_mask_> hasn't been reset to >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004161708.NAA86705>