summaryrefslogtreecommitdiff
path: root/lang/scm/files/patch-build.scm
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2015-01-27 08:40:34 +0000
committerMikhail Teterin <mi@FreeBSD.org>2015-01-27 08:40:34 +0000
commite8f2d860c05741a46263e3bae6ee343610bf57b2 (patch)
tree0758eb2994b077ba407ae1d4182e4140579a4ef7 /lang/scm/files/patch-build.scm
parentAdd LICENSE_FILE, Add desktop-file-utils to USES. (diff)
Upgrade from 5f1 to 5f2.
The bad news: 1. gcc is still required -- clang can build the binaries, but some self-tests will fail, unless all optimization was disabled. This is, probably, due to some suspect code in bytenumb.c -- would be good to investigate. 2. Building this port in parallel is still not possible -- the Makefile is too convoluted and same sources are recompiled multiple times with different #defines set. The good news: 1. Resolve a large number of warnings. 2. Fix build on ia64 and sparc64 (tested on pluto and flame respectively). Other platforms (alpha, powerpc?) have a better chance of working now...
Notes
Notes: svn path=/head/; revision=377989
Diffstat (limited to 'lang/scm/files/patch-build.scm')
-rw-r--r--lang/scm/files/patch-build.scm15
1 files changed, 11 insertions, 4 deletions
diff --git a/lang/scm/files/patch-build.scm b/lang/scm/files/patch-build.scm
index 692742b7a86e..2c31ead1237a 100644
--- a/lang/scm/files/patch-build.scm
+++ b/lang/scm/files/patch-build.scm
@@ -1,11 +1,18 @@
---- build.scm.orig 2009-08-04 03:35:57.000000000 +0900
-+++ build.scm 2009-08-07 01:59:30.000000000 +0900
+--- build.scm 2009-08-04 03:35:57.000000000 +0900
++++ build.scm 2015-01-23 16:23:32.000000000 -0500
+@@ -618,5 +618,5 @@
+
+ (nostart gcc "" "-e __start -nostartfiles" #f ("ecrt0.c") ())
+- (dump gcc "" "" #f ("unexelf.c" "gmalloc.c") ())
++ (dump gcc "" "" #f ("unexelf.c") ())
+
+ (m hp-ux "" "-lm" #f () ())
@@ -665,14 +665,15 @@
(dump darwin "" "" #f ("unexmacosx.c" "lastfile.c") ())
(dlll darwin "-DSUN_DL" "-ldl" "" () ())
- (c freebsd "" "-export-dynamic" #f () ())
-+ (c freebsd "" "-Wl,-export-dynamic" #f () ())
++ (c freebsd "" "-Wl,-export-dynamic %%ARCHOBJS%%" #f () ())
(m freebsd "" "-lm" #f () ())
- (curses freebsd "" "-lncurses" "/usr/lib/libncurses.a" () ())
+ (curses freebsd "" "-lcurses" "/usr/lib/libcurses.a" () ())
@@ -17,7 +24,7 @@
+ (graphics freebsd "-I%%LOCALBASE%%/include -DX11" "-lX11" "-L%%LOCALBASE%%/lib" () ())
+ (dlll freebsd "-DSUN_DL" "" "" () ())
+ (nostart freebsd "" "" #f () ())
-+ (dump freebsd "" "" #f ("unexelf.c" "gmalloc.c") ())
++ (dump freebsd "" "" #f ("unexelf.c") ())
(curses netbsd "-I/usr/pkg/include" "-lncurses" "-Wl,-rpath -Wl,/usr/pkg/lib -L/usr/pkg/lib" () ())
(editline netbsd "-I/usr/pkg/include" "-lreadline" "-Wl,-rpath -Wl,/usr/pkg/lib -L/usr/pkg/lib" () ())
(graphics netbsd "-I/usr/X11R6/include -DX11" "-lX11" "-Wl,-rpath -Wl,/usr/X11R6/lib -L/usr/X11R6/lib" () ())