diff options
author | Diane Bruce <db@FreeBSD.org> | 2015-04-07 21:17:13 +0000 |
---|---|---|
committer | Diane Bruce <db@FreeBSD.org> | 2015-04-07 21:17:13 +0000 |
commit | fea6d107f760e398d5bccd83a919465a896c7b01 (patch) | |
tree | f83fd33a4bf476ba084351c1ac2528efe210c1fd /comms/nec2c/files | |
parent | c7dd917d9f46e993f388f618fad955886a5191f1 (diff) | |
download | ports-fea6d107f760e398d5bccd83a919465a896c7b01.tar.gz ports-fea6d107f760e398d5bccd83a919465a896c7b01.zip |
Notes
Diffstat (limited to 'comms/nec2c/files')
-rw-r--r-- | comms/nec2c/files/carg.c | 20 | ||||
-rw-r--r-- | comms/nec2c/files/patch-Makefile | 16 |
2 files changed, 8 insertions, 28 deletions
diff --git a/comms/nec2c/files/carg.c b/comms/nec2c/files/carg.c deleted file mode 100644 index 0e021032c0dd..000000000000 --- a/comms/nec2c/files/carg.c +++ /dev/null @@ -1,20 +0,0 @@ -/* carg.f -- translated by f2c (version 20000817). -*/ -#include <math.h> -#include <complex.h> - -double carg(complex z__) -{ - /* System generated locals */ - double ret_val; - -/* april 1977 version. w. fullerton, c3, los alamos scientific lab. */ - - ret_val = (float)0.; - if (creal(z__) != (float)0. || cimag(z__) != (float)0.) { - ret_val = atan2(cimag(z__), creal(z__)); - } - - return ret_val; -} /* carg */ - diff --git a/comms/nec2c/files/patch-Makefile b/comms/nec2c/files/patch-Makefile index 205033af3e6f..d2a7537d98d7 100644 --- a/comms/nec2c/files/patch-Makefile +++ b/comms/nec2c/files/patch-Makefile @@ -1,18 +1,18 @@ ---- Makefile.orig Tue Jan 27 14:53:38 2004 -+++ Makefile Sat Jul 9 00:19:39 2005 +--- Makefile.orig 2004-01-27 14:53:38.000000000 -0500 ++++ Makefile 2015-04-07 17:08:29.000000000 -0400 @@ -1,12 +1,11 @@ #Makefile for nec2c 21 Aug 2003 - + -SHELL = /bin/sh -CC = gcc -Wall -O3 -g +all: nec2c - + -objects = nec2c.o misc.o somnec.o -+objects = nec2c.o misc.o somnec.o carg.o - ++objects = nec2c.o misc.o somnec.o + nec2c : $(objects) - $(CC) -lm -lefence -o nec2c $(objects) + $(CC) -lm -o nec2c $(objects) -L${PREFIX}/lib -lccm - + $(objects) : nec2c.h - + |