From 961ac0e452150f8959c2df505e02e98165156fe6 Mon Sep 17 00:00:00 2001 From: Alexander Langer Date: Sun, 24 Dec 2000 14:21:47 +0000 Subject: Fix default $PATH settings for user-installation. PR: 23773 Submitted by: Martin Blapp (maintainer) Thanks to: jedgar ("or bug Alex") =) --- editors/staroffice52/Makefile | 4 ++++ editors/staroffice60/Makefile | 4 ++++ editors/staroffice70/Makefile | 4 ++++ 3 files changed, 12 insertions(+) (limited to 'editors') diff --git a/editors/staroffice52/Makefile b/editors/staroffice52/Makefile index 4085d13df594..b081bfe47260 100644 --- a/editors/staroffice52/Makefile +++ b/editors/staroffice52/Makefile @@ -36,6 +36,7 @@ DIST_SUBDIR= staroffice52 WRKSRC= ${WRKDIR}/office52 TMPDIR= ${WRKDIR}/tmp LD_PATH= ${TMPDIR}:${WRKSRC}:${LINUXBASE}/lib:${LINUXBASE}/usr/lib +INSTDB.INS= ${PREFIX}/office52/program/instdb.ins .include @@ -121,6 +122,9 @@ do-install: post-install: @${PATCH} -s ${PREFIX}/office52/program/setup ${FILESDIR}/setup.patch @${PATCH} -s ${PREFIX}/office52/program/soffice ${FILESDIR}/soffice.patch + @${CP} ${INSTDB.INS} ${INSTDB.INS}.orig + @${SED} -e 's%DefaultDestPath = "/usr/local/office52%DefaultDestPath = "office52%' \ + < ${INSTDB.INS}.orig > ${INSTDB.INS} install-user: ${PREFIX}/office52/program/setup diff --git a/editors/staroffice60/Makefile b/editors/staroffice60/Makefile index 4085d13df594..b081bfe47260 100644 --- a/editors/staroffice60/Makefile +++ b/editors/staroffice60/Makefile @@ -36,6 +36,7 @@ DIST_SUBDIR= staroffice52 WRKSRC= ${WRKDIR}/office52 TMPDIR= ${WRKDIR}/tmp LD_PATH= ${TMPDIR}:${WRKSRC}:${LINUXBASE}/lib:${LINUXBASE}/usr/lib +INSTDB.INS= ${PREFIX}/office52/program/instdb.ins .include @@ -121,6 +122,9 @@ do-install: post-install: @${PATCH} -s ${PREFIX}/office52/program/setup ${FILESDIR}/setup.patch @${PATCH} -s ${PREFIX}/office52/program/soffice ${FILESDIR}/soffice.patch + @${CP} ${INSTDB.INS} ${INSTDB.INS}.orig + @${SED} -e 's%DefaultDestPath = "/usr/local/office52%DefaultDestPath = "office52%' \ + < ${INSTDB.INS}.orig > ${INSTDB.INS} install-user: ${PREFIX}/office52/program/setup diff --git a/editors/staroffice70/Makefile b/editors/staroffice70/Makefile index 4085d13df594..b081bfe47260 100644 --- a/editors/staroffice70/Makefile +++ b/editors/staroffice70/Makefile @@ -36,6 +36,7 @@ DIST_SUBDIR= staroffice52 WRKSRC= ${WRKDIR}/office52 TMPDIR= ${WRKDIR}/tmp LD_PATH= ${TMPDIR}:${WRKSRC}:${LINUXBASE}/lib:${LINUXBASE}/usr/lib +INSTDB.INS= ${PREFIX}/office52/program/instdb.ins .include @@ -121,6 +122,9 @@ do-install: post-install: @${PATCH} -s ${PREFIX}/office52/program/setup ${FILESDIR}/setup.patch @${PATCH} -s ${PREFIX}/office52/program/soffice ${FILESDIR}/soffice.patch + @${CP} ${INSTDB.INS} ${INSTDB.INS}.orig + @${SED} -e 's%DefaultDestPath = "/usr/local/office52%DefaultDestPath = "office52%' \ + < ${INSTDB.INS}.orig > ${INSTDB.INS} install-user: ${PREFIX}/office52/program/setup -- cgit v1.2.3