svn commit: r386233 - head/lang/ocaml
John Marino
marino at FreeBSD.org
Wed May 13 17:38:34 UTC 2015
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=""
More information about the svn-ports-all
mailing list