summaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2007-01-12 13:01:51 +0000
committermaho <maho@FreeBSD.org>2007-01-12 13:01:51 +0000
commitc48d1702559e3c5fdc3c590663174ceccd3ee41f (patch)
tree316a67ca40c78a89b35a980cec6bd4b8c32753b7 /cad
parent326e1e036715fd1d68fe73c242772874b2480a24 (diff)
downloadFreeBSD-ports-c48d1702559e3c5fdc3c590663174ceccd3ee41f.zip
FreeBSD-ports-c48d1702559e3c5fdc3c590663174ceccd3ee41f.tar.gz
* Migrate to g77-34 to fix for 7-CURRENT.
* Bump port revision.
Diffstat (limited to 'cad')
-rw-r--r--cad/sceptre/Makefile8
-rw-r--r--cad/sceptre/files/patch-ab12
2 files changed, 13 insertions, 7 deletions
diff --git a/cad/sceptre/Makefile b/cad/sceptre/Makefile
index 924b27a..837e528 100644
--- a/cad/sceptre/Makefile
+++ b/cad/sceptre/Makefile
@@ -7,13 +7,19 @@
PORTNAME= sceptre
PORTVERSION= 00.317
+PORTREVISION= 1
CATEGORIES= cad
MASTER_SITES= http://ftp.osuosl.org/pub/FreeBSD/distfiles/
MAINTAINER= grog@FreeBSD.org
COMMENT= SCEPTRE is a general purpose circuit analysis program
-WITH_FORTRAN= yes
+WANT_FORTRAN= yes #dummy but future use
+BUILD_DEPENDS+= g77-34:${PORTSDIR}/lang/gcc34
+FC= g77-34
+F77= g77-34
+FFLAGS+= -fno-automatic -O
+MAKE_ENV+= FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}"
NO_WRKSUBDIR= YES
diff --git a/cad/sceptre/files/patch-ab b/cad/sceptre/files/patch-ab
index 17deaf8..a64e5cf 100644
--- a/cad/sceptre/files/patch-ab
+++ b/cad/sceptre/files/patch-ab
@@ -1,12 +1,12 @@
---- Makefile~ Sun Nov 12 17:55:44 2000
-+++ Makefile Sun Feb 11 16:30:32 2001
-@@ -1,4 +1,4 @@
+--- Makefile.orig Sun Nov 12 16:25:44 2000
++++ Makefile Fri Jan 12 21:27:09 2007
+@@ -1,5 +1,3 @@
-FC = g77
-+FC = f77
- FFLAGS = -fno-automatic -O
+-FFLAGS = -fno-automatic -O
BASEDIR = `pwd`
INSTDIR = /usr/local
-@@ -13,19 +13,19 @@
+ LIBDIR = ${INSTDIR}/lib
+@@ -13,19 +11,19 @@
cd x1; ${MAKE} "FC=${FC}" "FFLAGS=${FFLAGS}"
cd x2; ${MAKE} "FC=${FC}" "FFLAGS=${FFLAGS}"
install:
OpenPOWER on IntegriCloud