Skip to content
Permalink
Browse files

devel/tclreadline: fix build, add tcl dependency

  • Loading branch information
g5pw committed Mar 14, 2018
1 parent 6964d4c commit ba1d93904c93ee74396e092a8b2fae213ce2aad3
Showing with 5 additions and 2 deletions.
  1. +5 −2 devel/tclreadline/Portfile
@@ -4,7 +4,7 @@ PortSystem 1.0

name tclreadline
version 2.1.0
revision 2
revision 3

categories devel
platforms darwin
@@ -30,14 +30,17 @@ master_sites sourceforge
checksums sha1 3b44f92ce1921ebccebab9b44d7cda6992cf8923 \
rmd160 9967f7d7aa18fcd822f5701306f3a75a6001fdc5

depends_lib port:readline
depends_lib port:readline \
port:tcl

post-extract {
move ${worksrcpath}/configure.in ${worksrcpath}/configure.ac
}

use_autoreconf yes

configure.args-append --with-tcl=${prefix}/lib/

# Patch readline to use malloc/free instead of
# Tcl_Alloc/Tcl_Free. Required for threaded-enabled Tcl.
# Use rl_completion_func_t instead of CPPFunction for compatibility with readline 6.3+.

0 comments on commit ba1d939

Please sign in to comment.
You can’t perform that action at this time.