aboutsummaryrefslogtreecommitdiff
path: root/devel/elfio
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-08-29 21:05:04 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-08-29 21:05:04 +0000
commit6dafa5bb98c67f90f7864f3bed279ae7de20737a (patch)
treeb6162a38b99fcfe3b966e32dd11af3aaa7b5f2e6 /devel/elfio
parente9d609b1068fadbb9f671ea24139d7768250923d (diff)
Notes
Diffstat (limited to 'devel/elfio')
-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 f8f30c0c640b..cae81577a271 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 2d022ecd61fe..0b1f71a15d2a 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