mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Kill lang/g95 -- it uses an old version of GCC that can't be built anymore
This commit is contained in:
parent
7f67d157d9
commit
876e74effc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344901
1
MOVED
1
MOVED
@ -5455,3 +5455,4 @@ misc/kde4-shared-mime-info||2014-02-18|Removed, the port not needed anymore
|
||||
deskutils/kdepim44-runtime||2014-02-18|Removed: conflicts with new kdepimlibs
|
||||
deskutils/kdepim44||2014-02-18|Removed: depends on deskutils/kdepim44-runtime
|
||||
misc/kde-xdg-env||2014-02-18|Removed, remnant of KDE 3
|
||||
lang/g95||2014-02-18|Removed, uses an old version of GCC which can't be built anymore
|
||||
|
@ -82,7 +82,6 @@
|
||||
SUBDIR += fpc-units
|
||||
SUBDIR += fpc-utils
|
||||
SUBDIR += fsharp
|
||||
SUBDIR += g95
|
||||
SUBDIR += gambit-c
|
||||
SUBDIR += gauche
|
||||
SUBDIR += gawk
|
||||
|
@ -1,72 +0,0 @@
|
||||
# Created by: SATO Hiroki, <hrs@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= g95
|
||||
PORTVERSION= ${G95VERSION}.${SNAPDATE}
|
||||
CATEGORIES= lang
|
||||
MASTER_SITES= ${MASTER_SITE_LOCAL:S/$/:g95/} \
|
||||
http://people.freebsd.org/~gahr/distfiles/:g95 \
|
||||
${MASTER_SITE_GCC:S/$/:gcc/}
|
||||
MASTER_SITE_SUBDIR= gahr/:g95 \
|
||||
releases/gcc-${GCCVERSION}/:gcc
|
||||
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:g95 \
|
||||
gcc-core-${GCCVERSION}${EXTRACT_SUFX}:gcc
|
||||
|
||||
MAINTAINER= gahr@FreeBSD.org
|
||||
COMMENT= Fortran 95 compiler from g95.org
|
||||
|
||||
USE_GMAKE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
SNAPDATE= 20090624
|
||||
G95VERSION= 0.92
|
||||
GCCVERSION= 4.0.3
|
||||
GCCBUILDDIR= ${WRKDIR}/gcc-${GCCVERSION}/
|
||||
LIBF95= libf95.a-${G95VERSION}
|
||||
|
||||
CONFIGURE_ARGS+=--with-gcc-dir=${GCCBUILDDIR}
|
||||
|
||||
PLIST_FILES= bin/g95 bin/f95 bin/f951 lib/libf95.a
|
||||
PORTDOCS= G95Manual.pdf
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} == "amd64"
|
||||
CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL}
|
||||
.else
|
||||
CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL}
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == "powerpc"
|
||||
IGNORE= Fails to install: not yet ported to powerpc
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
cd ${WRKSRC} && ${TAR} xzf ${LIBF95}.tar.gz
|
||||
|
||||
pre-configure:
|
||||
${MKDIR} ${GCCBUILDDIR}/g95
|
||||
cd ${GCCBUILDDIR}/g95 && ../${CONFIGURE_SCRIPT} ${CONFIGURE_TARGET}
|
||||
${GMAKE} -C ${GCCBUILDDIR}/g95
|
||||
|
||||
post-configure:
|
||||
cd ${WRKSRC}/${LIBF95} && ./${CONFIGURE_SCRIPT} \
|
||||
${CONFIGURE_ARGS} ${CONFIGURE_TARGET}
|
||||
|
||||
post-build:
|
||||
cd ${WRKSRC}/${LIBF95} && ${GMAKE}
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/g95 ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/f951 ${PREFIX}/bin
|
||||
${LN} -fs ${PREFIX}/bin/g95 ${PREFIX}/bin/f95
|
||||
${INSTALL_DATA} ${WRKSRC}/${LIBF95}/libf95.a ${PREFIX}/lib
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
post-install:
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
@ -1,4 +0,0 @@
|
||||
SHA256 (g95-0.92.20090624.tar.gz) = b9b07f1e0d051afc570e3c9af08d725ddcb0b02ba7e089f3421a9a4377036d6a
|
||||
SIZE (g95-0.92.20090624.tar.gz) = 1353101
|
||||
SHA256 (gcc-core-4.0.3.tar.gz) = 5f320b2d271af1084ec298cbde2256c5e7e7f7019adc2c52d2ff8593ac64a65f
|
||||
SIZE (gcc-core-4.0.3.tar.gz) = 20137297
|
@ -1,11 +0,0 @@
|
||||
--- ../gcc-4.0.3/gcc/config.gcc.orig 2012-06-20 16:10:59.000000000 +0200
|
||||
+++ ../gcc-4.0.3/gcc/config.gcc 2012-06-20 16:11:35.000000000 +0200
|
||||
@@ -412,6 +412,8 @@
|
||||
tm_defines="${tm_defines} FBSD_MAJOR=8" ;;
|
||||
*-*-freebsd9 | *-*-freebsd[9].*)
|
||||
tm_defines="${tm_defines} FBSD_MAJOR=9" ;;
|
||||
+ *-*-freebsd10 | *-*-freebsd10.*)
|
||||
+ tm_defines="${tm_defines} FBSD_MAJOR=10" ;;
|
||||
*)
|
||||
echo 'Please update *-*-freebsd* in gcc/config.gcc'
|
||||
exit 1
|
@ -1,18 +0,0 @@
|
||||
--- ../gcc-4.0.3/gcc/config/freebsd-spec.h.orig 2005-07-20 13:12:58.000000000 +0200
|
||||
+++ ../gcc-4.0.3/gcc/config/freebsd-spec.h 2012-06-20 15:57:35.000000000 +0200
|
||||
@@ -51,11 +51,13 @@
|
||||
#define FBSD_TARGET_OS_CPP_BUILTINS() \
|
||||
do \
|
||||
{ \
|
||||
- if (FBSD_MAJOR == 9) \
|
||||
+ if (FBSD_MAJOR == 10) \
|
||||
+ builtin_define ("__FreeBSD__=10"); \
|
||||
+ else if (FBSD_MAJOR == 9) \
|
||||
builtin_define ("__FreeBSD__=9"); \
|
||||
else if (FBSD_MAJOR == 8) \
|
||||
builtin_define ("__FreeBSD__=8"); \
|
||||
- if (FBSD_MAJOR == 7) \
|
||||
+ else if (FBSD_MAJOR == 7) \
|
||||
builtin_define ("__FreeBSD__=7"); \
|
||||
else if (FBSD_MAJOR == 6) \
|
||||
builtin_define ("__FreeBSD__=6"); \
|
@ -1,8 +0,0 @@
|
||||
G95 is a stable, production Fortran 95 compiler available for multiple
|
||||
CPU architectures and operating systems. Innovations and optimizations
|
||||
continue to be worked on. Parts of the F2003 standard have been
|
||||
implemented in g95. Note that g95 and gfortran are different compiler
|
||||
http://gcc.gnu.org/wiki/TheOtherGCCBasedFortranCompiler
|
||||
.
|
||||
|
||||
WWW: http://www.g95.org/
|
Loading…
Reference in New Issue
Block a user