From kubito@gmail.com  Thu Nov  4 02:44:25 2010
Return-Path: <kubito@gmail.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 9387E1065675
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  4 Nov 2010 02:44:25 +0000 (UTC)
	(envelope-from kubito@gmail.com)
Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182])
	by mx1.freebsd.org (Postfix) with ESMTP id 4F4138FC21
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  4 Nov 2010 02:44:25 +0000 (UTC)
Received: by gxk9 with SMTP id 9so1046997gxk.13
        for <FreeBSD-gnats-submit@freebsd.org>; Wed, 03 Nov 2010 19:44:24 -0700 (PDT)
Received: by 10.100.132.19 with SMTP id f19mr83421and.206.1288838664598;
        Wed, 03 Nov 2010 19:44:24 -0700 (PDT)
Received: from localhost ([201.82.189.219])
        by mx.google.com with ESMTPS id d8sm6150871ana.2.2010.11.03.19.44.21
        (version=TLSv1/SSLv3 cipher=RC4-MD5);
        Wed, 03 Nov 2010 19:44:23 -0700 (PDT)
Message-Id: <4cd21e07.0837640a.5e20.27aa@mx.google.com>
Date: Wed, 03 Nov 2010 19:44:23 -0700 (PDT)
From: Raphael Kubo da Costa <kubito@gmail.com>
Reply-To: Raphael Kubo da Costa <kubito@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] devel/mercurial 1.7 fails to install
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         151929
>Category:       ports
>Synopsis:       [PATCH] devel/mercurial 1.7 fails to install
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    roberto
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 04 02:50:07 UTC 2010
>Closed-Date:    Thu Nov 04 08:56:28 UTC 2010
>Last-Modified:  Thu Nov  4 09:00:18 UTC 2010
>Originator:     Raphael Kubo da Costa
>Release:        FreeBSD 8.1-STABLE amd64
>Organization:
>Environment:
System: FreeBSD gibbon 8.1-STABLE FreeBSD 8.1-STABLE #17: Tue Oct 19 17:12:37 BRST 2010 root@gibbon:/usr/obj/usr/src/sys/GIBBON amd64
>Description:
devel/mercurial fails when executing the 'install' target:

for f in bash_completion  convert-repo  debugshell.py  dumprevlog  hg-ssh  hgfixes/__init__.py  hgfixes/fix_bytes.py  hgfixes/fix_bytesmod.py  hgfixes/fix_leftover_imports.py  hgk  logo-droplets.svg  memory.py  mercurial.el  mergetools.hgrc  mq.el  perf.py  pylintrc  python-hook-examples.py  sample.hgrc  setup3k.py  shrink-revlog.py  simplemerge  tcsh_completion  tcsh_completion_build.sh  tmplrewrite.py  undumprevlog  zsh_completion  hgsh/Makefile  hgsh/hgsh.c  vim/HGAnnotate.vim  vim/hg-menu.vim  vim/hgcommand.vim  vim/hgtest.vim  vim/patchreview.txt  vim/patchreview.vim; do  /bin/cp -p /usr/ports/devel/mercurial/work/mercurial-1.7/contrib/${f} /usr/local/share/mercurial/contrib/${f};  done
cp: /usr/local/share/mercurial/contrib/hgfixes/__init__.py: No such file or directory
*** Error code 1

Stop in /usr/ports/devel/mercurial.
>How-To-Repeat:
	cd /usr/ports/devel/mercurial && make && make install
>Fix:
	The diff below should fix the issue.

--- fix-mercurial-1.7-install begins here ---
diff -uprN /usr/ports/devel/mercurial~/Makefile /usr/ports/devel/mercurial/Makefile
--- /usr/ports/devel/mercurial~/Makefile 2010-11-03 20:20:33.000000000 -0200
+++ /usr/ports/devel/mercurial/Makefile  2010-11-04 00:42:39.000000000 -0200
@@ -85,6 +85,7 @@ post-install:
 .if !defined(NOPORTDATA)
        ${MKDIR} ${DATADIR}
        ${MKDIR} ${DATADIR}/contrib
+       ${MKDIR} ${DATADIR}/contrib/hgfixes
        ${MKDIR} ${DATADIR}/contrib/hgsh
        ${MKDIR} ${DATADIR}/contrib/vim
        for f in ${CONTRIB_FILES}; do \
--- fix-mercurial-1.7-install ends here ---
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->roberto 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Nov 4 02:50:14 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=151929 
State-Changed-From-To: open->closed 
State-Changed-By: roberto 
State-Changed-When: Thu Nov 4 08:56:13 UTC 2010 
State-Changed-Why:  
Patch applied, thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/151929: commit references a PR
Date: Thu,  4 Nov 2010 08:55:51 +0000 (UTC)

 roberto     2010-11-04 08:55:45 UTC
 
   FreeBSD ports repository
 
   Modified files:
     devel/mercurial      Makefile 
   Log:
   Fix the "install" target.
   
   PR:             ports/151929
   Submitted by:   Raphael Kubo da Costa <kubito@gmail.com>
   
   Revision  Changes    Path
   1.55      +1 -0      ports/devel/mercurial/Makefile
 _______________________________________________
 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:
