From 7bf0483f105a9b5078155c7b27767919e808f86d Mon Sep 17 00:00:00 2001 From: dbn Date: Tue, 18 Oct 2016 16:05:20 +0000 Subject: lang/fsharp: fix build on FreeBSD < 11. - change substitution since make(1) on FreeBSD 9 does not like variables within a substitution. - repeat tar substitution command since tar(1) on FreeBSD 9/10 does not obay the 'g' substitution command. Reported by: pkg-fallout PR: 213584 --- lang/fsharp/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lang/fsharp/Makefile') diff --git a/lang/fsharp/Makefile b/lang/fsharp/Makefile index 088baef33b82..e0c5d43f6275 100644 --- a/lang/fsharp/Makefile +++ b/lang/fsharp/Makefile @@ -36,7 +36,7 @@ NUGET_PACKAGEDIR= ${WRKSRC}/packages .for depend in ${NUGET_DEPENDS} id= ${depend:C/-.*$//} -version= ${depend:S/${id}-//} +version= ${depend:C/^[^-]*-//} group= nuget_${id:S/.//g} nupkg= ${id:tl}.${version}.nupkg DISTFILES_${group}:= ${nupkg}:${group} @@ -52,7 +52,7 @@ post-extract: .for nupkg in ${NUGET_NUPKGS} @${MKDIR} ${NUGET_PACKAGEDIR}/${nupkg:C/^.*://:S/-/./} @tar -xf ${DISTDIR}/${nupkg:C/:.*$//} -C ${NUGET_PACKAGEDIR}/${nupkg:C/^.*://:S/-/./} \ - -s/%2B/\+/g \ + -s/%2B/\+/g -s/%2B/\+/g -s/%2B/\+/g \ --exclude '\[Content_Types\].xml' \ --exclude package/ \ --exclude _rels/ -- cgit