in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which has now moved from GCC 6 to GCC 7 by default. This includes ports - featuring USE_GCC=yes or USE_GCC=any, - featuring USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and those - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x, c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib. PR: 222542
32 lines
824 B
Makefile
32 lines
824 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= libccp4
|
|
DISTVERSION= 6.5.1
|
|
PORTREVISION= 1
|
|
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
|
|
|
|
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
|
|
|
|
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>
|