Commit graph

26 commits

Author SHA1 Message Date
maya
682b878154 g95: now that I understand why -mips1 is chosen here, clarify it in the
comment for the patch.

note: the choice of o32 for this package is questionable, and defaulting
to n32 on gcc/config.gcc instead is probably the right thing, this package
won't run on platforms that use o32, and the n32 linker can't handle the
o32 objects apparently - it dies with "not enough GOT space for local GOT
entries" (PR toolchain/51521).

defaulting to n32 will allow deleting this patch, but I won't make the
transition because I can't get further in the build and hit a compile
assertion about MTYPE not matching CEXT (double float in my case), similar
to GCC bug #20633.
2016-10-02 23:26:39 +00:00
maya
46feee1dbd lang/g95: blindly apply patch to help netbsd/mips build issues.
netbsd/mips gcc defaults to -mips1 which lacks ll/sc instructions
(or anything like them), and rejects the assembly code used here.

switch to mips3 (bare minimum for synchronization primitives) for
these instructions. this will result in runtime failures (illegal
instruction) on mips1, but we're unlikely to see any such users
(MIPS3 was released in 1992).

I'm not comfortable using the proper fix of switching to using
__sync_* because that seems to be a compiler builtin and gcc 4.1.2
might not have it.
Also, that change requires careful testing that this 'dumb' change
doesn't. Additionally, g95 is a dead end (upstream gone), so not
worth the effort.

PR pkg/44547: pkgsrc build failure for g95 on NetBSD/cobalt
2016-09-28 15:34:54 +00:00
maya
853c7bc96e g95: preliminary support for FreeBSD-12, minor rototilling.
Don't fail in configure.
2016-09-27 20:51:11 +00:00
dholland
41c6e246f4 Add patch comments. 2015-12-29 23:34:43 +00:00
he
1c7f195e54 Let g95 build for NetBSD powerpc as well: treat NetBSD the same
as Linux in terms of FPU usage.  Since this is only a build fix
for the NetBSD powerpc ports, there's no revision bump.
2015-11-07 22:56:13 +00:00
sevan
68f8faf96f Add FreeBSD 11 support
Reviewed by: wiz@
2015-10-07 10:36:54 +00:00
asau
41f6c6d689 FreeBSD 10 support. 2014-04-17 21:19:02 +00:00
jperkin
ff18f62bea Patch configure.in instead of configure, the latter is now re-generated.
Fixes Linux and possibly others.
2014-02-19 18:27:43 +00:00
jperkin
61e6f3c119 Weak aliases are unsupported on Darwin, so don't do it. Fixes lots of
dependencies.

Bump PKGREVISION.
2014-02-17 16:49:14 +00:00
asau
a8477b71a7 Do not create duplicate definitions. From FreeBSD ports.
This fixes package on FreeBSD.
2013-09-23 17:56:32 +00:00
joerg
a83ff09635 Build libf95 as shared library. Add rpath entries automatically as
needed. Bump revision.
2013-09-20 23:06:07 +00:00
obache
6f9b15fe9a fixes missng restore stack address.
PR pkg/47906

Bump PKGREVISION.
2013-07-28 12:54:52 +00:00
adam
c70333ce79 * Switched to gcc-4.1.2
* Clean-up
2013-05-20 05:47:34 +00:00
jperkin
c45e8993fa Fix -arch argument on OSX. Gets us a working package on 32-bit at least,
64-bit is still unsupported.
2013-04-04 14:31:32 +00:00
joerg
21acee3ad3 Use non-ambigious assembler syntax. Fix return types. Fix inline usage
to allow building with Clang.
2013-03-02 18:05:46 +00:00
markd
4cf9e64633 Update to 0.93
Changes unknown but 3 years of development since previous stable version.
2013-02-04 20:31:44 +00:00
dholland
0233dd4749 Fix LP64 warning in the runtime (missing headers for alloca) and
bump PKGREVISION.
2012-07-21 22:01:17 +00:00
sbd
a2aee02386 Use ${host_alias} in path names so they match ${MACHINE_GNU_PLATFORM}
(E.g. *-linux-gnu vs. *-linux)
2012-05-08 03:14:25 +00:00
sbd
e77ce8efda Use ${host_alias} in path names so they match ${MACHINE_GNU_PLATFORM}
(E.g. *-linux-gnu vs. *-linux)
2012-05-08 02:59:16 +00:00
rumko
4950eb32cf lang/g95: bring in DragonFly support
ok@ wiz
2011-02-19 16:06:31 +00:00
markd
1954dc7227 Update to g95 0.92.
changes unknown - current stable version.
2011-01-23 09:42:10 +00:00
dholland
d7a4ca8287 Add some bits to the previous commit's destdir support, so install now
works consistently. Should fix broken bulk builds.
Update PLIST accordingly && PKGREVISION++.
2008-09-07 01:59:26 +00:00
dholland
d7b4f9c02a Add DESTDIR support. 2008-09-07 01:33:51 +00:00
markd
ebf3b88ea0 Update g95 to version 0.91 (current stable version).
OKed wennmach.

Changes are 2 years worth of development.
2008-04-04 21:24:48 +00:00
wennmach
377601922f The distfile of the current release of g95 was constantly changing,
therefore:
	- use DIST_SUBDIR
	- downgrade to the latest stable release 0.90, as also suggested
	  by the principal maintainer of g95, Andy Vaught
2006-12-07 14:49:39 +00:00
wennmach
7fd37797b8 Initial import of g95, a Fortran 95 compiler from g95.org.
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.
2006-11-21 13:44:14 +00:00