From nobody@FreeBSD.org  Thu Oct  3 17:23:57 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTP id 65B3028A
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  3 Oct 2013 17:23:57 +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 53AB422B9
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  3 Oct 2013 17:23:57 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r93HNuRm038157
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 3 Oct 2013 17:23:56 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r93HNuEu038110;
	Thu, 3 Oct 2013 17:23:56 GMT
	(envelope-from nobody)
Message-Id: <201310031723.r93HNuEu038110@oldred.freebsd.org>
Date: Thu, 3 Oct 2013 17:23:56 GMT
From: Horia Racoviceanu <horia@racoviceanu.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Update math/ent to use stage
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         182608
>Category:       ports
>Synopsis:       Update math/ent to use stage
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    danilo
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 03 17:30:00 UTC 2013
>Closed-Date:    Fri Oct 04 14:21:11 UTC 2013
>Last-Modified:  Fri Oct  4 14:30:01 UTC 2013
>Originator:     Horia Racoviceanu
>Release:        FreeBSD 9.1-RELEASE amd64
>Organization:
>Environment:
FreeBSD horia.lan 9.1-RELEASE-p7 FreeBSD 9.1-RELEASE-p7 #0: Mon Sep  9 21:34:37 UTC 2013 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
Use stage
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN ent-org/Makefile ent/Makefile
--- ent-org/Makefile	2013-09-20 16:55:04.000000000 -0400
+++ ent/Makefile	2013-10-03 12:49:10.000000000 -0400
@@ -19,12 +19,11 @@
 regression-test: build
 	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check)
 
-NO_STAGE=	yes
 post-patch:
 	${REINPLACE_CMD} -e '/CC = /d' -e '/CFLAGS = /s,$$, ${CFLAGS},' \
 		${WRKSRC}/Makefile
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/ent ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 
 .include <bsd.port.mk>


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->danilo 
Responsible-Changed-By: danilo 
Responsible-Changed-When: Thu Oct 3 21:13:08 UTC 2013 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=182608 
State-Changed-From-To: open->closed 
State-Changed-By: danilo 
State-Changed-When: Fri Oct 4 14:21:10 UTC 2013 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/182608: commit references a PR
Date: Fri,  4 Oct 2013 14:20:36 +0000 (UTC)

 Author: danilo
 Date: Fri Oct  4 14:20:29 2013
 New Revision: 329312
 URL: http://svnweb.freebsd.org/changeset/ports/329312
 
 Log:
   - Add stage support [1]
   
   PR:		ports/182608
   Submitted by:	Horia Racoviceanu <horia@racoviceanu.com> (maintainer) [1]
   Approved by:	wg (mentor)
 
 Modified:
   head/math/ent/Makefile
 
 Modified: head/math/ent/Makefile
 ==============================================================================
 --- head/math/ent/Makefile	Fri Oct  4 14:17:46 2013	(r329311)
 +++ head/math/ent/Makefile	Fri Oct  4 14:20:29 2013	(r329312)
 @@ -19,12 +19,11 @@ PLIST_FILES=	bin/ent
  regression-test: build
  	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check)
  
 -NO_STAGE=	yes
  post-patch:
  	${REINPLACE_CMD} -e '/CC = /d' -e '/CFLAGS = /s,$$, ${CFLAGS},' \
  		${WRKSRC}/Makefile
  
  do-install:
 -	${INSTALL_PROGRAM} ${WRKSRC}/ent ${PREFIX}/bin
 +	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
  
  .include <bsd.port.mk>
 _______________________________________________
 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:
