ports/105381: patch - lang/drscheme

Thorolf thorolf at grid.einherjar.de
Fri Nov 10 17:50:24 UTC 2006


>Number:         105381
>Category:       ports
>Synopsis:       patch - lang/drscheme
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 10 17:50:20 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Thorolf
>Release:        5.x
>Organization:
>Environment:
>Description:
DrScheme can't be compiled due to missing '--tag=' in configure script.


>How-To-Repeat:
cd /usr/ports/lang/drscheme && make

>Fix:
see patch

the old patch-configure shuld be replaced with this one.

Cheers,
/rl


Patch attached with submission follows:

--- 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=CC $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"

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list