mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
6ec44c3ad2
Autoconf reports that HAVE_ASM_BSR is true (1). However, it's a false positive. I do not have enough knowledge of autoconf to fix this problem correctly, so fix src/config.h in post-configure. Patches welcome. A proper fix will most likely also fix the build on other tier-2 archs, but I have not taken the time to test that yet. Approved by: portmgr (tier-2 blanket)
47 lines
1.2 KiB
Makefile
47 lines
1.2 KiB
Makefile
# Created by: Bob Zimmermann <rpz@cse.wustl.edu>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gmap
|
|
PORTVERSION= 2015.09.21
|
|
CATEGORIES= biology
|
|
MASTER_SITES= http://research-pub.gene.com/gmap/src/
|
|
DISTNAME= ${PORTNAME}-gsnap-${PORTVERSION:C|\.|-|g}
|
|
|
|
MAINTAINER= jwb@FreeBSD.org
|
|
COMMENT= Genomic Mapping and Alignment Program for mRNA and EST Sequences
|
|
|
|
LICENSE= GMAP
|
|
LICENSE_NAME= GMAP License
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
LICENSE_PERMS= dist-mirror pkg-mirror auto-accept
|
|
|
|
BROKEN_aarch64= invokes x86 assembler
|
|
BROKEN_armv6= invokes x86 assembler
|
|
BROKEN_armv7= invokes x86 assembler
|
|
BROKEN_mips64= invokes x86 assembler
|
|
BROKEN_sparc64= invokes x86 assembler
|
|
|
|
USES= gmake perl5
|
|
GNU_CONFIGURE= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C|\.|-|g}
|
|
|
|
OPTIONS_DEFINE= SIMD
|
|
|
|
SIMD_CONFIGURE_OFF= --disable-builtin-popcount --disable-simd
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
# shebang_fix operates during patch.
|
|
# These scripts are created during configure.
|
|
post-configure:
|
|
${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|g' \
|
|
${WRKSRC}/Makefile ${WRKSRC}/util/*.pl
|
|
.if ${ARCH:Mpowerpc*}
|
|
# XXX MCL unknown why this shows up as true. knowledge of autoconf needed.
|
|
${REINPLACE_CMD} -e 's|#define HAVE_ASM_BSR 1||' \
|
|
${WRKSRC}/src/config.h
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|