diff --git a/srcpkgs/mruby/template b/srcpkgs/mruby/template index 5648a4c9ea7..e11d188d4d2 100644 --- a/srcpkgs/mruby/template +++ b/srcpkgs/mruby/template @@ -1,6 +1,6 @@ # Template file for 'mruby' pkgname=mruby -version=2.1.2 +version=3.4.0 revision=1 hostmakedepends="ruby" short_desc="Lightweight implementation of the Ruby language (Ruby 1.9)" @@ -8,7 +8,7 @@ maintainer="Orphaned " license="MIT" homepage="https://mruby.org/" distfiles="https://github.com/mruby/mruby/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz" -checksum=4dc0017e36d15e81dc85953afb2a643ba2571574748db0d8ede002cefbba053b +checksum=183711c7a26d932b5342e64860d16953f1cc6518d07b2c30a02937fb362563f8 lib32disabled=yes do_configure() { @@ -65,14 +65,14 @@ do_configure() { cc.include_paths = ["#{root}/include"] cc.defines = %w() cc.option_include_path = '-I%s' - cc.option_define = '-D%s' + cc.option_define = '-D%s' cc.compile_options = "%{flags} -o %{outfile} -c %{infile}" end conf.linker do |linker| linker.command = ENV['CC'] || '${XBPS_CROSS_TRIPLET}-gcc' linker.flags = [ENV['LDFLAGS'] || %w()] linker.libraries = [ENV['LIBS'] || 'm'] - linker.library_paths = '${XBPS_CROSS_BASE}/usr/lib' + linker.library_paths = ['${XBPS_CROSS_BASE}/usr/lib'] end conf.archiver do |archiver| archiver.command = ENV['AR'] || '${XBPS_CROSS_TRIPLET}-ar' @@ -84,11 +84,9 @@ do_configure() { do_build() { if [ "$CROSS_BUILD" ]; then - LDFLAGS_host="" echo "CFLAGS_host : $CFLAGS_host" echo "LDFLAGS_host : $LDFLAGS_host" else - LDFLAGS="" CFLAGS_host="$CFLAGS" LDFLAGS_host="$LDFLAGS" fi