Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Aug 2006 17:15:40 +0800 (CST)
From:      Gea-Suan Lin <gslin@gslin.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gslin@gslin.org, liu_yinghong@yahoo.com.cn
Subject:   ports/101900: [PATCH] chinese/auto-cn-l10n: Respect DESTDIR
Message-ID:  <20060812091540.D6EFF3AD@netnews.NCTU.edu.tw>
Resent-Message-ID: <200608120920.k7C9KRao092504@freefall.freebsd.org>

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

>Number:         101900
>Category:       ports
>Synopsis:       [PATCH] chinese/auto-cn-l10n: Respect DESTDIR
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 12 09:20:26 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD netnews.NCTU.edu.tw 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 03:43:48 CST 2006
>Description:
0 Respect DESTDIR

Port maintainer (liu_yinghong@yahoo.com.cn) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- auto-cn-l10n-1.0.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/chinese/auto-cn-l10n/Makefile /home/staff/gslin/work/ports/auto-cn-l10n/Makefile
--- /usr/ports/chinese/auto-cn-l10n/Makefile	Sun Jun  4 01:16:48 2006
+++ /home/staff/gslin/work/ports/auto-cn-l10n/Makefile	Sat Aug 12 17:14:43 2006
@@ -45,11 +45,11 @@
 .endif
 
 do-install:
-	${MKDIR} ${PREFIX}/share/skel/zh_CN.eucCN
-	${CP} ${WRKSRC}/* ${PREFIX}/share/skel/zh_CN.eucCN
+	${MKDIR} ${TARGETDIR}/share/skel/zh_CN.eucCN
+	${CP} ${WRKSRC}/* ${TARGETDIR}/share/skel/zh_CN.eucCN
 
 post-install:
-	@${SED} "s|%%PREFIX%%|${PREFIX}|g" \
+	@${SED} "s|%%PREFIX%%|${TARGETDIR}|g" \
 		${.CURDIR}/pkg-message > ${PKGMESSAGE}
 	@${CAT} ${PKGMESSAGE}
 
diff -ruN --exclude=CVS /usr/ports/chinese/auto-cn-l10n/pkg-plist /home/staff/gslin/work/ports/auto-cn-l10n/pkg-plist
--- /usr/ports/chinese/auto-cn-l10n/pkg-plist	Sun Jun  4 01:16:48 2006
+++ /home/staff/gslin/work/ports/auto-cn-l10n/pkg-plist	Sat Aug 12 17:15:00 2006
@@ -1,3 +1,4 @@
+@comment $FreeBSD$
 share/skel/zh_CN.eucCN/dot.Xdefaults
 share/skel/zh_CN.eucCN/dot.cshrc
 share/skel/zh_CN.eucCN/dot.emacs
--- auto-cn-l10n-1.0.patch ends here ---

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



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