From owner-svn-ports-head@FreeBSD.ORG Mon Mar 3 12:29:46 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E626C3D1; Mon, 3 Mar 2014 12:29:45 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D30132DE; Mon, 3 Mar 2014 12:29:45 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s23CTjDr000599; Mon, 3 Mar 2014 12:29:45 GMT (envelope-from ehaupt@svn.freebsd.org) Received: (from ehaupt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s23CTjkw000596; Mon, 3 Mar 2014 12:29:45 GMT (envelope-from ehaupt@svn.freebsd.org) Message-Id: <201403031229.s23CTjkw000596@svn.freebsd.org> From: Emanuel Haupt Date: Mon, 3 Mar 2014 12:29:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r346887 - in head/sysutils/fusefs-mhddfs: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Mar 2014 12:29:46 -0000 Author: ehaupt Date: Mon Mar 3 12:29:44 2014 New Revision: 346887 URL: http://svnweb.freebsd.org/changeset/ports/346887 QAT: https://qat.redports.org/buildarchive/r346887/ Log: - Support staging - Respect CC - Fix build with clang - USES -> gmake - Use WWW: with a single space - Fix build on 9.x and later - Define DOCS option Added: head/sysutils/fusefs-mhddfs/files/ head/sysutils/fusefs-mhddfs/files/patch-Makefile (contents, props changed) Modified: head/sysutils/fusefs-mhddfs/Makefile head/sysutils/fusefs-mhddfs/pkg-descr Modified: head/sysutils/fusefs-mhddfs/Makefile ============================================================================== --- head/sysutils/fusefs-mhddfs/Makefile Mon Mar 3 12:26:17 2014 (r346886) +++ head/sysutils/fusefs-mhddfs/Makefile Mon Mar 3 12:29:44 2014 (r346887) @@ -11,23 +11,24 @@ DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= proler@gmail.com COMMENT= Multi HDD [FUSE] File System -USES= fuse pkgconfig -USE_GMAKE= yes +USES= fuse pkgconfig gmake MAKE_ARGS= WITHOUT_XATTR=1 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -MAN1= ${PORTNAME}.1 -PLIST_FILES= bin/${PORTNAME} +PLIST_FILES= bin/${PORTNAME} man/man1/mhddfs.1.gz PORTDOCS= README ChangeLog -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + +post-patch: + @${REINPLACE_CMD} -e 's|||' \ + ${WRKSRC}/src/main.c + do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1 -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR} -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${STAGEDIR}${DOCSDIR} .include Added: head/sysutils/fusefs-mhddfs/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/fusefs-mhddfs/files/patch-Makefile Mon Mar 3 12:29:44 2014 (r346887) @@ -0,0 +1,50 @@ +--- ./Makefile.orig 2014-03-03 13:17:15.751580055 +0100 ++++ ./Makefile 2014-03-03 13:17:55.792585399 +0100 +@@ -83,14 +83,14 @@ + $(shell rpm --eval '%_rpmdir')/*/mhddfs-*$(VERSION)-$(RELEASE)* . + + $(TARGET): obj/obj-stamp $(OBJ) +- gcc $(CFLAGS) $(OBJ) -o $@ $(LDFLAGS) ++ $(CC) $(CFLAGS) $(OBJ) -o $@ $(LDFLAGS) + + obj/obj-stamp: + mkdir -p obj + touch $@ + + obj/%.o: src/%.c +- gcc $(CFLAGS) -c $< -o $@ ++ $(CC) $(CFLAGS) -c $< -o $@ + + clean: + rm -fr obj $(TARGET) pwrite_test statvfs rename +@@ -98,7 +98,7 @@ + rm -fr rename-test/mnt + + rename: tests/rename.c +- gcc -o $@ $< ++ $(CC) -o $@ $< + + release_svn_thread: + @echo current version $(VERSION) +@@ -113,10 +113,10 @@ + screen -t vim vim Makefile src/*.[ch] README* ChangeLog mhddfs.1 + + pwrite_test: src/test/pwrite.c +- gcc -o $@ $< ++ $(CC) -o $@ $< + + statvfs: src/test/statvfs.c +- gcc -o $@ $< ++ $(CC) -o $@ $< + + images-mount: test1.img test2.img + mount|grep -q `pwd`/test1 || sudo mount -o loop test1.img test1 +@@ -160,7 +160,7 @@ + while make test; do echo ok; echo; done + + ptest: +- gcc -o $@ tests/plocks.c -l pthread ++ $(CC) -o $@ tests/plocks.c -l pthread + -./$@ + rm -f $@ + Modified: head/sysutils/fusefs-mhddfs/pkg-descr ============================================================================== --- head/sysutils/fusefs-mhddfs/pkg-descr Mon Mar 3 12:26:17 2014 (r346886) +++ head/sysutils/fusefs-mhddfs/pkg-descr Mon Mar 3 12:29:44 2014 (r346887) @@ -7,4 +7,4 @@ drives or remote file systems. It is lik drive with the most free space to create new files on, and can move data transparently between drives. -WWW: http://mhddfs.uvw.ru/ +WWW: http://mhddfs.uvw.ru/