openbsd-ports/math/matio/Makefile
kmos 0264809873 Fix build for matio on sparc64 by making it use ports-gcc rather
than base-gcc

(Fails with "error: stray '\357' in program")

ok benoit
2020-11-23 14:32:51 +00:00

27 lines
512 B
Makefile

# $OpenBSD: Makefile,v 1.18 2020/11/23 14:32:51 kmos Exp $
COMMENT= library for reading and writing Matlab MAT files
DISTNAME= matio-1.5.19
SHARED_LIBS= matio 3.0 # 11.1
CATEGORIES= math
HOMEPAGE= https://sourceforge.net/projects/matio/
# BSD
PERMIT_PACKAGE= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=matio/}
COMPILER= base-clang ports-gcc
WANTLIB = c hdf5 m z
LIB_DEPENDS= math/hdf5
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --enable-mat73 \
--with-hdf5=${LOCALBASE}
.include <bsd.port.mk>