Permalink
Browse files
devel/tclreadline: fix build, add tcl dependency
- Loading branch information
Showing
with
5 additions
and
2 deletions.
-
+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+. |
|
|
|