Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Mar 2013 23:32:01 +0000 (UTC)
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r314777 - head/devel/log4cxx
Message-ID:  <201303202332.r2KNW10r029597@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rene
Date: Wed Mar 20 23:32:00 2013
New Revision: 314777
URL: http://svnweb.freebsd.org/changeset/ports/314777

Log:
  - Replace manual pre-configure magic by USES=pathfix [1]
  - No need for empty OPTIONS_DEFAULT
  - Honor portlint, replace tabs in header and WWW line by spaces
  
  Tested with:	Tinderbox and manual inspection of .a and .so file [1]

Modified:
  head/devel/log4cxx/Makefile
  head/devel/log4cxx/pkg-descr   (contents, props changed)

Modified: head/devel/log4cxx/Makefile
==============================================================================
--- head/devel/log4cxx/Makefile	Wed Mar 20 22:54:19 2013	(r314776)
+++ head/devel/log4cxx/Makefile	Wed Mar 20 23:32:00 2013	(r314777)
@@ -1,4 +1,4 @@
-# Created by:	Thaddeus Covert <tcovert@grimmy.sahuagin.net>
+# Created by: Thaddeus Covert <tcovert@grimmy.sahuagin.net>
 # $FreeBSD$
 
 PORTNAME=	log4cxx
@@ -17,7 +17,6 @@ LICENSE=	AL2
 LIB_DEPENDS=	apr-1:${PORTSDIR}/devel/apr1
 
 OPTIONS_DEFINE=	BOOST DOCS DOXYGEN
-OPTIONS_DEFAULT=
 
 .include <bsd.port.options.mk>
 
@@ -42,11 +41,7 @@ USE_LDCONFIG=	yes
 PORTDOCS=	*
 .endif
 
-pre-configure:
-	@${REINPLACE_CMD} -e '/^_LT_AC_SHELL_INIT/d' ${WRKSRC}/aclocal.m4
-	@${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|$$(prefix)/libdata/pkgconfig|' ${WRKSRC}/Makefile.am
-	@(cd ${WRKSRC} && ./autogen.sh)
-	@${REINPLACE_CMD} -e 's|GREP "\\-L"|GREP "conftest\\.$$objext"|g' ${WRKSRC}/configure
+USES=	pathfix
 
 post-install:
 .if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MDOXYGEN}

Modified: head/devel/log4cxx/pkg-descr
==============================================================================
--- head/devel/log4cxx/pkg-descr	Wed Mar 20 22:54:19 2013	(r314776)
+++ head/devel/log4cxx/pkg-descr	Wed Mar 20 23:32:00 2013	(r314777)
@@ -1,4 +1,4 @@
 Log4cxx is a C++ port of the Log4j project.
 The goal is to have the same functionality and interfaces as log4j.
 
-WWW:	http://logging.apache.org/log4cxx/
+WWW: http://logging.apache.org/log4cxx/



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