openbsd-ports/mail/tkrat/patches/patch-ac
kevlo a6660e1ce1 - Upgrade to version 2.0b9
- Fix the dependencies
- Fake
2000-03-27 12:32:17 +00:00

30 lines
1.2 KiB
Plaintext

--- tkrat/Makefile.in.orig Thu Feb 17 15:05:56 2000
+++ tkrat/Makefile.in Tue Mar 28 01:26:00 2000
@@ -23,7 +23,11 @@
CSUFFIX = @csuffix@
TRANSFORM = @program_transform_name@
LIB_DIR = @datadir@/`echo tkrat${VERSION} | sed '${TRANSFORM}'`
+ BUSYLIB_VERSION = @BUSYLIB_VERSION@
+ SHLIB_SUFFIX = @SHLIB_SUFFIX@
RATLIBDIR = ${libdir}/`echo ratatosk | sed '${TRANSFORM}'`
+ RATLIB = ratatosk${SHLIB_SUFFIX}.${VERSION}
+ BUSYLIB = blt_busy${SHLIB_SUFFIX}.${BUSYLIB_VERSION}
INSTALL_PREFIX = @INSTALL_PREFIX@
#-------- No changes should be done below --------
@@ -82,7 +86,13 @@
echo "set env(CONFIG_DIR) ${sysconfdir}/ratatosk" >>$@
echo "set env(COMPRESS) ${COMPRESS}" >>$@
echo "set env(CSUFFIX) ${CSUFFIX}" >>$@
- echo "foreach dir {${LIB_DIR}/util ${RATLIBDIR}} {" >>$@
+ echo "foreach dir {${LIB_DIR}/util } {" >>$@
+ echo ' cd $$dir ; load ./${BUSYLIB} ' >>$@
+ echo "}" >>$@
+ echo "foreach dir {${RATLIBDIR}} {" >>$@
+ echo ' cd $$dir ; load ./${RATLIB} ' >>$@
+ echo "}" >>$@
+ echo "foreach dir {${LIB_DIR}/util } {" >>$@
echo ' source $$dir/pkgIndex.tcl' >>$@
echo "}" >>$@
echo "lappend auto_path ${LIB_DIR}" >>$@