Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Aug 2013 20:37:13 GMT
From:      Jack Pappas <jack.pappas@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/181361: Update lang/fsharp to 3.0.27
Message-ID:  <201308172037.r7HKbDTe088344@oldred.freebsd.org>
Resent-Message-ID: <201308172040.r7HKe03C023381@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         181361
>Category:       ports
>Synopsis:       Update lang/fsharp to 3.0.27
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 17 20:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Jack Pappas
>Release:        FreeBSD 9.2-PRERELEASE
>Organization:
>Environment:
>Description:
This patch updates the lang/fsharp port to version 3.0.27. It also updates the port Makefile to use the built-in mechanism for retrieving the sources from GitHub, instead of using MASTER_SITES to manually retrieve it (which no longer works correctly).
>How-To-Repeat:

>Fix:
Please see the attached patch.

Patch attached with submission follows:

Index: Makefile
===================================================================
--- Makefile	(revision 323403)
+++ Makefile	(working copy)
@@ -2,12 +2,9 @@
 # $FreeBSD$
 
 PORTNAME=	fsharp
-PORTVERSION=	3.0.25
-PORTREVISION=	1
+PORTVERSION=	3.0.27
 CATEGORIES=	lang
-MASTER_SITES=	https://nodeload.github.com/fsharp/fsharp/tar.gz/ \
-		CRITICAL
-DISTFILES=	${PORTVERSION}
+MASTER_SITES=	GH
 
 MAINTAINER=	mono@FreeBSD.org
 COMMENT=	Functional and object-oriented language for the .NET platform
@@ -16,12 +13,16 @@
 BUILD_DEPENDS=	mono>=3.0:${PORTSDIR}/lang/mono
 RUN_DEPENDS=	mono>=3.0:${PORTSDIR}/lang/mono
 
+USE_GITHUB=	yes
+GH_ACCOUNT=	fsharp
+GH_PROJECT=	fsharp
+GH_TAGNAME=	${PORTVERSION}
+GH_COMMIT=	f3c8ea8
+
 USES=		pkgconfig
 USE_GMAKE=	yes
 USE_AUTOTOOLS=	autoconf
 
-WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
-
 # This is currently a workaround for the differences between pkg_* and pkg(8).
 .if defined(WITH_PKGNG)
 PLIST_SUB+=	LB="${LOCALBASE}/"
Index: distinfo
===================================================================
--- distinfo	(revision 323403)
+++ distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (3.0.25) = 1252ada65996f80d31e1bcc5c6718015ec5172c40288429d7dd2d2656ed4b7f0
-SIZE (3.0.25) = 10693900
+SHA256 (fsharp-3.0.27.tar.gz) = 96bd8aa8d84dc6f72d02f9eec56fd0d72dc469dd5d2bc36c822cbc9aa38e5337
+SIZE (fsharp-3.0.27.tar.gz) = 13145181
Index: files/patch-configure.ac
===================================================================
--- files/patch-configure.ac	(revision 323403)
+++ files/patch-configure.ac	(working copy)
@@ -1,20 +0,0 @@
---- ./configure.ac.orig	2013-01-22 19:39:23.000000000 -0500
-+++ ./configure.ac	2013-01-22 19:40:23.000000000 -0500
-@@ -12,17 +12,6 @@
-         AC_MSG_ERROR([You need to install pkg-config])
- fi
- 
--MONO_REQUIRED_VERSION=2.9
--MONO_RECOMMENDED_VERSION=3.0
--
--if ! pkg-config --atleast-version=$MONO_REQUIRED_VERSION mono; then
--	AC_MSG_ERROR("You need mono $MONO_REQUIRED_VERSION")
--fi
--
--if ! pkg-config --atleast-version=$MONO_RECOMMENDED_VERSION mono; then
--	AC_MSG_WARN([Mono $MONO_RECOMMENDED_VERSION or higher is recommended, for better MSBuild (xbuild) compatibility])
--fi
--
- AC_PATH_PROG(MONO_SGEN, mono-sgen, no)
- 
- # Checks for libraries.


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308172037.r7HKbDTe088344>