Bug 184437 - devel/log4c fix stage
Summary: devel/log4c fix stage
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-02 16:00 UTC by Rodrigo OSORIO
Modified: 2013-12-02 17:40 UTC (History)
0 users

See Also:


Attachments
log4c.diff (794 bytes, patch)
2013-12-02 16:00 UTC, Rodrigo OSORIO
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rodrigo OSORIO 2013-12-02 16:00:00 UTC
	- fix stage
	- stripe bin
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-12-02 16:00:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sunpoet

sunpoet@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-12-02 17:31:13 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"
Comment 3 Po-Chuan Hsieh freebsd_committer freebsd_triage 2013-12-02 17:31:57 UTC
State Changed
From-To: open->closed

Committed. Thanks!