From 15a3316accd23724fd52e624d9340cb60e54ed28 Mon Sep 17 00:00:00 2001 From: Jean-Yves Lefort Date: Mon, 27 Jun 2005 14:10:29 +0000 Subject: [PATCH] Conflicts with metaocaml. --- lang/ocaml-nox11/Makefile | 2 +- lang/ocaml/Makefile | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/lang/ocaml-nox11/Makefile b/lang/ocaml-nox11/Makefile index 1fd7640a8e10..d482f97bd1f0 100644 --- a/lang/ocaml-nox11/Makefile +++ b/lang/ocaml-nox11/Makefile @@ -13,7 +13,7 @@ COMMENT= Objective Caml compiler and programming environment (no X11) MASTERDIR= ${.CURDIR}/../ocaml -CONFLICTS= ocaml-[0-9]* ocaml-notk-[0-9]* +CONFLICTS= metaocaml-[0-9]* ocaml-[0-9]* ocaml-notk-[0-9]* WITHOUT_X11= yes diff --git a/lang/ocaml/Makefile b/lang/ocaml/Makefile index 599232c17b18..47f443fdb35a 100644 --- a/lang/ocaml/Makefile +++ b/lang/ocaml/Makefile @@ -17,21 +17,23 @@ PKGNAMESUFFIX= ${SFX} MAINTAINER?= marwan.burelle@lri.fr COMMENT?= The Objective Caml compiler and programming environment +CONFLICTS= metaocaml-[0-9]* + .if defined(WITHOUT_X11) PLIST_SUB+= X11="@comment " TK="@comment " WITHOUT_TK= yes SFX= -nox11 -CONFLICTS= ocaml-[0-9]* ocaml-notk-[0-9]* +CONFLICTS+= ocaml-[0-9]* ocaml-notk-[0-9]* .else PLIST_SUB+= X11="" USE_XLIB= yes .if defined(WITHOUT_TK) PLIST_SUB+= TK="@comment " SFX= -notk -CONFLICTS= ocaml-[0-9]* ocaml-nox11-[0-9]* +CONFLICTS+= ocaml-[0-9]* ocaml-nox11-[0-9]* .else PLIST_SUB+= TK="" -CONFLICTS= ocaml-nox11-[0-9]* ocaml-notk-[0-9]* +CONFLICTS+= ocaml-nox11-[0-9]* ocaml-notk-[0-9]* BUILD_DEPENDS+= ${LOCALBASE}/include/tcl8.4:${PORTSDIR}/lang/tcl84 \ ${LOCALBASE}/include/tk8.4:${PORTSDIR}/x11-toolkits/tk84