ports/59781: Port update (maintainer): math/xgobi
Tony Maher
tonymaher at optushome.com.au
Sat Nov 29 01:50:20 UTC 2003
>Number: 59781
>Category: ports
>Synopsis: Port update (maintainer): math/xgobi
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Fri Nov 28 17:50:17 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Tony Maher
>Release: FreeBSD 4.9-RC i386
>Organization:
>Environment:
System: FreeBSD dt.home 4.9-RC FreeBSD 4.9-RC #6: Sat Oct 4 13:32:57 EST 2003 root at dt.home:/usr/obj/usr/src/sys/DT i386
>Description:
Kris pointed me to:
http://bento.freebsd.org/errorlogs/ia64-5-latest/xgobi-2002.06.20.log
xgobi builds on 4-stable but not on 5.1-CURRENT #3: Mon Nov 17
I am not familiar with details of Imakefiles but it
looks like imake or more likely one of the tools imake calls
has changed (cpp?) and comments are handled differently.
Patch to change all comments to use standard C type delimiters.
o Some whitespace changes in comments due to new format.
o Changed one comment due to it referencing a following line
which has moved down two more lines due to te commenting whitespace
changes.
Tested on 4.9-RC #6: Sat Oct 4 as well as 5.1-CURRENT #3: Mon Nov 17.
I have not contacted authors regarding this issue, since during my last
discussion (over 12 months ago) they inidcated that xgobi was not
going to be maintained as they were working on a replacement package.
>How-To-Repeat:
>Fix:
diff -ruN xgobi.orig/files/patch-Imakefile xgobi/files/patch-Imakefile
--- xgobi.orig/files/patch-Imakefile Sun Oct 27 12:57:53 2002
+++ xgobi/files/patch-Imakefile Sat Nov 29 11:43:08 2003
@@ -1,11 +1,68 @@
---- Imakefile.orig Sat Oct 12 12:26:37 2002
-+++ Imakefile Sat Oct 12 12:28:33 2002
-@@ -13,7 +13,7 @@
+--- Imakefile.orig Sat Nov 29 11:40:11 2003
++++ Imakefile Sat Nov 29 11:42:31 2003
+@@ -1,22 +1,23 @@
+-/**/#
+-/**/# This is an Imakefile for the XGobi program. The only change that
+-/**/# might need to be made is for the XGOBID variable.
+-/**/#
+-
+-/**/# Remove the comment delimeters on the second to next line to
+-/**/# compile for CORBA.
+-/**/# Requires some Omegahat code - see README.corba.
+-/**/#define USE_CORBA 1
+-
+-/**/# Set XGOBID to the directory containing
+-/**/# the xgobi directories src, help, ps, etc.
++/*
++** This is an Imakefile for the XGobi program. The only change that
++** might need to be made is for the XGOBID variable.
++**
++** Remove the comment delimeters on the fourth to next line to
++** compile for CORBA.
++** Requires some Omegahat code - see README.corba.
++*/
++/*#define USE_CORBA 1 */
++/*
++** Set XGOBID to the directory containing
++** the xgobi directories src, help, ps, etc.
++*/
XGOBID = $(PWD)/..
- /**/# Use the gnu C compiler
+-/**/# Use the gnu C compiler
- CC = gcc
++/* Use the gnu C compiler */
+ CC ?= gcc
CCOPTIONS = -ansi -w
- /**/# Or use the C compiler on your system, and whatever options it requires.
+-/**/# Or use the C compiler on your system, and whatever options it requires.
++/* Or use the C compiler on your system, and whatever options it requires.*/
+ # CC = cc
+ # CCOPTIONS = -xansi -n32
+
+@@ -29,17 +30,19 @@
+ #endif /* End of USE_CORBA */
+
+
+-/**/#
+-/**/# RPC: Remote Procedure Calls
+-/**/#
++/*
++** RPC: Remote Procedure Calls
++*/
++
++/* If you plan to use RPC, uncomment this #define
++** RPC is the define for any kind of RPC
++*/
+
+-/**/# If you plan to use RPC, uncomment this #define
+-/**/# RPC is the define for any kind of RPC
+ /* #define RPC */
+
+-/**/# Special RPCs
++/* Special RPCs */
+ /* #define DCE_RPC */
+-/**/# If you plan to use XPLORE, uncomment this #define
++/* If you plan to use XPLORE, uncomment this #define */
+ /* #define XPLORE */
+
+ #ifdef HPArchitecture
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list