aboutsummaryrefslogtreecommitdiffstats
path: root/science/elmerpost
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2013-12-26 10:47:52 +0800
committermarino <marino@FreeBSD.org>2013-12-26 10:47:52 +0800
commit918dca22c811897047ef4b5e757d9b98b5cefe7c (patch)
treebcee909371448792088c845b8edc5891b50091d9 /science/elmerpost
parent85f9cabd182452355018c83cfd0fb9e81e3d3e24 (diff)
downloadfreebsd-ports-gnome-918dca22c811897047ef4b5e757d9b98b5cefe7c.tar.gz
freebsd-ports-gnome-918dca22c811897047ef4b5e757d9b98b5cefe7c.tar.zst
freebsd-ports-gnome-918dca22c811897047ef4b5e757d9b98b5cefe7c.zip
science/elmer(post,-matc): Use modern fortran, unbreak, undeprecate
These ports are due to be deleted in a couple of days because they use gcc34. I was curious if they actually specifically needed gcc34 or if any recent gfortan would do. The answer is these ports build fine with USES+=fortran, which pulls in lang/gcc rather than the deprecated lang/gcc34. The elmerpost port was broken on amd64; this is because it needs the -fPIC flag. I built it successfully in poudriere on FreeBSD 9.2, another platform that supposed elmerpost can't build on. I did not test i386, we'll see what QAT says. The listed maintainer has been unresponsive for months on many ports, so due to the fact these two ports are scheduled for deletion on Dec 27, I am not getting prior approval from maintainer. The deprecation and expiration settings are removed.
Diffstat (limited to 'science/elmerpost')
-rw-r--r--science/elmerpost/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/science/elmerpost/Makefile b/science/elmerpost/Makefile
index de6ef6d78a5b..16d5dc32f8d7 100644
--- a/science/elmerpost/Makefile
+++ b/science/elmerpost/Makefile
@@ -14,9 +14,6 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libmatc.a:${PORTSDIR}/science/elmer-matc \
wish8.4:${PORTSDIR}/x11-toolkits/tk84
RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84
-DEPRECATED= Relies on long obsolete version of GCC, does not build on FreeBSD 9 and later nor amd64
-EXPIRATION_DATE=2013-12-27
-
# Elmer avoids the new C++ headers because they cause problems
# on older systems (Irix)
CXXFLAGS+= -Wno-deprecated
@@ -24,16 +21,13 @@ CXXFLAGS+= -Wno-deprecated
USE_GL= yes
USE_XORG= x11 xt xi
GNU_CONFIGURE= yes
-USE_GMAKE= yes
-USE_FORTRAN= g77
+USES= gmake fortran
NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64"
-BROKEN= Does not compile on amd64
-.elif ${OSVERSION} >= 900035
-BROKEN= Does not compile on recent FreeBSD-9
+CFLAGS+= -fPIC
.endif
.include <bsd.port.post.mk>