diff options
author | maho <maho@FreeBSD.org> | 2007-01-19 14:10:03 +0800 |
---|---|---|
committer | maho <maho@FreeBSD.org> | 2007-01-19 14:10:03 +0800 |
commit | af40aec166a84cfb4e3da03380c5dc13fd98930f (patch) | |
tree | 21f69f55b46cca94e06809783a05ba562ea1f1a1 /math/bihar | |
parent | f89bfe91ca3267cd7f392620488b525d2b0358d8 (diff) | |
download | freebsd-ports-gnome-af40aec166a84cfb4e3da03380c5dc13fd98930f.tar.gz freebsd-ports-gnome-af40aec166a84cfb4e3da03380c5dc13fd98930f.tar.zst freebsd-ports-gnome-af40aec166a84cfb4e3da03380c5dc13fd98930f.zip |
* Migrate to gfortran.
* Bump port revision.
Submitted by: kris via pointyhat
Diffstat (limited to 'math/bihar')
-rw-r--r-- | math/bihar/Makefile | 10 | ||||
-rw-r--r-- | math/bihar/files/makefile.lib | 6 | ||||
-rw-r--r-- | math/bihar/pkg-plist | 2 |
3 files changed, 12 insertions, 6 deletions
diff --git a/math/bihar/Makefile b/math/bihar/Makefile index 521c9012d176..d57fe091cb1a 100644 --- a/math/bihar/Makefile +++ b/math/bihar/Makefile @@ -7,6 +7,7 @@ PORTNAME= bihar PORTVERSION= 1.0 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= ftp://netlib.bell-labs.com/netlib/ DISTNAME= ${PORTNAME} @@ -15,7 +16,7 @@ EXTRACT_SUFX= .tar MAINTAINER= ports@FreeBSD.org COMMENT= Biharmonic equation in rectangular geometry and polar coordinates -LIB_DEPENDS= linpack.1:${PORTSDIR}/math/linpack +LIB_DEPENDS= linpack.3:${PORTSDIR}/math/linpack # ${DISTFILES} is automatically created from the directory contents IGNOREFILES= ${DISTFILES} @@ -24,6 +25,11 @@ EXTRACT_BEFORE_ARGS= -xf EXTRACT_AFTER_ARGS= # empty USE_LDCONFIG= yes +WANT_FORTRAN= yes #dummy but future use +BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42 +FC= gfortran42 +F77= gfortran42 +MAKE_ENV+= FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}" PORTDOCS= fft.doc.gz @@ -43,7 +49,7 @@ post-install: ${CP} $(WRKSRC)/fft.doc.gz ${DOCSDIR} .endif .if ${PORTOBJFORMAT} == "aout" - ${LN} -sf libbihar.so.1 ${PREFIX}/lib/libbihar.so + ${LN} -sf libbihar.so.2 ${PREFIX}/lib/libbihar.so .endif .include <bsd.port.post.mk> diff --git a/math/bihar/files/makefile.lib b/math/bihar/files/makefile.lib index 9bbaae34ef1c..fbeae390d106 100644 --- a/math/bihar/files/makefile.lib +++ b/math/bihar/files/makefile.lib @@ -2,9 +2,9 @@ # FFTPACK sources LIBDIR= $(PREFIX)/lib -NOPROFILE= no +NO_PROFILE= no -SHLIB_MAJOR= 1 +SHLIB_MAJOR= 2 SHLIB_MINOR= 0 LIB=bihar SRCS = dbihar.f dbipl.f dbiplr.f dbisld.f dbislf.f dbmult.f dbplrm.f \ @@ -32,7 +32,7 @@ SRCS = dbihar.f dbipl.f dbiplr.f dbisld.f dbislf.f dbmult.f dbplrm.f \ CLEANFILES+= *.c test: test.o - f77 test.o -l$(LIB) + ${F77} test.o -l$(LIB) time a.out package: install pkg/+DESC pkg/+ONELINE pkg/+PLIST diff --git a/math/bihar/pkg-plist b/math/bihar/pkg-plist index 3d78e485e163..d4181dc86bb8 100644 --- a/math/bihar/pkg-plist +++ b/math/bihar/pkg-plist @@ -1,3 +1,3 @@ lib/libbihar.a lib/libbihar.so -lib/libbihar.so.1 +lib/libbihar.so.2 |