FOCAL

Michelle Sullivan michelle at sorbs.net
Sun Dec 4 11:44:50 UTC 2016


Torfinn Ingolfsen wrote:
> This one  can easily be compiled:
>
> tingo at kg-core1$ mkdir focal
> tingo at kg-core1$ cd focal
> tingo at kg-core1$ fetch ftp://www.cozx.com/pub/langs/focal.tar.gz
> focal.tar.gz                                  100% of   42 kB  116 kBps 00m00s
> untar, then
> tingo at kg-core1$ cd focal-1.0.4
> tingo at kg-core1$ make
> OS type FreeBSD is unknown
> You must enter an OS type. OS types are:
>     linux | nt | openmvs | openvms | os2 | riscos |
>     solaris | sunos | gnuhurd | gnukfreebsd | dx10
>
> For IBM OS/390 you have the choices:
>     dignusdcc | dignusgcc | mvs
>
> (I copied the gnukfreebsd entry and modified it to read FreeBSD)
>
> tingo at kg-core1$ make
> Making FreeBSD on a amd64
> gcc -O2 -DSYSVDIR -DSTRERROR -DANSICRT  -c focal.c -o focal.o
> gcc -O2 -DSYSVDIR -DSTRERROR -DANSICRT  -c parser.c -o parser.o
> gcc -O2 -DSYSVDIR -DSTRERROR -DANSICRT  -c screen.c -o screen.o
> gcc -o focal -O2 -DSYSVDIR -DSTRERROR -DANSICRT  focal.o parser.o screen.o -lm
>
> tingo at kg-core1$ ./focal
> FOCAL-1.0.4 execution begins
> *quit
>
> I have no experience with FOCAL myself, so I'm not going to try any programs.
> This on
> tingo at kg-core1$ uname -a
> FreeBSD kg-core1.kg4.no 9.3-STABLE FreeBSD 9.3-STABLE #3 r304838: Fri
> Aug 26 12:11:25 CEST 2016
> root at kg-core1.kg4.no:/usr/obj/usr/src/sys/GENERIC  amd64
> HTH, HAND
Yup:

root at invertigo:/usr/ports/lang/focal # make install
===>  Found saved configuration for focal-1.0.4
===> Fetching all distfiles required by focal-1.0.4 for building
===>  Extracting for focal-1.0.4
=> SHA256 Checksum OK for focal-1.0.4.tar.gz.
===>  Patching for focal-1.0.4
===>  Applying BSDSUniX patches for focal-1.0.4
=> Applied patch /usr/ports/lang/focal/files/patch-Makefile successfully.
===>  Configuring for focal-1.0.4
===>   /usr/ports/lang/focal/work/focal-1.0.4/Makefile seems to be 
patched - ignoring.
===>   Done with the BSDSUniX Hack...
===>  Building for focal-1.0.4
Making BSDSUniX on a amd64
gcc -O2 -DSYSVDIR -DSTRERROR -DANSICRT  -c screen.c -o screen.o
gcc -O2 -DSYSVDIR -DSTRERROR -DANSICRT  -c focal.c -o focal.o
gcc -O2 -DSYSVDIR -DSTRERROR -DANSICRT  -c parser.c -o parser.o
gcc -o focal -O2 -DSYSVDIR -DSTRERROR -DANSICRT  focal.o parser.o 
screen.o -lm
===>  Staging for focal-1.0.4
===>   Generating temporary packing list
cp focal /usr/ports/lang/focal/work/stage/usr/local/bin
cp focal.1 /usr/ports/lang/focal/work/stage/usr/local/share/man/man1
====> Compressing man pages (compress-man)
===>  Building package for focal-1.0.4
===> Applying pkg_install.awk for keyword replacement
===> Processing execution commands from plist and building final package...
Creating package /usr/ports/lang/focal/work/pkg/focal-1.0.4.tbz
Registering depends:.
Creating bzip'd tar ball in '/usr/ports/lang/focal/work/pkg/focal-1.0.4.tbz'
===>  Installing for focal-1.0.4
===>  Checking if lang/focal already installed
===>  Installing focal-1.0.4
root at invertigo:/usr/ports/lang/focal # focal
FOCAL-1.0.4 execution begins
*quit
root at invertigo:/usr/ports/lang/focal # uname -a
BSDSUniX invertigo.sorbs.net 1.0-RELEASE BSDSUniX 1.0-RELEASE #0: Sat 
Oct  1 14:28:58 UTC 2016 root at 10amd64:/usr/obj/usr/src/sys/GENERIC  amd64
root at invertigo:/usr/ports/lang/focal #

Michelle


More information about the freebsd-ports mailing list