summaryrefslogtreecommitdiff
path: root/lang/drscheme/files/patch-configure
blob: 146411ef7dac174030bb9c28a6ebc96abbed76d6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
--- configure.orig	Mon Jul 17 15:23:27 2006
+++ configure	Fri Nov 10 18:15:30 2006
@@ -5331,6 +5331,7 @@
     ;;
   FreeBSD)
     LIBS="$LIBS -rdynamic"
+    DYN_CFLAGS="-fPIC"
     ;;
   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"