ports/184437: devel/log4c fix stage
Rodrigo Osorio
rodrigo at bebik.net
Mon Dec 2 16:00:01 UTC 2013
>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 at 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:
More information about the freebsd-ports-bugs
mailing list