From 918dca22c811897047ef4b5e757d9b98b5cefe7c Mon Sep 17 00:00:00 2001 From: marino Date: Thu, 26 Dec 2013 02:47:52 +0000 Subject: 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. --- science/elmerpost/Makefile | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'science/elmerpost') 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 .if ${ARCH} == "amd64" -BROKEN= Does not compile on amd64 -.elif ${OSVERSION} >= 900035 -BROKEN= Does not compile on recent FreeBSD-9 +CFLAGS+= -fPIC .endif .include -- cgit