diff options
author | Maho Nakata <maho@FreeBSD.org> | 2003-08-08 16:06:50 +0000 |
---|---|---|
committer | Maho Nakata <maho@FreeBSD.org> | 2003-08-08 16:06:50 +0000 |
commit | 02ca99bd5f0fb806476d75d9b772f77fd23b1efa (patch) | |
tree | 781a374362405d68a1b79d734ea788df261e14e0 /cad/calculix/files/patch-ccx_VER+src+Makefile | |
parent | 0b699f42b34b600b2b42151ebc278b23172b0d7a (diff) | |
download | ports-02ca99bd5f0fb806476d75d9b772f77fd23b1efa.tar.gz ports-02ca99bd5f0fb806476d75d9b772f77fd23b1efa.zip |
Notes
Diffstat (limited to 'cad/calculix/files/patch-ccx_VER+src+Makefile')
-rw-r--r-- | cad/calculix/files/patch-ccx_VER+src+Makefile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/cad/calculix/files/patch-ccx_VER+src+Makefile b/cad/calculix/files/patch-ccx_VER+src+Makefile new file mode 100644 index 000000000000..dbd1fd57ff80 --- /dev/null +++ b/cad/calculix/files/patch-ccx_VER+src+Makefile @@ -0,0 +1,33 @@ +--- ccx_1.1/src/Makefile.orig Wed Aug 6 16:22:49 2003 ++++ ccx_1.1/src/Makefile Thu Aug 7 08:48:23 2003 +@@ -1,8 +1,8 @@ +-CFLAGS = -Wall -O -I ../../../SPOOLES.2.2 -DARCH="Linux" +-FFLAGS = -Wall -O ++CFLAGS += -I%%LOCALBASE%%/include/spooles -DARCH="FreeBSD" ++#FFLAGS = -Wall -O + +-CC=cc +-FC=g77 ++CC=%%CC%% ++FC=%%FC%% + + .c.o : + $(CC) $(CFLAGS) -c $< +@@ -225,15 +225,10 @@ + OCCXC = $(SCCXC:.c=.o) + OCCXMAIN = $(SCCXMAIN:.c=.o) + +-DIR=../../../SPOOLES.2.2 +- +-LIBS = \ +- $(DIR)/spooles.a \ +- ../../../ARPACK/libarpack_INTEL.a \ +- -lm ++LIBS = -lspooles -larpack %%BLAS_LIBS%% -lm + + ccx_1.1: $(OCCXMAIN) ccx_1.1.a $(LIBS) +- g77 -Wall -O -o $@ $(OCCXMAIN) ccx_1.1.a $(LIBS) ++ $(FC) -O -o $@ $(OCCXMAIN) ccx_1.1.a $(LIBS) -L%%LOCALBASE%%/lib + + ccx_1.1.a: $(OCCXF) $(OCCXC) + ar vr $@ $? |