ports/devel/critcl/files/patch-lib-critcl_Config
Pietro Cerutti 1c9e4cc4c8 - New port: devel/critcl
The C Runtime In Tcl, CriTcl for short, is a system to build C extension
  packages for Tcl on the fly, from C code embedded within Tcl scripts,
  for all who wish to make their code go faster.

  WWW: http://andreas-kupries.github.io/critcl/
2013-11-05 08:59:18 +00:00

21 lines
697 B
Text

--- lib/critcl/Config.orig 2013-11-05 09:57:26.000000000 +0100
+++ lib/critcl/Config 2013-11-05 09:57:54.000000000 +0100
@@ -52,13 +52,13 @@
# the "copy" option and then specifically setting the config bits that
# you want to change. See win32-x86_64-cl for an example.
-compile gcc -c -fPIC
-version gcc -v
-link gcc -shared
+compile %%CC%% -c -fPIC
+version %%CC%% -v
+link %%CC%% -shared
include -I
libinclude -L
-preproc_define gcc -E -dM
-preproc_enum gcc -E
+preproc_define %%CC%% -E -dM
+preproc_enum %%CC%% -E
tclstubs -DUSE_TCL_STUBS
tkstubs -DUSE_TK_STUBS
debug_memory -DTCL_MEM_DEBUG