[Midnightbsd-cvs] mports [18270] trunk/devel/zthread: fix build

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Mar 22 10:36:23 EDT 2015


Revision: 18270
          http://svnweb.midnightbsd.org/mports/?rev=18270
Author:   laffer1
Date:     2015-03-22 10:36:22 -0400 (Sun, 22 Mar 2015)
Log Message:
-----------
fix build

Modified Paths:
--------------
    trunk/devel/zthread/Makefile
    trunk/devel/zthread/pkg-plist

Modified: trunk/devel/zthread/Makefile
===================================================================
--- trunk/devel/zthread/Makefile	2015-03-21 19:08:02 UTC (rev 18269)
+++ trunk/devel/zthread/Makefile	2015-03-22 14:36:22 UTC (rev 18270)
@@ -2,22 +2,20 @@
 
 PORTNAME=	zthread
 PORTVERSION=	2.3.2
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	devel
 MASTER_SITES=	SF/${PORTNAME}/ZThread/${PORTVERSION}
 DISTNAME=	ZThread-${PORTVERSION}
 
 MAINTAINER=	ports at MidnightBSD.org
-COMMENT=	A platform-independent object-oriented C++ threading library
+COMMENT=	Platform-independent object-oriented C++ threading library
 
 LICENSE=	mit
 
-USE_AUTOTOOLS=	libtool
+USES=		gmake libtool
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--without-ftime --disable-static
-USE_GMAKE=	yes
 MAKE_ARGS+=	INSTALL_PROGRAM="${INSTALL_SCRIPT}"
-MAKE_ENV+=	SED=sed # req'd for LIBTOOL?!
 USE_LDCONFIG=	yes
 
 OPTIONS_DEFINE=	DOCS
@@ -30,12 +28,9 @@
 post-patch:
 	@${FIND} ${WRKSRC} \( -name '*.orig' -or -name '*.swp' \) -delete
 
-.include <bsd.mport.options.mk>
-
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${INSTALL} -d ${DOCSDIR}
-	@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
-.endif
+	@${MKDIR} ${DOCSDIR}
+	(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
+	${STRIP_CMD} ${PREFIX}/lib/libZThread.so
 
 .include <bsd.port.mk>

Modified: trunk/devel/zthread/pkg-plist
===================================================================
--- trunk/devel/zthread/pkg-plist	2015-03-21 19:08:02 UTC (rev 18269)
+++ trunk/devel/zthread/pkg-plist	2015-03-22 14:36:22 UTC (rev 18270)
@@ -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/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,8 @@
 include/zthread/Time.h
 include/zthread/Waitable.h
 include/zthread/ZThread.h
-include/zthread/Barrier.h
- at dirrm include/zthread
+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



More information about the Midnightbsd-cvs mailing list