summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-08-29 21:05:04 +0000
committertijl <tijl@FreeBSD.org>2014-08-29 21:05:04 +0000
commit7cb96bd31a868bbe6830356facdfe11d30bb7cd9 (patch)
treeb6162a38b99fcfe3b966e32dd11af3aaa7b5f2e6
parent5c512960be46f79290ba9cea385d293c8e28c1dc (diff)
downloadFreeBSD-ports-7cb96bd31a868bbe6830356facdfe11d30bb7cd9.zip
FreeBSD-ports-7cb96bd31a868bbe6830356facdfe11d30bb7cd9.tar.gz
Convert to USES=libtool and add INSTALL_TARGET=install-strip
-rw-r--r--devel/elfio/Makefile17
-rw-r--r--devel/elfio/pkg-plist2
2 files changed, 7 insertions, 12 deletions
diff --git a/devel/elfio/Makefile b/devel/elfio/Makefile
index f8f30c0..cae8157 100644
--- a/devel/elfio/Makefile
+++ b/devel/elfio/Makefile
@@ -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 generating files in the ELF binary format
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}
diff --git a/devel/elfio/pkg-plist b/devel/elfio/pkg-plist
index 2d022ec..0b1f71a 100644
--- a/devel/elfio/pkg-plist
+++ b/devel/elfio/pkg-plist
@@ -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
OpenPOWER on IntegriCloud