Date: Thu, 26 Dec 2013 02:47:53 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r337470 - in head/science: elmer-matc elmerpost Message-ID: <201312260247.rBQ2lrbw041095@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marino Date: Thu Dec 26 02:47:52 2013 New Revision: 337470 URL: http://svnweb.freebsd.org/changeset/ports/337470 Log: 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. Modified: head/science/elmer-matc/Makefile head/science/elmerpost/Makefile Modified: head/science/elmer-matc/Makefile ============================================================================== --- head/science/elmer-matc/Makefile Thu Dec 26 00:05:15 2013 (r337469) +++ head/science/elmer-matc/Makefile Thu Dec 26 02:47:52 2013 (r337470) @@ -11,13 +11,10 @@ PKGNAMEPREFIX= elmer- MAINTAINER= sylvio@FreeBSD.org COMMENT= MatC language library used by ELMER FEM package -DEPRECATED= Relies on long obsolete version of GCC, does not build on FreeBSD 10 and later -EXPIRATION_DATE=2013-12-27 - CXXFLAGS+= -Wno-deprecated GNU_CONFIGURE= yes -USE_FORTRAN= g77 +USES= fortran PLIST_SUB= ARCH=${MACHINE_ARCH} Modified: head/science/elmerpost/Makefile ============================================================================== --- head/science/elmerpost/Makefile Thu Dec 26 00:05:15 2013 (r337469) +++ head/science/elmerpost/Makefile Thu Dec 26 02:47:52 2013 (r337470) @@ -14,9 +14,6 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libmatc. 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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312260247.rBQ2lrbw041095>