Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Dec 2000 22:34:26 +0100 (CET)
From:      mb@imp.ch
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/23774: [PATCH] Fix for de-staroffice-5.2
Message-ID:  <200012222134.eBMLYQj75588@fuchur.lan.attic.ch>
Resent-Message-ID: <200012222140.eBMLe2845104@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         23774
>Category:       ports
>Synopsis:       Fix $PATH for Staroffice5.2 user-installation (de-staroffice-5.2)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 22 13:40:02 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Martin Blapp <Maintainer>
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
Improware AG
>Environment:

FreeBSD fuchur.lan.attic.ch 4.2-STABLE FreeBSD 4.2-STABLE #5: Sun Dec 10 11:00:08 CET 2000
root@fuchur.lan.attic.ch:/usr/src/sys/compile/FURCHUR  i386

FreeBSD ports-tree for STABLE and CURRENT

>Description:

Wrong $PATH settings during user installation, invoked by

make install-user

>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.

>Fix:

--------------------------------------------------------------------------------

possible Commit message:
------------------------

Fix default $PATH settings for user-installation

--------------------------------------------------------------------------------

location of port:
-----------------

ports/german/staroffice52

--------------------------------------------------------------------------------

[PATCH] normal
--------------

--- Makefile.orig	Fri Dec 22 21:42:26 2000
+++ Makefile	Fri Dec 22 22:05:09 2000
@@ -31,6 +31,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>
 
@@ -116,6 +117,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

--------------------------------------------------------------------------------

[PATCH] uuencoded
-----------------

begin 644 Makefile.diff.uu
M+2TM($UA:V5F:6QE+F]R:6<)1G)I($1E8R`R,B`R,3HT,CHR-B`R,#`P"BLK
M*R!-86ME9FEL90E&<FD@1&5C(#(R(#(R.C`U.C`Y(#(P,#`*0$`@+3,Q+#8@
M*S,Q+#<@0$`*(%=22U-20ST)"21[5U)+1$E2?2]O9F9I8V4U,@H@5$U01$E2
M/0D))'M74DM$25)]+W1M<`H@3$1?4$%42#T))'M435!$25)].B1[5U)+4U)#
M?3HD>TQ)3E580D%317TO;&EB.B1[3$E.55A"05-%?2]U<W(O;&EB"BM)3E-4
M1$(N24Y3/0DD>U!2149)6'TO;V9F:6-E-3(O<')O9W)A;2]I;G-T9&(N:6YS
M"B`*("YI;F-L=61E(#QB<V0N<&]R="YP<F4N;6L^"B`*0$`@+3$Q-BPV("LQ
M,3<L.2!`0`H@<&]S="UI;G-T86QL.@H@"4`D>U!!5$-(?2`M<R`D>U!2149)
M6'TO;V9F:6-E-3(O<')O9W)A;2]S971U<"`D>T9)3$531$E2?2]S971U<"YP
M871C:`H@"4`D>U!!5$-(?2`M<R`D>U!2149)6'TO;V9F:6-E-3(O<')O9W)A
M;2]S;V9F:6-E("1[1DE,15-$25)]+W-O9F9I8V4N<&%T8V@**PE`)'M#4'T@
M)'M)3E-41$(N24Y3?2`D>TE.4U1$0BY)3E-]+F]R:6<**PE`)'M3141]("UE
M("=S)41E9F%U;'1$97-T4&%T:"`]("(O=7-R+VQO8V%L+V]F9FEC934R)41E
M9F%U;'1$97-T4&%T:"`](")O9F9I8V4U,B4G(%P**PD@("`@/"`D>TE.4U1$
M0BY)3E-]+F]R:6<@/B`D>TE.4U1$0BY)3E-]"B`*(&EN<W1A;&PM=7-E<CH*
C(`DD>U!2149)6'TO;V9F:6-E-3(O<')O9W)A;2]S971U<`IA
`
end

--------------------------------------------------------------------------------

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012222134.eBMLYQj75588>