Success porting amaya to FreeBSD

I just wanted to report that I had no trouble at all porting amaya
0.95b to FreeBSD (2.1.5).

Here is the diff -c of MachineType against
MachineType.orig:

------------------------------------------------------------------------
*** MachineType Tue Apr  1 09:28:04 1997
--- MachineType.orig    Tue Apr  1 09:27:08 1997
***************
*** 79,95 ****
        fi
  fi
  
- # on teste pour le FreeBSD
- if [ -x /usr/bin/uname ]
- then
-       MACH=`/usr/bin/uname`
-       if [ "$MACH" = "FreeBSD" ]
-       then
-               echo "FreeBSD"
-               exit 0
-       fi
- fi
- 
  echo "Unknown Host"  >&2
  exit 1
  
--- 79,84 ----
------------------------------------------------------------------------

And here is the diff -c of Makefile against Makefile.template (as you
can see I just used the Linux choice when there was one):

------------------------------------------------------------------------
*** Makefile    Tue Apr  1 09:31:01 1997
--- Makefile.template   Tue Apr  1 09:28:28 1997
***************
*** 1,8 ****
  #
  # Base definitions
  #
! THOTDIR       = /usr/home/amaya/Thot
! MACHINE       = FreeBSD
  
  #
  # Link options : dynamic vs. static
--- 1,8 ----
  #
  # Base definitions
  #
! THOTDIR       = ${HOME}/Thot
! MACHINE       = Target <= Change this !!!!
  
  #
  # Link options : dynamic vs. static
***************
*** 13,26 ****
  #
  # CFLAGS : with or without debug support
  #
! CFLAGS=-g
! #CFLAGS=-O
  #CFLAGS=-O2 # gcc specific
  
  #
  # SYSTEM_FLAGS : more system specific options
  #
! SYSTEM_FLAGS = -fwritable-strings -Wall               # for GCC on Linux
  #SYSTEM_FLAGS = -Wall -DRISC -DSVR4 -DSYSV            # for GCC on Solaris
  #SYSTEM_FLAGS = -Wall -DBSD -DRISC                    # for GCC on SunOs
  #SYSTEM_FLAGS = -Wall                                 # for GCC on SGI
--- 13,26 ----
  #
  # CFLAGS : with or without debug support
  #
! #CFLAGS=-g
! CFLAGS=-O
  #CFLAGS=-O2 # gcc specific
  
  #
  # SYSTEM_FLAGS : more system specific options
  #
! #SYSTEM_FLAGS = -fwritable-strings -Wall              # for GCC on Linux
  #SYSTEM_FLAGS = -Wall -DRISC -DSVR4 -DSYSV            # for GCC on Solaris
  #SYSTEM_FLAGS = -Wall -DBSD -DRISC                    # for GCC on SunOs
  #SYSTEM_FLAGS = -Wall                                 # for GCC on SGI
***************
*** 29,36 ****
  #
  # MOTIFINCL : how to grab Motif includes
  #
! #MOTIFINCL = -I/usr/X11/include                               # generic
! MOTIFINCL = -I/usr/X11R6/include                      # Linux
  #MOTIFINCL = -I/usr/openwin/include -I/usr/dt/include   # Solaris
  #MOTIFINCL = -I/usr/openwin/include -I/usr/X11/include  # SunOs
  #MOTIFINCL = -I/usr/X11/include                       # AIX 4.1
--- 29,36 ----
  #
  # MOTIFINCL : how to grab Motif includes
  #
! MOTIFINCL = -I/usr/X11/include                                # generic
! #MOTIFINCL = -I/usr/X11R6/include                     # Linux
  #MOTIFINCL = -I/usr/openwin/include -I/usr/dt/include   # Solaris
  #MOTIFINCL = -I/usr/openwin/include -I/usr/X11/include  # SunOs
  #MOTIFINCL = -I/usr/X11/include                       # AIX 4.1
***************
*** 44,51 ****
  # MOTIFLIBS : how to grab Motif at link time.
  #             X11R6 probably need -lSM -lICE
  #
! #MOTIFLIBS = -L/usr/X11/lib -lXm -lXt                 # generic
! MOTIFLIBS = -L/usr/X11R6/lib -lXm -lXt -lSM -lICE     # Linux
  #MOTIFLIBS = -L/usr/dt/lib -L/usr/openwin/lib -lXm -lXt       # Solaris
  #MOTIFLIBS = -L/usr/X11/lib -lXm -lXt                 # SunOs
  #MOTIFLIBS = -L/usr/X11/lib -lXm -lXt                 # AIX 4.1
--- 44,51 ----
  # MOTIFLIBS : how to grab Motif at link time.
  #             X11R6 probably need -lSM -lICE
  #
! MOTIFLIBS = -L/usr/X11/lib -lXm -lXt                  # generic
! #MOTIFLIBS = -L/usr/X11R6/lib -lXm -lXt -lSM -lICE    # Linux
  #MOTIFLIBS = -L/usr/dt/lib -L/usr/openwin/lib -lXm -lXt       # Solaris
  #MOTIFLIBS = -L/usr/X11/lib -lXm -lXt                 # SunOs
  #MOTIFLIBS = -L/usr/X11/lib -lXm -lXt                 # AIX 4.1
***************
*** 56,63 ****
  # STDLIBS : standard libraries, Xext, X11, network, math and C
  #         SYSV machines probably need -lsocket -lnsl
  #
! #STDLIBS   = -L/usr/X11/lib -lX11 -lm
! STDLIBS  = -L/usr/X11R6/lib -lXext -lX11 -lm          # Linux
  #STDLIBS  = -L/usr/openwin/lib -lX11 -lsocket -lnsl -lm -lc # Solaris
  #STDLIBS  = -L/usr/X11/lib -lX11 -lm                  # SunOs
  #STDLIBS  = -L/usr/X11/lib -lX11 -lsocket -lnsl -lm -lc # AIX 4.1
--- 56,63 ----
  # STDLIBS : standard libraries, Xext, X11, network, math and C
  #         SYSV machines probably need -lsocket -lnsl
  #
! STDLIBS   = -L/usr/X11/lib -lX11 -lm
! #STDLIBS  = -L/usr/X11R6/lib -lXext -lX11 -lm         # Linux
  #STDLIBS  = -L/usr/openwin/lib -lX11 -lsocket -lnsl -lm -lc # Solaris
  #STDLIBS  = -L/usr/X11/lib -lX11 -lm                  # SunOs
  #STDLIBS  = -L/usr/X11/lib -lX11 -lsocket -lnsl -lm -lc # AIX 4.1
------------------------------------------------------------------------

I built the jpeg, png, z, and www libraries from the sources even
though I already had these libraries from the FreeBSD CDROM -- I
wanted to be sure I had the versions you developed and tested
against.

The X11R6 libraries were from XFree86 (3.1.2), and Motif 2.0 was the
SWiM package from ACC Corp.

If there is anything else you would like (config.h?, any binaries?),
let me know.

Thanks,
sts

----------------------------------
E-Mail: Steven T. Schwarz <schwarz@schwarz.inetworld.net>
Date: 04/01/97
Time: 09:56:16

This message was sent by XF-Mail
----------------------------------

Received on Tuesday, 1 April 1997 20:17:47 UTC