a581250db8
Take maintainer with permission. Ok sthen@ landry@
31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
Plaintext
$OpenBSD: patch-lib_Makefile_in,v 1.3 2012/08/22 05:17:33 stu Exp $
|
|
--- lib/Makefile.in.orig Tue Sep 23 14:13:37 2003
|
|
+++ lib/Makefile.in Fri May 4 17:26:44 2012
|
|
@@ -90,22 +90,15 @@ ${DUMMYLIB}: ratDummy.o
|
|
${SHLIB_LD} -o ${DUMMYLIB} ratDummy.o $(EXTRA_LIBS) ${SHLIB_LD_LIBS}
|
|
|
|
pkgIndex.tcl: ${RATLIB} ${DUMMYLIB}
|
|
- echo "if [catch {load ./${DUMMYLIB}; \
|
|
- load ./${RATLIB}; \
|
|
- pkg_mkIndex . ${RATLIB}} error] \
|
|
- {puts \$$error; exit 1}" | ${TCLSH}
|
|
+ echo "package ifneeded ratatosk ${VERSION} [list load [file join \$$dir ${RATLIB}]]" \
|
|
+ > ./pkgIndex.tcl
|
|
|
|
install.bin: ${RATLIB} ${DUMMYLIB}
|
|
if test ! -d ${INSTALL_PREFIX}${LIB_DIR} ; then\
|
|
${INSTALL} -m 0755 -d ${INSTALL_PREFIX}${LIB_DIR} ;\
|
|
fi
|
|
- ${INSTALL} -m 0755 ${RATLIB} ${INSTALL_PREFIX}${LIB_DIR}/${RATLIB}
|
|
- INST=${INSTALL_PREFIX}${LIB_DIR}; \
|
|
- echo "if [catch {load ./${DUMMYLIB}; \
|
|
- cd $$INST; \
|
|
- pkg_mkIndex -load ./*${SHLIB_SUFFIX} . \
|
|
- *${SHLIB_SUFFIX}} error] \
|
|
- {puts \$$error; exit 1}" | ${TCLSH}
|
|
+ ${INSTALL} -m 0644 ${RATLIB} ${INSTALL_PREFIX}${LIB_DIR}/
|
|
+ ${INSTALL} -m 0644 pkgIndex.tcl ${INSTALL_PREFIX}${LIB_DIR}/
|
|
|
|
install: install.bin
|
|
|