pkgsrc/sysutils/fs-kit/Makefile
rillig 4f4f64fdce mark packages that fail with -Werror=char-subscripts
These packages are susceptible to bugs when confronted with non-ASCII
characters.

See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94182.

It takes some time to analyze and fix these individually, therefore they
are only marked as "needs work".
2020-05-20 06:09:03 +00:00

37 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.9 2020/05/20 06:09:04 rillig Exp $
DISTNAME= fs-kit-0.4
CATEGORIES= sysutils
MASTER_SITES= http://www.nobius.org/~dbg/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.nobius.org/~dbg/
COMMENT= User-level filesystem testing kit
LICENSE= fs-kit-license
RESTRICTED= No commercial use.
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_CDROM= ${RESTRICTED}
WRKSRC= ${WRKDIR}/fs-kit
CFLAGS+= -Dunix=1
MAKE_FILE= makefile
# kernel.c: In function 'move_vnode':
# kernel.c:2225:14: error: array subscript has type 'char' [-Werror=char-subscripts]
# lists[vn->inlist].head = vn->list.next;
# ^
# Maybe fix this later.
BUILDLINK_TRANSFORM+= rm:-Werror=char-subscripts
INSTALLATION_DIRS= sbin share/doc
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/fsh ${DESTDIR}${PREFIX}/sbin/fs-fsh
${INSTALL_PROGRAM} ${WRKSRC}/makefs ${DESTDIR}${PREFIX}/sbin/fs-makefs
${INSTALL_PROGRAM} ${WRKSRC}/tstfs ${DESTDIR}${PREFIX}/sbin/fs-tstfs
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/fs-kit
.include "../../mk/bsd.pkg.mk"