freebsd-ports/science/minc2/Makefile
Antoine Brodin a87c18b72f Mark BROKEN: Fails to build
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I./libsrc -I./volume_io/Include -I./volume_io/Include -I./progs/Proglib -I./conversion/Acr_nema -I./libsrc2 -I/usr/local/include -DH5_USE_16_API -O2 -pipe -fno-strict-aliasing -MT libsrc/image_conversion.lo -MD -MP -MF libsrc/.deps/image_conversion.Tpo -c libsrc/image_conversion.c  -fPIC -DPIC -o libsrc/.libs/image_conversion.o
libsrc/image_conversion.c: In function 'miicv_create':
libsrc/image_conversion.c:219: error: 'MAX_NC_OPEN' undeclared (first use in this function)
libsrc/image_conversion.c:219: error: (Each undeclared identifier is reported only once
libsrc/image_conversion.c:219: error: for each function it appears in.)
*** [libsrc/image_conversion.lo] Error code 1

Reported by:	pkg-fallout
2014-05-18 15:46:09 +00:00

41 lines
1.2 KiB
Makefile

# Created by: jbacon
# $FreeBSD$
############################################################################
# http://www.bic.mni.mcgill.ca/software/minc/
# is the ultimate source for MINC, and will always contain the latest
# source release. If this port is not up to date enough for you,
# you can download the latest sources and build manually. On FreeBSD,
# you must configure with the environment variable LDFLAGS set to
# ${LOCALBASE}/lib so that the configure script will find libnetcdf.
# Of course, the netcdf port must be installed first.
PORTNAME= minc
PORTVERSION= 2.0.18
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= science biology
MASTER_SITES= http://packages.bic.mni.mcgill.ca/tgz/ \
http://www.nitrc.org/frs/download.php/801/
PKGNAMESUFFIX= 2
MAINTAINER= ports@FreeBSD.org
COMMENT= Medical Imaging NetCDF
LICENSE= BSD
BROKEN= Fails to build
LIB_DEPENDS= libnetcdf.so:${PORTSDIR}/science/netcdf \
libhdf5.so:${PORTSDIR}/science/hdf5
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
CPPFLAGS+= ${PTHREAD_CFLAGS} -I${LOCALBASE}/include -DH5_USE_16_API
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
CONFIGURE_ARGS= --enable-shared=yes --enable-static=yes
CONFLICTS= minc-1* zh-tk-[0-9]*
LATEST_LINK= minc2
.include <bsd.port.mk>