4f4f64fdce
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".
56 lines
1.5 KiB
Makefile
56 lines
1.5 KiB
Makefile
# $NetBSD: Makefile,v 1.33 2020/05/20 06:09:07 rillig Exp $
|
|
|
|
DISTNAME= mush-7.2.5
|
|
PKGNAME= mush-7.2.6.b4.pl1
|
|
PKGREVISION= 5
|
|
CATEGORIES= mail
|
|
MASTER_SITES= # ftp://cse.ogi.edu/pub/mush/
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
PATCH_SITES= # ftp://cse.ogi.edu/pub/mush/CONTRIB/
|
|
PATCH_DIST_ARGS= -s -d ${WRKDIR} -E -p1
|
|
PATCHFILES= patch-7.2.6-alpha-1 \
|
|
patch-7.2.6-alpha-2 \
|
|
patch-7.2.6-alpha-3 \
|
|
patch-7.2.6-beta-1 \
|
|
patch-7.2.6-beta-2 \
|
|
patch-7.2.6-beta-3 \
|
|
patch-7.2.6-beta-4
|
|
|
|
MAINTAINER= christos@NetBSD.org
|
|
COMMENT= Text-based mail client
|
|
LICENSE= mush-license
|
|
|
|
RESTRICTED= Unmodified source may be distributed but not sold.
|
|
NO_BIN_ON_FTP= ${RESTRICTED}
|
|
NO_SRC_ON_CDROM= ${RESTRICTED}
|
|
NO_BIN_ON_CDROM= ${RESTRICTED}
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
DIST_SUBDIR= mush
|
|
BUILD_TARGET= mush
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/misc
|
|
|
|
OPSYSVARS+= PLAT_MAKEFILE
|
|
PLAT_MAKEFILE.DragonFly= makefile.netbsd
|
|
PLAT_MAKEFILE.*= makefile.${LOWER_OPSYS}
|
|
|
|
SUBST_CLASSES+= paths
|
|
SUBST_FILES.paths= config.h-dist ${PLAT_MAKEFILE}
|
|
SUBST_VARS.paths= PREFIX
|
|
SUBST_SED.paths+= -e 's,@MANDIR@,${PREFIX}/${PKGMANDIR},g'
|
|
SUBST_STAGE.paths= pre-configure
|
|
|
|
# strings.c: In function 'ctrl_strcpy':
|
|
# strings.c:510:24: error: array subscript has type 'char' [-Werror=char-subscripts]
|
|
# *s_out++ = _unctrl[*s_in][1];
|
|
# Maybe fix this later.
|
|
BUILDLINK_TRANSFORM+= rm:-Werror=char-subscripts
|
|
|
|
pre-configure:
|
|
${CP} ${WRKSRC}/config.h-dist ${WRKSRC}/config.h
|
|
${CP} ${WRKSRC}/${PLAT_MAKEFILE} ${WRKSRC}/Makefile
|
|
|
|
.include "../../mk/curses.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|