1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/sysutils/rfstool/Makefile
Tobias Kortkamp ebcb8126a8 sysutils/rfstool: Fix build with Clang 6
reiserfs.cpp:770:23: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
                        printf("File %s (%"FMT_QWORD" Bytes)\n", (const char*) strLocalPath, pFile->m_stat.sd_size );
                                           ^

http://beefy11.nyi.freebsd.org/data/head-i386-default/p477696_s338122/logs/errors/rfstool-0.14.log

- Make sure the build respects CXXFLAGS
2018-08-25 15:43:15 +00:00

27 lines
561 B
Makefile

# Created by: trevor
# $FreeBSD$
PORTNAME= rfstool
PORTVERSION= 0.14
CATEGORIES= sysutils
MASTER_SITES= NETBSD
DISTNAME= rfstool-0.14-source
MAINTAINER= ports@FreeBSD.org
COMMENT= Read from a Reiser file system
PLIST_FILES= bin/rfstool
USES= dos2unix zip
USE_CXXSTD= c++98
DOS2UNIX_FILES= reiserfs.h
WRKSRC= ${WRKDIR}/rfstool-0.14/RFSTOOL
MAKEFILE= makefile.gcc3x
post-extract:
@${REINPLACE_CMD} -e "s,g++,\$${CXX} \$${CXXFLAGS},g" ${WRKSRC}/${MAKEFILE}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/rfstool ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>