as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3 to GCC 9.1 under most circumstances now after revision 507371. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, everything INDEX-11 shows with a dependency on lang/gcc9 now. PR: 238330
43 lines
1 KiB
Makefile
43 lines
1 KiB
Makefile
# Created by: Joris Vandalon
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= rar2fs
|
|
PORTVERSION= 1.27.2
|
|
PORTREVISION= 1
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= sysutils
|
|
PKGNAMEPREFIX= fusefs-
|
|
|
|
MAINTAINER= n_carlsson@outlook.com
|
|
COMMENT= Mount rar archives as filesystem
|
|
|
|
LICENSE= GPLv3+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BUILD_DEPENDS= ${NONEXISTENT}:${LIBUNRAR_PORT}:patch
|
|
LIB_DEPENDS= libunrar.so:${LIBUNRAR_PORT}
|
|
|
|
USES= autoreconf compiler:c11 gmake fuse
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= hasse69
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --disable-static-unrar \
|
|
--with-fuse-lib=${LOCALBASE}/lib \
|
|
--with-fuse=${LOCALBASE}/include/fuse \
|
|
--with-unrar=`${MAKE} -C ${PORTSDIR}/${LIBUNRAR_PORT} -VWRKSRC` \
|
|
--with-unrar-lib=${LOCALBASE}/lib
|
|
CONFIGURE_ENV= LIBUNRAR_PKG=${LIBUNRAR_PKG}
|
|
|
|
PLIST_FILES= bin/${PORTNAME} \
|
|
bin/mkr2i \
|
|
man/man1/rar2fs.1.gz
|
|
|
|
LIBUNRAR_PORT= archivers/libunrar5
|
|
LIBUNRAR_PKG= ${LIBUNRAR_PORT:S|archivers/||}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|-lstdc++||g' -e '/rar2fs_LINK =/s|CC|CXX|' \
|
|
${WRKSRC}/Makefile.am
|
|
|
|
.include <bsd.port.mk>
|