Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Aug 2016 08:23:38 +0000 (UTC)
From:      =?UTF-8?Q?Romain_Tarti=c3=a8re?= <romain@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r420322 - head/lang/mono
Message-ID:  <201608170823.u7H8NcjA029692@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.pre.mk>
+
 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 <bsd.port.mk>
+# 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 <bsd.port.post.mk>



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