Commit Graph

41 Commits

Author SHA1 Message Date
David E. O'Brien
5cd5b258b5 Convert to the PORTNAME - PORTVERSION syntax. 2000-04-12 06:21:15 +00:00
David E. O'Brien
e05c25a8bf Restore useless version required comments. 2000-03-22 00:28:26 +00:00
David E. O'Brien
da36feaffe Remove the "version required" line. 2000-03-20 02:37:50 +00:00
David E. O'Brien
1c5fe891c5 portlint 1999-09-04 20:34:13 +00:00
Michael Haro
af5f314286 ln -> ${LN} 1999-08-28 01:58:05 +00:00
David E. O'Brien
f0f690adc1 Change Id->FreeBSD. 1999-08-25 06:35:40 +00:00
David E. O'Brien
a90627b9d6 Don't waste CDROM real estate on a soon to be OBE version. 1999-07-15 11:14:11 +00:00
Tim Vanderhoek
dd9ff05a6a Commit #3/4 to enforce caps, no period.
FWIW, checkout of these things took 5+hrs, staying on the local
.freebsd.org net w/o hitting the 'net at all.

As promised,

$ time cvs ci
real    67m51.701s
user    0m1.250s
sys     0m5.345s
1999-06-26 19:12:45 +00:00
David E. O'Brien
5c50c0063f Switch over fully to "CONFIGURE_TARGET" and specify a unique one so I can
tell if people built Gcc28 from the ports collection in a normal manner when
I get bug reports.
1999-03-31 10:42:21 +00:00
David E. O'Brien
052412681c Add support for -fformat-extensions.
(kernel and world should now be buildable using gcc28)
1999-03-31 08:47:14 +00:00
David E. O'Brien
cc11e4e242 Make -fsjlj-exceptions the default (ie, no DWARF2_UNWIND_INFO) for the ELF
case too.

Submitted by:	terry (Thanks to Amancio for identification)
1999-03-22 02:02:13 +00:00
Satoshi Asami
e244b8bccc Fix to make ports work with bsd.port.mk rev. 1.306.
${MACHINE_ARCH}--freebsd${OSREL} is now passed to CONFIGURE_ARGS if
GNU_CONFIGURE is defined.  Take the target out of CONFIGURE_ARGS of
some ports that added it explicitly; define it as
${MACHINE_ARCH}--freebsd if the port doesn't like the ${OSREL} part;
define it as something else (such as ${MACHINE_ARCH}--freebsdelf if
the port requires that; define it as an empty string if the port
doesn't like it at all.

The last might be a sign that a GNU_CONFIGURE port actually doesn't
use GNU's version of configure at all; but I don't have time to go
look at them all, we'll fix them as time goes on.

At least we've got much fewer "-unknown-"s in the tree as the result. :)
1999-03-08 07:28:36 +00:00
David E. O'Brien
c6a48c0a29 GNUHOST is now "i386-unknown-freebsd3" for ELF machines and
"i386-unknown-freebsdaout3" for a.out machines.
1999-02-09 18:25:43 +00:00
Bill Fenner
5261958626 ${MASTER_SITE_GNU} got rearranged in December; let's catch up. 1999-01-27 07:41:29 +00:00
David E. O'Brien
f1554d4df6 DEFAULT_PCC_STRUCT_RETURN should be "0" for the ELF case too. 1999-01-12 10:15:14 +00:00
David E. O'Brien
9554bec5c6 i386 => ${ARCH}
Requested by:   imp
1998-11-13 07:32:21 +00:00
Satoshi Asami
dbc8aa6cc1 Use bsd.port.{pre,post}.mk. Either use them to avoid having to define
something already there (PORTOBJFORMAT, OSVERSION) or move stuff from after
.include <bsd.port.mk> to before.

(This is not by any means the complete list but just the ones I've noticed
recently.)
1998-11-11 05:37:39 +00:00
David E. O'Brien
87c709ae22 Pass the GNUARCH value to `configure' to force the detection of an ELF system.
(I still intend to fix the bug in the script that misses an ELF system for
an a.out one)

Current fix submitted by:	"Alec Wolman" <wolman@cs.washington.edu>
1998-11-10 07:33:33 +00:00
Satoshi Asami
f7ccaa76b6 GNUHOST was defined twice. Also, take out the ELF cruft, a simple
BROKEN_ELF will do. :)
1998-10-08 01:19:19 +00:00
David E. O'Brien
98317e7de4 Broken on ELF boxes. 1998-09-27 04:25:56 +00:00
Tim Vanderhoek
8ce50883da The first time I tried committing this set of manpage removals it got
all the way to diffing yorick/pkg/PLIST and then died with a
"bad hostname freefall.freebsd.org" ....  Hopefully that's not bad...  ;-)

Hmm..  Maybe I'll try doing this from beast, next!  kickme's a boring
machine, and bento is busy.
1998-08-18 18:33:15 +00:00
David E. O'Brien
64dbac5893 dont ask.. 1998-08-18 03:47:45 +00:00
David E. O'Brien
9c38a6c5ee Update to use PLIST_SUB 1998-08-18 03:45:02 +00:00
David E. O'Brien
b756e894fa * expmed.c (expand_mult): Use 0 as add_target if should preserve
subexpressions.
* expmed.c (expand_divmod): Save last divison constant and
        if rem is same as div, don't adjust rem cost.

Submitted by:	Peter Jeremy <peter.jeremy@auss2.alcatel.com.au>
1998-08-14 09:20:23 +00:00
David E. O'Brien
8c54814372 * Minor bug fixes from OpenBSD (and some stuff to ease diff'ing in the future)
* Some initial support for FreeBSD-alpha
* Add some optimizations required by g77, which still might be of some use
  to adventuring C/C++ programmers.

Obtained from:	OpenBSD (parts)
1998-08-13 17:55:40 +00:00
Satoshi Asami
48887e4ba8 Make these ports (TenDRA, egcs, gcc28, glibstdc++28 and guavac, all
under lang) use ${OSREL} as defined in bsd.port.mk rev 1.281 and
1.227.2.43.

Note gcc28 is hopelessly broken, it uses an undefined variable
${GNUOSREL} and thus has an empty string wherever ${OSREL} should
be.  However, it's consistent with its own PLIST at the current state
so I haven't "fixed" it yet.
1998-08-07 22:49:31 +00:00
David E. O'Brien
4fdec67a2c Better way to do the equivalent of "-fsjlj-exceptions". 1998-07-22 02:53:14 +00:00
John Polstra
2c8f4253cc Fix this port so that it can find crt0.o in /usr/lib/aout on recent
-current systems.

Fix the definition of the preprocessor symbol __FreeBSD__.  It had
been defined as "2=3".

Implement support for weak symbols.  This solves the "___error"
undefined problem on -current systems.

Default to -fsjlj-exceptions even for C programs.  This is needed
because a few modules in libgcc are built with -fexceptions turned
on, and the default style of exception support causes croakage.

I tried a make buildworld on a recent -current system by adding the
following to /etc/make.conf:

CC=/usr/local/bin/gcc28 -B/usr/local/lib/gcc-lib/i386-unknown-freebsd3.0/2.8.1/
CXX=/usr/local/bin/g++28 -B/usr/local/lib/gcc-lib/i386-unknown-freebsd3.0/2.8.1/

It got pretty far along before dying.  The death occurred when building
our old native libstdc++, almost certainly because of header file
incompatibilities.

Another obstacle for make world is that this port doesn't currently
build a PIC version of libgcc (libgcc_pic.a).
1998-06-30 21:10:27 +00:00
Satoshi Asami
838073c384 Unmark it broken, it worked when I emptied /usr/local. 1998-06-10 20:16:08 +00:00
Satoshi Asami
be8fd8a4ff for name in _muldi3 _divdi3 _moddi3 _udivdi3 _umoddi3 _negdi2 _lshrdi3 _ashldi3 _ashrdi3 _ffsdi2 _udiv_w_sdiv _udivmoddi4 _cmpdi2 _ucmpdi2 _floatdidf _floatdisf _fixunsdfsi _fixunssfsi _fixunsdfdi _fixdfdi _fixunssfdi _fixsfdi _fixxfdi _fixunsxfdi _floatdixf _fixunsxfsi _fixtfdi _fixunstfdi _floatditf __gcc_bcmp _varargs __dummy _eprintf _op_new _op_vnew _new_handler _op_delete _op_vdel _bb _shtab _clear_cache _trampoline __main _exit _ctors _eh _eh_compat _pure; \
do \
  echo ${name}; \
  ./xgcc -B./ -O2   -DIN_GCC    -g -I./include   -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -fexceptions -I. -I. -I./config -c -DL${name} \
      ./libgcc2.c -o ${name}.o; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  ar rc tmplibgcc2.a ${name}.o; \
  rm -f ${name}.o; \
done
_muldi3
 :
_fixunsdfsi
In file included from include/limits.h:116,
                 from include/syslimits.h:7,
                 from include/limits.h:11,
                 from ./libgcc2.c:1085:
/usr/local/lib/gcc-lib/i386-unknown-freebsd2.2.6/2.8.1/include/limits.h:212: unbalanced `#endif'
1998-06-06 04:42:31 +00:00
David E. O'Brien
eedc0a8162 Fix the LINK_SPEC for a.out.
Submitted by:	roberto
1998-05-22 00:26:29 +00:00
David E. O'Brien
1fd22c5b91 Update comment and descriptions. 1998-04-30 23:52:35 +00:00
David E. O'Brien
39789a9181 Sync-up CPP predefines w/our stock compiler and EGCS.
1. we are not 386BSD
2. ELF shouldn't need "-fsjlj-exceptions"
1998-04-12 13:29:02 +00:00
David E. O'Brien
369d20a3e1 Bump comment from 2.8 to 2.8.1. 1998-04-12 13:16:25 +00:00
David E. O'Brien
83d4c8fdbf Define __FreeBSD__ to be the major version (rather than empty).
Add -fsjlj-exceptions as the default.
Requested by:	John Fiber
1998-03-11 11:49:14 +00:00
David E. O'Brien
b8d6ca485a Upgrade to 2.8.1 1998-03-10 06:23:36 +00:00
John Fieber
a9cc5728f7 Fix missing brace in the pre-install target. 1998-03-09 03:46:16 +00:00
David E. O'Brien
413a8ec20d Abstract this more to make building on non-x86 easiler. 1998-03-06 05:54:22 +00:00
David E. O'Brien
96c25a5af3 Latest install hacks for GCC 2.8.
The changes were done to closely match the upcoming libstdc++ port I will
commit shortly.
1998-03-05 03:29:59 +00:00
David E. O'Brien
d44b822911 Build the gcc28 we install with itself rather than /usr/bin/cc.
Renamed manpages to <binanary>28.1.gz to reduce namespace conflicts.
Added bin/gcc28 and bin/g++28.
1998-03-04 09:19:23 +00:00
David E. O'Brien
c9ebcf8da3 Gcc/G++ version 2.8.0. Includes greatly improved C++ compiler and latest
SGI reference STL.
1998-01-16 10:15:14 +00:00