Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Dec 2013 16:54:09 +0100 (CET)
From:      Rodrigo Osorio <rodrigo@bebik.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/184437: devel/log4c fix stage 
Message-ID:  <201312021554.rB2Fs9Jh053445@q.workgroup>
Resent-Message-ID: <201312021600.rB2G00HK074275@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         184437
>Category:       ports
>Synopsis:       devel/log4c fix stage
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 02 16:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312021554.rB2Fs9Jh053445>