From rodrigo@bebik.net  Mon Dec  2 15:54:56 2013
Return-Path: <rodrigo@bebik.net>
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 ESMTPS id 643B6282
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  2 Dec 2013 15:54:56 +0000 (UTC)
Received: from smtp5-g21.free.fr (smtp5-g21.free.fr [IPv6:2a01:e0c:1:1599::14])
	by mx1.freebsd.org (Postfix) with ESMTP id DFE0E1EE6
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  2 Dec 2013 15:54:54 +0000 (UTC)
Received: from q.workgroup (unknown [82.227.164.69])
	by smtp5-g21.free.fr (Postfix) with ESMTP id D3C3ED48314
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  2 Dec 2013 16:54:49 +0100 (CET)
Received: from q.workgroup (localhost [127.0.0.1])
	by q.workgroup (8.14.7/8.14.7) with ESMTP id rB2Fs9fF053446
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO)
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 2 Dec 2013 16:54:10 +0100 (CET)
	(envelope-from rodrigo@q.workgroup)
Received: (from root@localhost)
	by q.workgroup (8.14.7/8.14.7/Submit) id rB2Fs9Jh053445;
	Mon, 2 Dec 2013 16:54:09 +0100 (CET)
	(envelope-from rodrigo)
Message-Id: <201312021554.rB2Fs9Jh053445@q.workgroup>
Date: Mon, 2 Dec 2013 16:54:09 +0100 (CET)
From: Rodrigo Osorio <rodrigo@bebik.net>
Reply-To: Rodrigo Osorio <rodrigo@bebik.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: devel/log4c fix stage 
X-Send-Pr-Version: 3.114
X-GNATS-Notify:

>Number:         184437
>Category:       ports
>Synopsis:       devel/log4c fix stage
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    sunpoet
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 02 16:00:00 UTC 2013
>Closed-Date:    Mon Dec 02 17:31:59 UTC 2013
>Last-Modified:  Mon Dec  2 17:40:04 UTC 2013
>Originator:     Rodrigo Osorio
>Release:        FreeBSD 10.0-BETA3 i386
>Organization:
>Environment:
System: FreeBSD q 10.0-BETA3 FreeBSD 10.0-BETA3 #0 r257580: Sun Nov 3 21:15:32 UTC 2013 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
	- fix stage
	- stripe bin
	
>How-To-Repeat:
	
>Fix:

	

--- log4c.diff begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 335354)
+++ Makefile	(working copy)
@@ -18,12 +18,9 @@
 USE_AUTOTOOLS=	libtool
 USE_LDCONFIG=	yes
 
-MAN1=	log4c-config.1
-
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MEXPAT}
@@ -32,4 +29,7 @@
 CONFIGURE_ARGS+=--without-expat
 .endif
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/liblog4c.so
+
 .include <bsd.port.mk>
Index: pkg-plist
===================================================================
--- pkg-plist	(revision 335354)
+++ pkg-plist	(working copy)
@@ -31,3 +31,4 @@
 libdata/pkgconfig/log4c.pc
 share/aclocal/log4c.m4
 @dirrm include/log4c
+man/man1/log4c-config.1.gz
--- log4c.diff ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->sunpoet 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Dec 2 16:00:08 UTC 2013 
Responsible-Changed-Why:  
sunpoet@ wants this submitter's PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=184437 
State-Changed-From-To: open->closed 
State-Changed-By: sunpoet 
State-Changed-When: Mon Dec 2 17:31:57 UTC 2013 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/184437: commit references a PR
Date: Mon,  2 Dec 2013 17:31:13 +0000 (UTC)

 Author: sunpoet
 Date: Mon Dec  2 17:31:05 2013
 New Revision: 335516
 URL: http://svnweb.freebsd.org/changeset/ports/335516
 
 Log:
   - Strip binary executable
   - Support STAGEDIR
   - While I'm here:
     - Convert to new options helper
     - Convert to new LIB_DEPENDS format
   
   PR:		ports/184437
   Submitted by:	Rodrigo Osorio <rodrigo@bebik.net> (maintainer)
 
 Modified:
   head/devel/log4c/Makefile
   head/devel/log4c/pkg-plist   (contents, props changed)
 
 Modified: head/devel/log4c/Makefile
 ==============================================================================
 --- head/devel/log4c/Makefile	Mon Dec  2 17:24:22 2013	(r335515)
 +++ head/devel/log4c/Makefile	Mon Dec  2 17:31:05 2013	(r335516)
 @@ -13,23 +13,17 @@ LICENSE=	LGPL21
  
  OPTIONS_DEFINE=	EXPAT
  OPTIONS_DEFAULT=EXPAT
 +EXPAT_CONFIGURE_WITH=	expat
 +EXPAT_LIB_DEPENDS=	libexpat.so:${PORTSDIR}/textproc/expat2
  
 -USES=	pathfix
 +USES=		pathfix
  USE_AUTOTOOLS=	libtool
  USE_LDCONFIG=	yes
  
 -MAN1=	log4c-config.1
 -
  CPPFLAGS+=	-I${LOCALBASE}/include
  LDFLAGS+=	-L${LOCALBASE}/lib
  
 -NO_STAGE=	yes
 -.include <bsd.port.options.mk>
 -
 -.if ${PORT_OPTIONS:MEXPAT}
 -LIB_DEPENDS+=	expat:${PORTSDIR}/textproc/expat2
 -.else
 -CONFIGURE_ARGS+=--without-expat
 -.endif
 +post-install:
 +	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/liblog4c.so
  
  .include <bsd.port.mk>
 
 Modified: head/devel/log4c/pkg-plist
 ==============================================================================
 --- head/devel/log4c/pkg-plist	Mon Dec  2 17:24:22 2013	(r335515)
 +++ head/devel/log4c/pkg-plist	Mon Dec  2 17:31:05 2013	(r335516)
 @@ -29,5 +29,6 @@ lib/liblog4c.la
  lib/liblog4c.so
  lib/liblog4c.so.6
  libdata/pkgconfig/log4c.pc
 +man/man1/log4c-config.1.gz
  share/aclocal/log4c.m4
  @dirrm include/log4c
 _______________________________________________
 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:
