freebsd-ports/science/libccp4/Makefile
Tobias Kortkamp f5e1422d15 science/libccp4: Unbreak build with GCC 10
fortran/pack_f.f:109:28:

   45 |       call pack_wordimage_f(data, x, y, filnarray)
      |                            2
......
  109 |       call pack_wordimage_f(data, x, y, filnarray)
      |                            1
Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/INTEGER(2)).
fortran/pack_f.f:141:30:

   77 |       call v2pack_wordimage_f(data, x, y, filnarray)
      |                              2
......
  141 |       call v2pack_wordimage_f(data, x, y, filnarray)
      |                              1
Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/INTEGER(2)).

http://package18.nyi.freebsd.org/data/121amd64-default-PR244494/2020-06-10_18h04m44s/logs/errors/libccp4-6.5.1_4.log

PR:		246700
2020-07-04 11:10:29 +00:00

35 lines
927 B
Makefile

# $FreeBSD$
PORTNAME= libccp4
DISTVERSION= 6.5.1
PORTREVISION= 4
CATEGORIES= science
MASTER_SITES= ftp://ftp.ccp4.ac.uk/opensource/
MAINTAINER= yuri@FreeBSD.org
COMMENT= Protein X-ray crystallography toolkit
LICENSE= GPLv3 LGPL3
LICENSE_COMB= dual
LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING
LICENSE_FILE_LGPL3= ${WRKSRC}/COPYING.LESSER
BROKEN_aarch64= ccp4/ccp4_sysdep.h:244:4: error: "Can't determine machine number format"
LIB_DEPENDS= libmmdb2.so:science/mmdb2
USES= fortran gmake libtool localbase:ldflags
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared --disable-static
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
CFLAGS+= -fPIC
FFLAGS+= -fPIC -std=legacy
post-configure:
${REINPLACE_CMD} -e 's| -Wl,--as-needed||; s| -Wl,--no-as-needed||' ${WRKSRC}/Makefile
${REINPLACE_CMD} -e 's|^archive_cmds=|wl="-Wl,"; archive_cmds=|' ${WRKSRC}/libtool # wl is missing otherwise for some reason
.include <bsd.port.mk>