Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redux for kitgen on FreeBSD #5

Open
zdia opened this issue Feb 8, 2012 · 1 comment
Open

Redux for kitgen on FreeBSD #5

zdia opened this issue Feb 8, 2012 · 1 comment

Comments

@zdia
Copy link

zdia commented Feb 8, 2012

On FreeBSD now all is well done. Kitgen created all binaries and I could build the sha256c.so for FreeBSD and cross-compile on my Linux host a FreeBSD runtime executable of my software project with the tclkit.

Only little patches were needed. Do you mind if I open a new page on https://github.com/patthoyts/kitgen/wiki:

How to create tclkits on FreeBSD

as a redux for my porting activity?

And I would like to suggest a little patch for the README file:

diff --git a/README b/README
index 5cc38cb..e6aa0fc 100644
--- a/README
+++ b/README
@@ -162,8 +162,10 @@ The remaining arguments of config.sh specify one or more build options:
   * `mk` - build executables using Metakit instead of vlerq

 When not specified, the default is to build all `cli`, `dyn`, `gui` variants.
+
 If you ask for Metakit executables then these are in addition to the vlerq
-binaries. That is you will get both tclkit-cli and tclkitsh.
+binaries. That is you will get both binaries: the vlerq based tclkit-cli and and the Metakit
+based tclkitsh.


 Makefile

Critcl needs the Metakit extension and I went wrong all the time by trying to use tclkit-cli critcl.kit ...

@zdia
Copy link
Author

zdia commented Feb 9, 2012

As option --enable-xft is on in Tk since 2006 I would suggest to make the following change to case *BSD in config.sh:

--- /home/dia/Projekte/git/kitgen/config.sh 
+++ /home/dia/.gvfs/SFTP als dia auf 192.168.1.13/home/dia/Projekte/kitgen/config.sh 
@@ -86,7 +86,7 @@
       echo "CC         = ${CC:=gcc}"
       echo "CFLAGS    += -I/usr/X11R6/include"
       echo "LDFLAGS    = -lm"
-      echo "GUI_OPTS   = -L/usr/X11R6/lib -lX11 -lXss"
+      echo "GUI_OPTS   = -L/usr/X11R6/lib -lX11 -lXss -lfontconfig -lXft"
       case $b64 in 1)
         echo "CFLAGS     += -m64" ;; 
       esac

No further patch is needed for compiling and linking tclkit on FreeBSD 8.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant