jeremy 98bc612532 Update to ruby-gsl 2.1.0.1
Allow tests to work.

Add patch so this will work on upcoming ruby 2.4 release.
2016-11-04 21:37:14 +00:00

28 lines
538 B
Makefile

# $OpenBSD: Makefile,v 1.10 2016/11/04 21:37:14 jeremy Exp $
COMMENT = Ruby interface to GSL
DISTNAME = gsl-2.1.0.1
CATEGORIES = devel
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
MODULES = lang/ruby
WANTLIB += gsl gslcblas
BUILD_DEPENDS = ${RUN_DEPENDS}
RUN_DEPENDS = devel/ruby-narray,${MODRUBY_FLAVOR}
LIB_DEPENDS = devel/gsl
CONFIGURE_STYLE =ruby gem ext
TEST_DEPENDS = ${BUILD_PKGPATH}
MODRUBY_TEST = ruby
MODRUBY_TEST_TARGET = -I lib -I test \
-e 'ARGV.each{|f| require f}' \
`find ./test -name '*_test.rb'`
.include <bsd.port.mk>