pkgsrc/filesystems/fuse-afpfs-ng/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

45 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.16 2020/05/20 06:09:04 rillig Exp $
DISTNAME= afpfs-ng-0.8.1
PKGNAME= fuse-${DISTNAME}
PKGREVISION= 5
CATEGORIES= filesystems
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=afpfs-ng/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://sourceforge.net/projects/afpfs-ng
COMMENT= FUSE filesystem for network mounting using AFP
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= gmake
USE_LANGUAGES= c c++
REPLACE_SH+= fuse/afpfs
.include "../../mk/readline.buildlink3.mk"
SUBST_CLASSES+= termcap
SUBST_STAGE.termcap= pre-configure
SUBST_FILES.termcap= configure.ac configure cmdline/Makefile.*
.if ${TERMCAP_TYPE} == none
SUBST_SED.termcap+= -e 's|ncurses||'
.else
SUBST_SED.termcap+= -e 's|ncurses|${BUILDLINK_LIBNAME.termcap}|'
.endif
# debug.c: In function 'afp_get_command_name':
# debug.c:62:33: error: array subscript has type 'char' [-Werror=char-subscripts]
# return afp_command_names[code];
# ^
# Maybe fix this later.
BUILDLINK_TRANSFORM+= rm:-Werror=char-subscripts
.include "../../devel/gmp/buildlink3.mk"
.include "../../security/libgpg-error/buildlink3.mk"
.include "../../security/libgcrypt/buildlink3.mk"
.include "../../mk/fuse.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"