From owner-svn-ports-head@FreeBSD.ORG Thu Dec 26 02:47:53 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C97F76B5; Thu, 26 Dec 2013 02:47:53 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9B6C51722; Thu, 26 Dec 2013 02:47:53 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBQ2lrxI041097; Thu, 26 Dec 2013 02:47:53 GMT (envelope-from marino@svn.freebsd.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBQ2lrbw041095; Thu, 26 Dec 2013 02:47:53 GMT (envelope-from marino@svn.freebsd.org) Message-Id: <201312260247.rBQ2lrbw041095@svn.freebsd.org> From: John Marino Date: Thu, 26 Dec 2013 02:47:53 +0000 (UTC) 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 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Dec 2013 02:47:53 -0000 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 .if ${ARCH} == "amd64" -BROKEN= Does not compile on amd64 -.elif ${OSVERSION} >= 900035 -BROKEN= Does not compile on recent FreeBSD-9 +CFLAGS+= -fPIC .endif .include