mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-01 10:59:55 +00:00
- Fix build on FreeBSD 10 by adding a dependency on libexecinfo.
- Staging, USES=gmake, don't link with -lstdc++.
This commit is contained in:
parent
f3f8c20d6a
commit
644aed5eda
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=347060
@ -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 filesystem
|
||||
|
||||
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=${LOCALBASE}/lib \
|
||||
--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>
|
||||
|
Loading…
Reference in New Issue
Block a user