Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 May 2015 17:38:34 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r386233 - head/lang/ocaml
Message-ID:  <201505131738.t4DHcYP2007799@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Wed May 13 17:38:33 2015
New Revision: 386233
URL: https://svnweb.freebsd.org/changeset/ports/386233

Log:
  lang/ocaml: Tweak PROFILE handling to support DragonFly
  
  This changes a conditional statement to an equivalent variation.  An
  internal transformation of DPorts was getting confused by this construct.
  
  Discussed with:	Michael Gruenewald (maintainer)

Modified:
  head/lang/ocaml/Makefile

Modified: head/lang/ocaml/Makefile
==============================================================================
--- head/lang/ocaml/Makefile	Wed May 13 17:36:54 2015	(r386232)
+++ head/lang/ocaml/Makefile	Wed May 13 17:38:33 2015	(r386233)
@@ -94,7 +94,7 @@ CONFIGURE_ARGS+=-no-graph
 
 OCAML_ARCH= ${ARCH:S/x86_64/amd64/:S/powerpc/power/:S/armv6/arm/}
 
-.if defined(NO_PROFILE) || ${OCAML_ARCH} == power || ${OCAML_ARCH} == amd64
+.if defined(NO_PROFILE) || ${OCAML_ARCH:Mpower} || ${OCAML_ARCH:Mamd64}
 PLIST_SUB+=	PROF="@comment "
 .else
 PLIST_SUB+=	PROF=""



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