From owner-svn-ports-all@freebsd.org Wed Aug 17 08:23:39 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 07028BBC9C1; Wed, 17 Aug 2016 08:23:39 +0000 (UTC) (envelope-from romain@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CB2701701; Wed, 17 Aug 2016 08:23:38 +0000 (UTC) (envelope-from romain@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u7H8Ncjh029693; Wed, 17 Aug 2016 08:23:38 GMT (envelope-from romain@FreeBSD.org) Received: (from romain@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u7H8NcjA029692; Wed, 17 Aug 2016 08:23:38 GMT (envelope-from romain@FreeBSD.org) Message-Id: <201608170823.u7H8NcjA029692@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: romain set sender to romain@FreeBSD.org using -f From: =?UTF-8?Q?Romain_Tarti=c3=a8re?= Date: Wed, 17 Aug 2016 08:23:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r420322 - head/lang/mono X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Aug 2016 08:23:39 -0000 Author: romain Date: Wed Aug 17 08:23:37 2016 New Revision: 420322 URL: https://svnweb.freebsd.org/changeset/ports/420322 Log: Fix build on FreeBSD 9.3 PR: 211696 Submitted by: yani@pi-greece.eu Reported by: pkg-fallout Modified: head/lang/mono/Makefile Modified: head/lang/mono/Makefile ============================================================================== --- head/lang/mono/Makefile Wed Aug 17 07:43:05 2016 (r420321) +++ head/lang/mono/Makefile Wed Aug 17 08:23:37 2016 (r420322) @@ -39,6 +39,8 @@ MAKE_ENV= MONO_SHARED_DIR="${MONO_SHARED ONLY_FOR_ARCHS= i386 amd64 powerpc +.include + post-patch: @${REINPLACE_CMD} -e 's|^#!/bin/bash|#!/usr/bin/env bash|g' \ ${WRKSRC}/scripts/mono-find-provides.in \ @@ -57,4 +59,10 @@ post-configure: @${REINPLACE_CMD} -e 's|share\/man|man|g' \ ${WRKSRC}/mcs/jay/Makefile -.include +# Fix build on FreeBSD 9.3 (and maybe other unsupported releases) +.if ${OSVERSION} < 1000000 + @${REINPLACE_CMD} 's/^#define HAVE_LOCALCHARSET_H 1/#undef HAVE_LOCALCHARSET_H/' \ + ${WRKSRC}/eglib/config.h +.endif + +.include