- Switch to USES=libtool, drop .la files

- Strip libraries
This commit is contained in:
Dmitry Marakasov 2014-05-27 18:29:14 +00:00
parent eda8d08ae8
commit 96b469d093
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355554
2 changed files with 10 additions and 13 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= zthread
PORTVERSION= 2.3.2
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= SF/${PORTNAME}/ZThread/${PORTVERSION}
DISTNAME= ZThread-${PORTVERSION}
@ -11,12 +11,10 @@ DISTNAME= ZThread-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Platform-independent object-oriented C++ threading library
USE_AUTOTOOLS= libtool
USES= gmake libtool
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-ftime --disable-static
USES= gmake
MAKE_ARGS+= INSTALL_PROGRAM="${INSTALL_SCRIPT}"
MAKE_ENV+= SED=sed # req'd for LIBTOOL?!
USE_LDCONFIG= yes
OPTIONS_DEFINE= DOCS
@ -34,5 +32,6 @@ post-patch:
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libZThread.so
.include <bsd.port.mk>

View file

@ -1,12 +1,6 @@
bin/zthread-config
lib/libZThread-2.3.so
lib/libZThread-2.3.so.2
lib/libZThread.a
lib/libZThread.la
lib/libZThread.so
share/aclocal/pthread.m4
share/aclocal/zthread.m4
include/zthread/AtomicCount.h
include/zthread/Barrier.h
include/zthread/BiasedReadWriteLock.h
include/zthread/BlockingQueue.h
include/zthread/BoundedQueue.h
@ -25,9 +19,9 @@ include/zthread/FastRecursiveMutex.h
include/zthread/Guard.h
include/zthread/GuardedClass.h
include/zthread/Lockable.h
include/zthread/Mutex.h
include/zthread/LockedQueue.h
include/zthread/MonitoredQueue.h
include/zthread/Mutex.h
include/zthread/NonCopyable.h
include/zthread/PoolExecutor.h
include/zthread/Priority.h
@ -50,5 +44,9 @@ include/zthread/ThreadedExecutor.h
include/zthread/Time.h
include/zthread/Waitable.h
include/zthread/ZThread.h
include/zthread/Barrier.h
lib/libZThread-2.3.so.2
lib/libZThread-2.3.so.2.0.0
lib/libZThread.so
share/aclocal/pthread.m4
share/aclocal/zthread.m4
@dirrm include/zthread