diff options
-rw-r--r-- | science/elmer-matc/Makefile | 5 | ||||
-rw-r--r-- | science/elmerpost/Makefile | 10 |
2 files changed, 3 insertions, 12 deletions
diff --git a/science/elmer-matc/Makefile b/science/elmer-matc/Makefile index 8a9cea436367..7e7733cac109 100644 --- a/science/elmer-matc/Makefile +++ b/science/elmer-matc/Makefile @@ -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} 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> |