pkgsrc/biology/lucy/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

35 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.12 2020/05/20 06:09:06 rillig Exp $
#
DISTNAME= ${PKGNAME:S/-//}
PKGNAME= lucy-1.20
CATEGORIES= biology
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lucy/}
MAINTAINER= dprice@cs.nmsu.edu
HOMEPAGE= http://lucy.sourceforge.net/
COMMENT= Sequence Cleanup Program
#LICENSE= LICENSE file say "artistic", but bit differ.
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}p
AUTO_MKDIRS= yes
PTHREAD_AUTO_VARS= yes
# abi.c: In function 'abi_align':
# abi.c:195:16: error: array subscript has type 'char' [-Werror=char-subscripts]
# if (badness[a[i]][b[j]]) {
# ^
# Maybe fix this later.
BUILDLINK_TRANSFORM+= rm:-Werror=char-subscripts
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/lucy ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/lucy.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
cd ${WRKSRC} && ${INSTALL_DATA} PUC19 PUC19splice PUC19splice.for \
PUC19splice.rev atie.seq atie.qul atie.2nd pSPORT1splice \
pSPORT1vector ARMTM40TR.seq ARMTM40TR.qul lucy.ps lucy.debug \
${DESTDIR}${PREFIX}/share/examples/lucy
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"