diff options
author | jedgar <jedgar@FreeBSD.org> | 2000-03-21 05:33:26 +0800 |
---|---|---|
committer | jedgar <jedgar@FreeBSD.org> | 2000-03-21 05:33:26 +0800 |
commit | 6c0ebfcac6f5109e921e4633eab5472760faf31c (patch) | |
tree | eaed43fa616cdc9b5e778b70af2663e64c4b0eab /math | |
parent | fd09435aedecc6f58f8e38353e8d347bedb2b8e2 (diff) | |
download | freebsd-ports-gnome-6c0ebfcac6f5109e921e4633eab5472760faf31c.tar.gz freebsd-ports-gnome-6c0ebfcac6f5109e921e4633eab5472760faf31c.tar.zst freebsd-ports-gnome-6c0ebfcac6f5109e921e4633eab5472760faf31c.zip |
* Support CXX/CXXFLAGS properly
* Add WWW
PR: 17458
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to 'math')
-rw-r--r-- | math/kaskade/Makefile | 4 | ||||
-rw-r--r-- | math/kaskade/files/patch-aa | 30 | ||||
-rw-r--r-- | math/kaskade/pkg-descr | 4 |
3 files changed, 22 insertions, 16 deletions
diff --git a/math/kaskade/Makefile b/math/kaskade/Makefile index 5bcd0ec823c2..39b5d44e4a52 100644 --- a/math/kaskade/Makefile +++ b/math/kaskade/Makefile @@ -27,11 +27,11 @@ MAKEFILE= makefile ALL_TARGET= k6 do-install: - $(INSTALL_PROGRAM) $(WRKSRC)/k6 $(PREFIX)/bin + ${INSTALL_PROGRAM} ${WRKSRC}/k6 ${PREFIX}/bin post-install: .if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/examples/kaskade + @${MKDIR} ${PREFIX}/share/examples/kaskade ${INSTALL_DATA} ${WRKSRC}/*.cmd ${PREFIX}/share/examples/kaskade ${INSTALL_DATA} ${WRKSRC}/*.geo ${PREFIX}/share/examples/kaskade ${INSTALL_DATA} ${WRKSRC}/*.mat ${PREFIX}/share/examples/kaskade diff --git a/math/kaskade/files/patch-aa b/math/kaskade/files/patch-aa index de27472acfb0..08db5888cb1f 100644 --- a/math/kaskade/files/patch-aa +++ b/math/kaskade/files/patch-aa @@ -1,28 +1,30 @@ ---- makefile.orig Wed Sep 25 09:32:22 1996 -+++ makefile Fri Aug 6 19:37:41 1999 -@@ -1,6 +1,6 @@ +--- makefile.orig Wed Sep 25 23:32:22 1996 ++++ makefile Mon Mar 13 01:34:19 2000 +@@ -1,7 +1,7 @@ PURIFY = #purify PURELINK = #purelink -C++ = $(PURIFY) g++ -+C++ = $(PURIFY) g++ -w -I$(X11BASE)/include - LD = $(PURELINK) g++ +-LD = $(PURELINK) g++ ++C++ = ${CXX} ++LD = ${CXX} #C++ = $(PURIFY) g++ -w -I/sgisoft/gnu/lib/g++-include # !!! SGI GNU 2.7.1 + #LD = $(PURIFY) g++ -w @@ -18,25 +18,33 @@ #FORFLAGS = -O -extend_source # SGI DEBFLAG = -g -OPTFLAG = -Wall -O -g -+#OPTFLAG = -Wall -O -g ++OPTFLAG = ${CXXFLAGS} LIBS = -lX11 -lm $(F77LIBS) -#LIBDIR = /usr/X11/lib # PC LINUX, XFree86 3.1.1 +.if ${PORTOBJFORMAT} == "elf" -+LIBS+=-Wl,-rpath,$(X11BASE)/lib ++LIBS+=-Wl,-rpath,${X11BASE}/lib +.endif -F77LIBS = -L/opt/SUNWspro/SC4.0/lib -lF77 -lM77 -lsunmath -lsocket -lnsl # SUN -+LIBDIR = $(X11BASE)/lib # PC LINUX, XFree86 3.1.1 ++LIBDIR = ${X11BASE}/lib + +#F77LIBS = -L/opt/SUNWspro/SC4.0/lib -lF77 -lM77 -lsunmath -lsocket -lnsl # SUN #F77LIBS = -lftn # SGI @@ -30,17 +32,19 @@ # F77LIBS = -lxlf -lxlf90 -lxlfutil # IBM # F77LIBS = -lfor # DEC Alpha -# F77LIBS = -lf2c # PC LINUX, XFree86 3.1.1 +- +-CFLAGS = -ansi +-CPPFLAGS = +-LDFLAGS = $(DEBFLAG) +.if defined(HAVE_G2C) +F77LIBS = -lg2c # PC LINUX, XFree86 3.1.1 +.else +F77LIBS = -lf2c # PC LINUX, XFree86 3.1.1 +.endif - --CFLAGS = -ansi --CPPFLAGS = ++ +#CFLAGS = -ansi -+CPPFLAGS = $(CFLAGS) - LDFLAGS = $(DEBFLAG) ++CPPFLAGS = -I${X11BASE}/include ++#LDFLAGS = $(DEBFLAG) # ------------------------------------------------------------------------- diff --git a/math/kaskade/pkg-descr b/math/kaskade/pkg-descr index 34bffa2ed308..e474032ab952 100644 --- a/math/kaskade/pkg-descr +++ b/math/kaskade/pkg-descr @@ -1,4 +1,4 @@ -The KASKADE 3.1 software package solves linear scalar elliptic and +The KASKADE software package solves linear scalar elliptic and parabolic problems in 1, 2, 3 space dimensions with adaptive finite element methods. @@ -20,3 +20,5 @@ eLib at the Konrad-Zuse-Zentrum in Berlin. in the subdirectories /pub/kaskade/3.x and /pub/kaskade/Manuals/3.x + +WWW: http://www.zib.de/SciSoft/kaskade/ |