Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Mar 2014 19:28:50 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r347060 - head/sysutils/fusefs-rar2fs
Message-ID:  <201403041928.s24JSo3O069918@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Tue Mar  4 19:28:50 2014
New Revision: 347060
URL: http://svnweb.freebsd.org/changeset/ports/347060
QAT: https://qat.redports.org/buildarchive/r347060/

Log:
  - Fix build on FreeBSD 10 by adding a dependency on libexecinfo.
  - Staging, USES=gmake, don't link with -lstdc++.

Modified:
  head/sysutils/fusefs-rar2fs/Makefile

Modified: head/sysutils/fusefs-rar2fs/Makefile
==============================================================================
--- head/sysutils/fusefs-rar2fs/Makefile	Tue Mar  4 19:15:39 2014	(r347059)
+++ head/sysutils/fusefs-rar2fs/Makefile	Tue Mar  4 19:28:50 2014	(r347060)
@@ -3,6 +3,7 @@
 
 PORTNAME=	rar2fs
 PORTVERSION=	1.15.1
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}:rar2fs http://www.rarlab.com/rar/:unrarsrc
 PKGNAMEPREFIX=	fusefs-
@@ -13,7 +14,8 @@ COMMENT=	Mount rar archives as filesyste
 
 LICENSE=	GPLv3
 
-LIB_DEPENDS=	unrar:${PORTSDIR}/archivers/libunrar4 \
+LIB_DEPENDS=	libexecinfo.so:${PORTSDIR}/devel/libexecinfo \
+		libunrar.so:${PORTSDIR}/archivers/libunrar4
 
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-fuse-lib=${LOCALBASE}/lib \
@@ -21,14 +23,14 @@ CONFIGURE_ARGS=	--with-fuse-lib=${LOCALB
 	--with-unrar=${WRKDIR}/unrar \
 	--with-unrar-lib=${LOCALBASE}/lib
 
-PLIST_FILES=	bin/${PORTNAME}
-MAN1=		rar2fs.1
-USES=		fuse
-USE_GMAKE=	yes
+PLIST_FILES=	bin/${PORTNAME} man/man1/rar2fs.1.gz
+USES=		fuse gmake
+
+post-patch:
+	@${REINPLACE_CMD} 's/-lstdc++/-lexecinfo/' ${WRKSRC}/Makefile.in
 
-NO_STAGE=	yes
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
-	${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1/
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/rar2fs.1 ${STAGEDIR}${PREFIX}/man/man1
 
 .include <bsd.port.mk>



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