mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
bf43557044
armv7, mark them so. This is part two of a multipart commit to bring armv7 ports to parity with armv6. Approved by: portmgr (tier-2 blanket) Obtained from: lonesome.com -exp run
55 lines
1.7 KiB
Makefile
55 lines
1.7 KiB
Makefile
# Created by: Jason Evans <jasone@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= crux
|
|
PORTVERSION= 1.2.0
|
|
PORTREVISION= 8
|
|
CATEGORIES= biology python
|
|
MASTER_SITES= http://www.canonware.com/download/Crux/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Software toolkit for phylogenetic inference
|
|
|
|
LICENSE= BSD2CLAUSE BSD3CLAUSE
|
|
LICENSE_COMB= multi
|
|
|
|
BROKEN= No public distfiles
|
|
BROKEN_aarch64= Fails to link: ImportError: /lib/libgcc_s.so.1: version GCC_4.5.0 required by /usr/local/lib/gcc5/libgfortran.so.3 not found
|
|
BROKEN_armv6= Fails to link: ImportError: /usr/local/lib/gcc49/libgfortran.so.3: Undefined symbol "__aeabi_ldivmod"
|
|
BROKEN_armv7= Fails to link: ImportError: /usr/local/lib/gcc49/libgfortran.so.3: Undefined symbol "__aeabi_ldivmod"
|
|
|
|
USES= fortran gmake python tar:bzip2
|
|
USE_CSTD= gnu99
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --datadir=${PREFIX}/lib \
|
|
--with-python=${PYTHON_CMD} \
|
|
--disable-mpi
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
OPTIONS_DEFINE= SYS_LINALG
|
|
|
|
SYS_LINALG_DESC= Enable system ATLAS/LAPACK
|
|
SYS_LINALG_LIB_DEPENDS= libatlas.so:math/atlas
|
|
SYS_LINALG_CONFIGURE_ENABLE= sys-linalg
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/altivec/s|-f|-m|' ${WRKSRC}/configure
|
|
@${REINPLACE_CMD} -e \
|
|
's|\([[:blank:]]\)\($$(BINDIR)\)|\1$$(DESTDIR)\2| ; \
|
|
s|\([[:blank:]]\)\($$(DATADIR)\)|\1$$(DESTDIR)\2| ; \
|
|
s|\(,\)\(@site_packages@\)|\1$$(DESTDIR)\2| ; \
|
|
s|\([[:blank:]]\)\(@site_packages@\)|\1$$(DESTDIR)\2|' \
|
|
${WRKSRC}/Makefile.in
|
|
|
|
post-install:
|
|
@(${FIND} ${STAGEDIR}${PREFIX}/lib/Crux/lib -maxdepth 1 -type f \
|
|
-name "*.so" | ${XARGS} ${STRIP_CMD})
|
|
@(${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} -maxdepth 3 -type f \
|
|
-name "*.so" | ${XARGS} ${STRIP_CMD})
|
|
|
|
.include <bsd.port.mk>
|