dev-lang/fsharp: fix build

This commit is contained in:
Julian Ospald 2018-05-14 20:59:13 +02:00
parent 7928b8e505
commit f02ef7d56a
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28

View File

@ -1,8 +1,7 @@
# Copyright 2012 Nikolay Orlyuk
# Distributed under the terms of the GNU General Public License v2
require github \
autotools [ supported_automake=[ 1.12 ] supported_autoconf=[ 2.5 ] ]
require github
SUMMARY="The F# compiler, core library and core tools (open source edition)"
@ -20,8 +19,6 @@ DEPENDENCIES="
BUGS_TO="virkony@gmail.com"
DEFAULT_SRC_CONFIGURE_PARAMS=( --with-gacdir="/usr/$(exhost --target)/lib/mono/gac" )
DEFAULT_SRC_COMPILE_PARAMS=( -j1 )
src_compile() {
@ -37,6 +34,10 @@ src_install() {
default
esandbox enable_net
dodir /usr/$(exhost --target)
edo mv "${IMAGE}"/usr/lib "${IMAGE}"/usr/$(exhost --target)/lib
edo mv "${IMAGE}"/usr/bin "${IMAGE}"/usr/$(exhost --target)/bin
# delete empty directories
edo find "${IMAGE}" -type d -empty -delete
}