[Midnightbsd-cvs] mports [18247] trunk/devel/pth: cleanup
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Thu Mar 19 21:46:25 EDT 2015
Revision: 18247
http://svnweb.midnightbsd.org/mports/?rev=18247
Author: laffer1
Date: 2015-03-19 21:46:25 -0400 (Thu, 19 Mar 2015)
Log Message:
-----------
cleanup
Modified Paths:
--------------
trunk/devel/pth/Makefile
trunk/devel/pth/pkg-plist
Modified: trunk/devel/pth/Makefile
===================================================================
--- trunk/devel/pth/Makefile 2015-03-20 01:45:14 UTC (rev 18246)
+++ trunk/devel/pth/Makefile 2015-03-20 01:46:25 UTC (rev 18247)
@@ -2,10 +2,11 @@
PORTNAME= pth
PORTVERSION= 2.0.7
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= pth
+PKGNAMESUFFIX?= # empty
MAINTAINER= ports at MidnightBSD.org
COMMENT= GNU Portable Threads
@@ -13,34 +14,32 @@
MAKE_JOBS_UNSAFE= yes
-USE_LDCONFIG= ${PREFIX}/lib/pth
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-optimize \
--enable-batch \
--includedir="${PREFIX}/include/pth" \
--libdir="${PREFIX}/lib/pth"
+USES= libtool
+USE_LDCONFIG= ${PREFIX}/lib/pth
-MAN1= pth-config.1
-MAN3= pth.3
-OPTIONS= OPTIMIZED_CFLAGS "Build with optimized CFLAGS" on
+OPTIONS_DEFINE= OPTIMIZED_CFLAGS
+OPTIONS_DEFAULT= OPTIMIZED_CFLAGS
CONFLICTS?= pth-hard-2.*
-.include <bsd.port.pre.mk>
+.include <bsd.mport.options.mk>
-.if defined(PKGNAMESUFFIX) && ${PKGNAMESUFFIX} == "-hard"
+.if ${PKGNAMESUFFIX} == "-hard"
CONFIGURE_ARGS+= --enable-syscall-hard --disable-syscall-soft
PLIST_SUB= PTHREAD="@comment "
.else
CONFIGURE_ARGS+= --enable-syscall-soft --enable-pthread
PLIST_SUB= PTHREAD=""
-MAN1+= pthread-config.1
-MAN3+= pthread.3
.endif
post-patch:
-.if defined(WITHOUT_OPTIMIZED_CFLAGS)
+.if ! ${PORT_OPTIONS:MOPTIMIZED_CFLAGS}
${REINPLACE_CMD} -e \
's|-funroll-loops -fstrength-reduce -fomit-frame-pointer -ffast-math||' \
${WRKSRC}/configure
@@ -52,4 +51,4 @@
test: build
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Modified: trunk/devel/pth/pkg-plist
===================================================================
--- trunk/devel/pth/pkg-plist 2015-03-20 01:45:14 UTC (rev 18246)
+++ trunk/devel/pth/pkg-plist 2015-03-20 01:46:25 UTC (rev 18247)
@@ -5,9 +5,13 @@
lib/pth/libpth.a
lib/pth/libpth.so
lib/pth/libpth.so.20
+lib/pth/libpth.so.20.0.27
%%PTHREAD%%lib/pth/libpthread.a
%%PTHREAD%%lib/pth/libpthread.so
%%PTHREAD%%lib/pth/libpthread.so.20
+%%PTHREAD%%lib/pth/libpthread.so.20.0.27
share/aclocal/pth.m4
- at dirrm include/pth
- at dirrm lib/pth
+man/man1/pth-config.1.gz
+%%PTHREAD%%man/man1/pthread-config.1.gz
+man/man3/pth.3.gz
+%%PTHREAD%%man/man3/pthread.3.gz
More information about the Midnightbsd-cvs
mailing list