Add USES=libtool

This commit is contained in:
Tijl Coosemans 2014-07-09 12:12:44 +00:00
parent a79014ceac
commit fc90aae4c6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361359
3 changed files with 3 additions and 17 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= arts++
PORTVERSION= 1.1.a13
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= net-mgmt
MASTER_SITES= http://www.caida.org/tools/utilities/arts/download/
@ -10,7 +11,7 @@ MASTER_SITES= http://www.caida.org/tools/utilities/arts/download/
MAINTAINER= ports@FreeBSD.org
COMMENT= Network data storage and analysis library from CAIDA
USES= gmake
USES= gmake libtool
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared
USE_LDCONFIG= yes
@ -20,7 +21,6 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/ltconfig
@${REINPLACE_CMD} -e 's/make_pair/std::make_pair/' \
${WRKSRC}/classes/include/Ipv4PrefixPatricia.hh.in
@${REINPLACE_CMD} -e 's|@mandir@|$${DESTDIR}@mandir@|g' \
@ -30,9 +30,6 @@ post-patch:
-e 's|@includedir@|$${DESTDIR}@includedir@|g' \
${WRKSRC}/classes/*/Makefile.in
post-configure:
@${REINPLACE_CMD} -E -e "s,( gcc\*),\1 | g++\*,g" ${WRKSRC}/libtool
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}/html

View File

@ -1,11 +0,0 @@
--- ltconfig.orig 2014-04-21 17:21:57.000000000 -0500
+++ ltconfig
@@ -1131,7 +1131,7 @@ freebsd1*)
dynamic_linker=no
;;
-freebsd*)
+dragonfly*|freebsd*)
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
version_type=freebsd-$objformat
case $version_type in

View File

@ -91,9 +91,9 @@ include/Ipv4PrefixPatricia.hh
include/artslocal.h
include/caida_t.h
lib/libArts.a
lib/libArts.la
lib/libArts.so
lib/libArts.so.0
lib/libArts.so.0.0.0
man/manl/artsportagg.l.gz
man/manl/artsports.l.gz
man/manl/artsprotos.l.gz