Wrong $PATH settings during user installation, invoked by make install-user Fix: -------------------------------------------------------------------------------- possible Commit message: ------------------------ Fix default $PATH settings for user-installation -------------------------------------------------------------------------------- location of port: ----------------- ports/editors/staroffice52 -------------------------------------------------------------------------------- [PATCH] normal -------------- -------------------------------------------------------------------------------- [PATCH] uuencoded ----------------- ----------------------------------------------------------------------------------oGBiGabb5erDJqLr3a6cLr3wWps6TGkXtVd2lWeOZ2WTwHb5 Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- Makefile.orig Fri Dec 22 22:21:42 2000 +++ Makefile Fri Dec 22 22:21:34 2000 @@ -36,6 +36,7 @@ WRKSRC= ${WRKDIR}/office52 TMPDIR= ${WRKDIR}/tmp LD_PATH= ${TMPDIR}:${WRKSRC}:${LINUXBASE}/lib:${LINUXBASE}/usr/lib +INSTDB.INS= ${PREFIX}/office52/program/instdb.ins .include <bsd.port.pre.mk> @@ -121,6 +122,9 @@ 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 How-To-Repeat: During user installation, each time you get /usr/local/office52 as install path, but this is not a good idea because you'd like a $PATH like $HOME/office52. If you have to fix this each time you install it for a user it's just annoying.
State Changed From-To: open->closed Done