From nobody@FreeBSD.org  Thu Jul 25 03:15:54 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTP id 724549DA
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 25 Jul 2013 03:15:54 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 5FB4A2935
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 25 Jul 2013 03:15:54 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r6P3Frqt052884
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 25 Jul 2013 03:15:53 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r6P3FrIF052878;
	Thu, 25 Jul 2013 03:15:53 GMT
	(envelope-from nobody)
Message-Id: <201307250315.r6P3FrIF052878@oldred.freebsd.org>
Date: Thu, 25 Jul 2013 03:15:53 GMT
From: Pedro Giffuni <giffunip@tutopia.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: devel/ncurses-devel does not build with BSD-licensed make
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         180821
>Category:       ports
>Synopsis:       devel/ncurses-devel does not build with BSD-licensed make
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    rafan
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 25 03:20:00 UTC 2013
>Closed-Date:    Fri Jul 26 14:26:58 UTC 2013
>Last-Modified:  Fri Jul 26 14:30:00 UTC 2013
>Originator:     Pedro Giffuni
>Release:        9.2-PRERELEASE
>Organization:
>Environment:
FreeBSD pcbsd-1465 9.2-PRERELEASE FreeBSD 9.2-PRERELEASE #2 r253398M: Tue Jul 16 16:26:12 COT 2013     pfg@pcbsd-1465:/usr/obj/usr/src/sys/DELL  amd64

>Description:
It looks like GNU patch somehow figures out the patch level but
this doesn't happen on the new BSD-licensed patch.


>How-To-Repeat:

>Fix:
Defining PATCH_DIST_STRIP solves this issue.

Patch attached with submission follows:

Index: ncurses-devel/Makefile
===================================================================
--- ncurses-devel/Makefile	(revision 323623)
+++ ncurses-devel/Makefile	(working copy)
@@ -14,6 +14,7 @@
 PATCH_SITES=	ftp://invisible-island.net/ncurses/${RELEASE}/ \
 		${MASTER_SITE_LOCAL:S/$/:local/}
 PATCH_SITE_SUBDIR=	rafan/ncurses/:local
+PATCH_DIST_STRIP=	-p1
 
 MAINTAINER=	rafan@FreeBSD.org
 COMMENT=	Library for terminal-independent, full-screen output (development version)


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->rafan 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Jul 25 03:20:09 UTC 2013 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=180821 
State-Changed-From-To: open->closed 
State-Changed-By: rafan 
State-Changed-When: Fri Jul 26 14:26:57 UTC 2013 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/180821: commit references a PR
Date: Fri, 26 Jul 2013 14:27:09 +0000 (UTC)

 Author: rafan
 Date: Fri Jul 26 14:26:53 2013
 New Revision: 323722
 URL: http://svnweb.freebsd.org/changeset/ports/323722
 
 Log:
   - Fix build with BSD patch
   
   PR:		ports/180821
   Submitted by:	Pedro Giffuni <giffunip at tutopia.com>
 
 Modified:
   head/devel/ncurses-devel/Makefile
 
 Modified: head/devel/ncurses-devel/Makefile
 ==============================================================================
 --- head/devel/ncurses-devel/Makefile	Fri Jul 26 14:25:16 2013	(r323721)
 +++ head/devel/ncurses-devel/Makefile	Fri Jul 26 14:26:53 2013	(r323722)
 @@ -14,6 +14,7 @@ DIST_SUBDIR=	${PORTNAME}
  PATCH_SITES=	ftp://invisible-island.net/ncurses/${RELEASE}/ \
  		${MASTER_SITE_LOCAL:S/$/:local/}
  PATCH_SITE_SUBDIR=	rafan/ncurses/:local
 +PATCH_DIST_STRIP=	-p1
  
  MAINTAINER=	rafan@FreeBSD.org
  COMMENT=	Library for terminal-independent, full-screen output (development version)
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
