From nobody@FreeBSD.org  Sat Jun 23 14:32:50 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 84A77106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 23 Jun 2012 14:32:50 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 70A768FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 23 Jun 2012 14:32:50 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q5NEWovq075420
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 23 Jun 2012 14:32:50 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q5NEWo4V075417;
	Sat, 23 Jun 2012 14:32:50 GMT
	(envelope-from nobody)
Message-Id: <201206231432.q5NEWo4V075417@red.freebsd.org>
Date: Sat, 23 Jun 2012 14:32:50 GMT
From: Kit Sin <ktsin@acm.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: su install doesn't work for chinese/autoconvert
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         169347
>Category:       ports
>Synopsis:       su install doesn't work for chinese/autoconvert
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sunpoet
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 23 14:40:09 UTC 2012
>Closed-Date:    Sun Jun 24 17:36:28 UTC 2012
>Last-Modified:  Sun Jun 24 17:40:06 UTC 2012
>Originator:     Kit Sin
>Release:        FreeBSD 9
>Organization:
>Environment:
FreeBSD passion.hsins.com 9.0-STABLE FreeBSD 9.0-STABLE #0: Sat May 26 21:05:34 MYT 2012     ktsin@passion.hsins.com:/tmp/obj/usr/src/sys/PASSION  amd64

>Description:
su install failed when building chinese/autoconvert as non-superuser.
>How-To-Repeat:

>Fix:
apply the attached patch to allow su install to work.

Patch attached with submission follows:

--- chinese/autoconvert/Makefile.orig	2012-06-23 22:29:08.053350000 +0800
+++ chinese/autoconvert/Makefile	2012-06-23 21:39:25.020945000 +0800
@@ -24,7 +24,7 @@
 	@${REINPLACE_CMD} -e "s|^CFLAGS|#CFLAGS|" \
 		${WRKSRC}/contrib/xchat-plugins/Makefile
 
-pre-install:
+pre-su-install:
 	@${MKDIR} ${DATADIR}
 .for i in ChangeLog LICENSE Readme TODO Thanks Version
 	@${INSTALL_DATA} ${WRKSRC}/$i ${DATADIR}


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->sunpoet 
Responsible-Changed-By: sunpoet 
Responsible-Changed-When: Sun Jun 24 08:05:01 UTC 2012 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=169347 
State-Changed-From-To: open->closed 
State-Changed-By: sunpoet 
State-Changed-When: Sun Jun 24 17:36:24 UTC 2012 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=169347 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/169347: commit references a PR
Date: Sun, 24 Jun 2012 17:36:25 +0000 (UTC)

 sunpoet     2012-06-24 17:36:11 UTC
 
   FreeBSD ports repository
 
   Modified files:
     chinese/autoconvert  Makefile pkg-plist 
   Log:
   - Change pre-install: to post-install:
   - While I'm here:
     - Add LICENSE
     - Move documentation to DOCSDIR
     - Convert to new options framework
     - Pet portlint
   - Bump PORTREVISION for package change
   
   PR:             ports/169347
   Submitted by:   Kit Sin <ktsin@acm.org>
   
   Revision  Changes    Path
   1.27      +19 -11    ports/chinese/autoconvert/Makefile
   1.9       +6 -7      ports/chinese/autoconvert/pkg-plist
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
