Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Aug 2008 15:45:01 GMT
From:      Hiroto Kagotani <hiroto.kagotani@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/126662: japanese/tgif: make install overrides local configuration file
Message-ID:  <200808191545.m7JFj13h024458@www.freebsd.org>
Resent-Message-ID: <200808191550.m7JFo4HP081298@freefall.freebsd.org>

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

>Number:         126662
>Category:       ports
>Synopsis:       japanese/tgif: make install overrides local configuration file
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 19 15:50:04 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Hiroto Kagotani
>Release:        6.3-RELEASE-p1
>Organization:
Okayama Univ.
>Environment:
FreeBSD myhost.mydomain 6.3-RELEASE-p1 FreeBSD 6.3-RELEASE-p1 #0: Wed Feb 20 10:53:26 JST 2008     root@myhost.mydomain:/usr/obj/usr/src/sys/SMP  i386
>Description:
When I ran portupgrade -f japanese/tgif, I lost my configuration in file:
/usr/local/lib/X11/ja_JP.eucJP/app-defaults/Tgif.

>How-To-Repeat:
Install japanese/tgif.
Edit /usr/local/lib/X11/ja_JP.eucJP/app-defaults/Tgif.
Do portupgrade -f japanese/tgif.
Then you'll lose your change.
>Fix:


Patch attached with submission follows:

--- Makefile.orig	2008-08-20 00:29:17.000000000 +0900
+++ Makefile	2008-08-20 00:15:11.000000000 +0900
@@ -25,6 +25,8 @@
 
 XAPPLRESDIR=	lib/X11/ja_JP.eucJP/app-defaults
 
+.include <bsd.port.pre.mk>
+
 do-install:
 	${MKDIR} ${PREFIX}/${XAPPLRESDIR}
 	${INSTALL_DATA} ${FILESDIR}/Tgif.in ${PREFIX}/${XAPPLRESDIR}/Tgif.ja-dist
@@ -32,4 +34,4 @@
 	${INSTALL_DATA} ${FILESDIR}/Tgif.in ${PREFIX}/${XAPPLRESDIR}/Tgif
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>


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



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