freebsd-ports/math/xgobi/files/patch-Imakefile
Pav Lucistnik 1b46496872 - Unbreak on 5.x (gcc 3.3 preprocessor)
PR:		ports/59781
Submitted by:	Tony Maher <tonymaher@optushome.com.au> (maintainer)
Approved by:	marcus (portmgr)
2003-12-01 20:36:12 +00:00

68 lines
1.8 KiB
Text

--- 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
- 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.*/
# 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