Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 May 2014 21:58:31 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r353357 - in head/sysutils/fusefs-ntfs: . files
Message-ID:  <201405082158.s48LwVXK058434@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu May  8 21:58:30 2014
New Revision: 353357
URL: http://svnweb.freebsd.org/changeset/ports/353357
QAT: https://qat.redports.org/buildarchive/r353357/

Log:
  - Switch to USES=libtool
  - Strip library

Modified:
  head/sysutils/fusefs-ntfs/Makefile
  head/sysutils/fusefs-ntfs/files/patch-configure
  head/sysutils/fusefs-ntfs/pkg-plist

Modified: head/sysutils/fusefs-ntfs/Makefile
==============================================================================
--- head/sysutils/fusefs-ntfs/Makefile	Thu May  8 21:48:08 2014	(r353356)
+++ head/sysutils/fusefs-ntfs/Makefile	Thu May  8 21:58:30 2014	(r353357)
@@ -17,9 +17,9 @@ LICENSE=	GPLv2
 
 CONFLICTS_BUILD=	bonobo-1.*
 CONFLICTS_INSTALL=	ntfsprogs-*
-USES=		fuse pkgconfig iconv
+USES=		fuse pkgconfig iconv libtool
 USE_LDCONFIG=	yes
-USE_AUTOTOOLS=	libtool
+GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--exec-prefix=${PREFIX} --disable-mount-helper \
 		--disable-mtab --with-fuse=external --disable-ldconfig
 CPPFLAGS+=	-I${WRKSRC}/include/ntfs-3g/ -I${LOCALBASE}/include
@@ -50,10 +50,11 @@ post-patch:
 		${WRKSRC}/libntfs-3g/object_id.c \
 		${WRKSRC}/libntfs-3g/reparse.c \
 		${WRKSRC}/libntfs-3g/security.c
-	@${REINPLACE_CMD} -e 's|\($$(AM_CFLAGS)\) \(-I$$(top_srcdir)/include/ntfs-3g\)|\2 \1|' \
-		${WRKSRC}/libntfs-3g/Makefile.in
+	@${REINPLACE_CMD} -e 's|\($$(AM_CFLAGS)\) \(-I$$(top_srcdir)/include/ntfs-3g\)|\2 \1|; \
+		/install-exec-hook:/,/^$$/ s|^@.*||' ${WRKSRC}/libntfs-3g/Makefile.in
 
 post-install:
 	${INSTALL_DATA} ${FILESDIR}/README.FreeBSD ${STAGEDIR}${DOCSDIR}/
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libntfs-3g.so
 
 .include <bsd.port.post.mk>

Modified: head/sysutils/fusefs-ntfs/files/patch-configure
==============================================================================
--- head/sysutils/fusefs-ntfs/files/patch-configure	Thu May  8 21:48:08 2014	(r353356)
+++ head/sysutils/fusefs-ntfs/files/patch-configure	Thu May  8 21:58:30 2014	(r353357)
@@ -9,15 +9,6 @@
  			*) enable_mount_helper="no" ;;
  		esac
  
-@@ -7991,7 +7991,7 @@
- LIBTOOL_DEPS="$ltmain"
- 
- # Always use our own libtool.
--LIBTOOL='$(SHELL) $(top_builddir)/libtool'
-+LIBTOOL='$(SHELL) /usr/local/bin/libtool'
- 
- 
- 
 @@ -9527,7 +9527,7 @@
        hardcode_shlibpath_var=no
        ;;

Modified: head/sysutils/fusefs-ntfs/pkg-plist
==============================================================================
--- head/sysutils/fusefs-ntfs/pkg-plist	Thu May  8 21:48:08 2014	(r353356)
+++ head/sysutils/fusefs-ntfs/pkg-plist	Thu May  8 21:58:30 2014	(r353357)
@@ -46,9 +46,9 @@ include/ntfs-3g/unistr.h
 include/ntfs-3g/volume.h
 include/ntfs-3g/xattrs.h
 lib/libntfs-3g.a
-lib/libntfs-3g.la
 lib/libntfs-3g.so
 lib/libntfs-3g.so.85
+lib/libntfs-3g.so.85.0.0
 libdata/pkgconfig/libntfs-3g.pc
 man/man8/mkntfs.8.gz
 man/man8/ntfs-3g.8.gz
@@ -75,5 +75,5 @@ sbin/ntfsresize
 sbin/ntfsundelete
 %%PORTDOCS%%%%DOCSDIR%%/README
 %%PORTDOCS%%%%DOCSDIR%%/README.FreeBSD
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
 @dirrm include/ntfs-3g
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405082158.s48LwVXK058434>