diff options
author | jkoshy <jkoshy@FreeBSD.org> | 2006-11-30 13:57:47 +0800 |
---|---|---|
committer | jkoshy <jkoshy@FreeBSD.org> | 2006-11-30 13:57:47 +0800 |
commit | 021aacfea37805266de910d429669e13f337036e (patch) | |
tree | 7d3367eff20150489a20cd47021796aa48a7885e /lang | |
parent | c8f1dbd6d19c23de17d75ab23cfd1e0646c80a49 (diff) | |
download | freebsd-ports-gnome-021aacfea37805266de910d429669e13f337036e.tar.gz freebsd-ports-gnome-021aacfea37805266de910d429669e13f337036e.tar.zst freebsd-ports-gnome-021aacfea37805266de910d429669e13f337036e.zip |
Fix compilation on FreeBSD 5.X.
PR: ports/105381
Submitted by: Thorolf (thorolf at grid einherjar de)
Diffstat (limited to 'lang')
-rw-r--r-- | lang/drscheme/files/patch-configure | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/lang/drscheme/files/patch-configure b/lang/drscheme/files/patch-configure index 5797d065df0b..146411ef7dac 100644 --- a/lang/drscheme/files/patch-configure +++ b/lang/drscheme/files/patch-configure @@ -1,5 +1,6 @@ ---- configure-- Mon Jul 17 18:53:27 2006 -+++ configure Fri Sep 22 14:10:56 2006 + +--- configure.orig Mon Jul 17 15:23:27 2006 ++++ configure Fri Nov 10 18:15:30 2006 @@ -5331,6 +5331,7 @@ ;; FreeBSD) @@ -8,3 +9,28 @@ ;; OpenBSD) LIBS="$LIBS -rdynamic" +@@ -11114,16 +11115,16 @@ + plt_lib_version=`grep " MZSCHEME_VERSION " ${srcdir}/mzscheme/src/schvers.h | cut -d '"' -f 2` + fi + +- AR="${LIBTOOLPROG} --mode=link $CC${need_gcc_static_libgcc}${ar_libtool_no_undefined} -release ${plt_lib_version} -rpath ${absprefix}/lib -o" +- STATIC_AR="${LIBTOOLPROG} --mode=link $CC -o" ++ AR="${LIBTOOLPROG} --mode=link --tag=CC $CC${need_gcc_static_libgcc}${ar_libtool_no_undefined} -release ${plt_lib_version} -rpath ${absprefix}/lib -o" ++ STATIC_AR="${LIBTOOLPROG} --mode=link --tag=CC $CC -o" + ARFLAGS="" + RANLIB=":" +- MZLINKER="${LIBTOOLPROG} --mode=link $CC${need_gcc_static_libgcc} -rpath ${absprefix}/lib" +- MREDLINKER="${LIBTOOLPROG} --mode=link $CXX${need_gcc_static_libgcc} -rpath ${absprefix}/lib" ++ MZLINKER="${LIBTOOLPROG} --mode=link --tag=CC $CC${need_gcc_static_libgcc} -rpath ${absprefix}/lib" ++ MREDLINKER="${LIBTOOLPROG} --mode=link --tag=CXX $CXX${need_gcc_static_libgcc} -rpath ${absprefix}/lib" + PLAIN_CC="$CC" +- CC="${LIBTOOLPROG} --mode=compile $CC" +- CXX="${LIBTOOLPROG} --mode=compile $CXX" +- AS="${LIBTOOLPROG} --mode=compile $AS" ++ CC="${LIBTOOLPROG} --mode=compile --tag=CC $CC" ++ CXX="${LIBTOOLPROG} --mode=compile --tag=CXX $CXX" ++ AS="${LIBTOOLPROG} --mode=compile --tag=AS $AS" + LIBSFX=la + WXLIBS=WXLIBSDYN + ICP="${LIBTOOLPROG} --mode=install cp" + |