svn commit: r366563 - head/devel/elfio

Tijl Coosemans tijl at FreeBSD.org
Fri Aug 29 21:05:05 UTC 2014


Author: tijl
Date: Fri Aug 29 21:05:04 2014
New Revision: 366563
URL: http://svnweb.freebsd.org/changeset/ports/366563
QAT: https://qat.redports.org/buildarchive/r366563/

Log:
  Convert to USES=libtool and add INSTALL_TARGET=install-strip

Modified:
  head/devel/elfio/Makefile
  head/devel/elfio/pkg-plist

Modified: head/devel/elfio/Makefile
==============================================================================
--- head/devel/elfio/Makefile	Fri Aug 29 20:57:09 2014	(r366562)
+++ head/devel/elfio/Makefile	Fri Aug 29 21:05:04 2014	(r366563)
@@ -3,7 +3,7 @@
 
 PORTNAME=	elfio
 PORTVERSION=	1.0.3
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	devel
 MASTER_SITES=	SF/${PORTNAME}/ELFIO-sources/ELFIO-${PORTVERSION}
 DISTNAME=	${PORTNAME:tu}-${PORTVERSION}
@@ -13,13 +13,12 @@ COMMENT=	C++ library for reading and gen
 
 LICENSE=	LGPL21
 
-BUILD_DEPENDS=	libtool:${PORTSDIR}/devel/libtool
-
 GNU_CONFIGURE=	yes
+INSTALL_TARGET=	install-strip
+USES=		libtool
 USE_LDCONFIG=	yes
-USE_AUTOTOOLS=	aclocal automake autoconf libtool
-AUTOMAKE_ARGS=	-c -a
-ACLOCAL_ARGS=	--automake-acdir=${ACLOCAL_DIR} -I ${LOCALBASE}/share/aclocal
+USE_AUTOTOOLS=	aclocal automake autoconf libtoolize
+AUTOMAKE_ARGS=	-a -c -f
 
 OPTIONS_DEFINE=	EXAMPLES DOCS
 
@@ -35,11 +34,7 @@ PLIST_SUB+=	EXAMPLES="@comment "
 
 post-patch:
 	@(${FIND} ${WRKSRC}/ -name Makefile.am | \
-		${XARGS} ${REINPLACE_CMD} -E -e 's,(libELFIO)\.a,.libs/\1.so,g')
-
-pre-configure:
-	@(cd ${WRKSRC}/ && \
-		${LIBTOOLIZE} --force --copy --automake)
+		${XARGS} ${REINPLACE_CMD} -E -e 's,(libELFIO)\.a,\1.la,g')
 
 post-install:
 .if ${PORT_OPTIONS:MDOCS}

Modified: head/devel/elfio/pkg-plist
==============================================================================
--- head/devel/elfio/pkg-plist	Fri Aug 29 20:57:09 2014	(r366562)
+++ head/devel/elfio/pkg-plist	Fri Aug 29 21:05:04 2014	(r366563)
@@ -4,9 +4,9 @@ include/ELFIO.h
 include/ELFO.h
 include/ELFTypes.h
 lib/libELFIO.a
-lib/libELFIO.la
 lib/libELFIO.so
 lib/libELFIO.so.0
+lib/libELFIO.so.0.0.0
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/ELFDump.cpp
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/RelocationTable.cpp
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/Write.cpp


More information about the svn-ports-head mailing list