openbsd-ports/mail/tkrat/patches/patch-util_Makefile_in
stu a581250db8 Now works with Tcl/Tk 8.5 and uses new port 'Byzi'.
Take maintainer with permission.

Ok sthen@ landry@
2012-08-22 05:17:33 +00:00

32 lines
1.1 KiB
Plaintext

$OpenBSD: patch-util_Makefile_in,v 1.3 2012/08/22 05:17:34 stu Exp $
--- util/Makefile.in.orig Tue Sep 23 14:13:37 2003
+++ util/Makefile.in Sat May 5 04:06:00 2012
@@ -89,12 +89,12 @@ ${DUMMYLIB}: rat_dummy.o
${SHLIB_LD} -o ${DUMMYLIB} rat_dummy.o $(EXTRA_LIBS) ${SHLIB_LD_LIBS}
pkgIndex.tcl: ${TARGETS} ${DUMMYLIB}
- echo "if [catch {load ./${DUMMYLIB}; \
- load ./${BUSYLIB}; \
- pkg_mkIndex . ${TARGETS}} error] \
+ echo "if [catch { pkg_mkIndex . ${TARGETS}} error] \
{puts \$$error; exit 1}" | ${TCLSH}
install.bin: ${TARGETS_LIB} ${DUMMYLIB}
+
+dontdothis:
if test ! -d ${INSTALL_PREFIX}${LIB_DIR} ; then\
${INSTALL} -m 0755 -d ${INSTALL_PREFIX}${LIB_DIR} ;\
fi
@@ -120,10 +120,7 @@ install.shared: ${TARGETS_data}
do \
${INSTALL} -m 0644 $$i ${INSTALL_PREFIX}${UTIL_DIR} ;\
done
- cd ${INSTALL_PREFIX}${UTIL_DIR}; \
- echo "if [catch {pkg_mkIndex . ${TARGETS_DATA}} \
- error] \
- {puts \$$error; exit 1}" | ${TCLSH}
+ ${INSTALL} -m 0644 pkgIndex.tcl ${INSTALL_PREFIX}${UTIL_DIR}
install: install.shared install.bin