Update tcl for new ipkg() -d option
authorHugo Villeneuve <hugo@hugovil.com>
Sun, 28 Dec 2014 05:32:08 +0000 (00:32 -0500)
committerHugo Villeneuve <hugo@hugovil.com>
Mon, 29 Dec 2014 16:24:31 +0000 (11:24 -0500)
stage3/hv-install-1
stage3/pkg/tcl

index 2054516..ca9ad05 100755 (executable)
@@ -27,7 +27,9 @@ ipkg ${EXPAT}
 ipkg -j ${APR} "--disable-static --with-installbuilddir=/usr/share/apr-1/build"
 ipkg ${APR_UTIL} "--with-apr=/usr --with-gdbm=/usr -with-openssl=/usr"
 ipkg ${NEON} "--with-ssl"
-ipkg -s tcl ${TCL}
+ipkg -s tcl -d unix ${TCL} "\
+        --enable-threads \
+        --mandir=/usr/share/man"
 CFLAGS="${CFLAGS} -DSQLITE_ENABLE_FTS3=1 -DSQLITE_SECURE_DELETE -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 \
     -DSQLITE_ENABLE_COLUMN_METADATA=1" \
     ipkg ${SQLITE}
index 4c7ac0f..8acbdbf 100644 (file)
@@ -1,16 +1,8 @@
 #!/bin/bash
 
-hvconfig()
-{
-    cd ${LFS_TMP}/${PACKAGE}/unix
-    ./configure \
-        --prefix=/usr \
-        --enable-threads \
-        --mandir=/usr/share/man
-}
-
 hvbuild()
 {
+    cd ${BUILD_DIR}
     make
 
     # Removes references to the build directory and replaces them with saner