Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Dec 2000 22:35:16 +0100 (CET)
From:      mb@imp.ch
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/23775: [PATCH] Fix for fr-staroffice-5.2
Message-ID:  <200012222135.eBMLZGJ75716@fuchur.lan.attic.ch>
Resent-Message-ID: <200012222140.eBMLe2G45113@freefall.freebsd.org>

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

>Number:         23775
>Category:       ports
>Synopsis:       Fix $PATH for Staroffice5.2 user-installation (fr-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/french/staroffice52

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

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

--- Makefile.orig	Fri Dec 22 22:15:53 2000
+++ Makefile	Fri Dec 22 22:16:47 2000
@@ -32,6 +32,7 @@
 WRKSRC=		${WRKDIR}/office52
 TMPDIR=		${WRKDIR}/tmp
 LD_PATH=	${TMPDIR}:${WRKSRC}:${LINUXBASE}/linux/lib:${LINUXBASE}/usr/lib
+INSTDB.INS=	${PREFIX}/office52/program/instdb.ins
 
 .include <bsd.port.pre.mk>
 
@@ -120,6 +121,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,CHQ-3HU,R`R,#`P"BLK
M*R!-86ME9FEL90E&<FD@1&5C(#(R(#(R.C$V.C0W(#(P,#`*0$`@+3,R+#8@
M*S,R+#<@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;&EN=7@O;&EB.B1[3$E.55A"05-%?2]U<W(O;&EB
M"BM)3E-41$(N24Y3/0DD>U!2149)6'TO;V9F:6-E-3(O<')O9W)A;2]I;G-T
M9&(N:6YS"B`*("YI;F-L=61E(#QB<V0N<&]R="YP<F4N;6L^"B`*0$`@+3$R
M,"PV("LQ,C$L.2!`0`H@<&]S="UI;G-T86QL.@H@"4`D>U!!5$-(?2`M<R`D
M>U!2149)6'TO;V9F:6-E-3(O<')O9W)A;2]S971U<"`D>T9)3$531$E2?2]S
M971U<"YP871C:`H@"4`D>U!!5$-(?2`M<R`D>U!2149)6'TO;V9F:6-E-3(O
M<')O9W)A;2]S;V9F:6-E("1[1DE,15-$25)]+W-O9F9I8V4N<&%T8V@**PE`
M)'M#4'T@)'M)3E-41$(N24Y3?2`D>TE.4U1$0BY)3E-]+F]R:6<**PE`)'M3
M141]("UE("=S)41E9F%U;'1$97-T4&%T:"`]("(O=7-R+VQO8V%L+V]F9FEC
M934R)41E9F%U;'1$97-T4&%T:"`](")O9F9I8V4U,B4G(%P**PD@("`@/"`D
M>TE.4U1$0BY)3E-]+F]R:6<@/B`D>TE.4U1$0BY)3E-]"B`*(&EN<W1A;&PM
I=7-E<CH*(`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?200012222135.eBMLZGJ75716>