Hi,

I'd like all ports on which meta/haskell-platform depends to be
ignored by portroach. Trivial for 46 libraries and tools, but for
lang/ghc, I'd like to add it to ghc.port.mk (wrapped in a conditional,
so it's not automatically set for *every* hs port), so it's just
in the same file containing ghc's version number.

Any objections about the diff below?

Ciao,
        Kili

Index: lang/ghc/ghc.port.mk
===================================================================
RCS file: /cvs/ports/lang/ghc/ghc.port.mk,v
retrieving revision 1.38
diff -u -p -r1.38 ghc.port.mk
--- lang/ghc/ghc.port.mk        20 Jan 2016 16:08:29 -0000      1.38
+++ lang/ghc/ghc.port.mk        29 Jan 2016 14:24:33 -0000
@@ -6,6 +6,10 @@ ONLY_FOR_ARCHS =       i386 amd64
 
 # Dependency of meta/haskell-platform.
 # Please do *not* update without thinking.
+.if ${PKGPATH} == "lang/ghc"
+PORTROACH =            ignore:1
+.endif
+
 MODGHC_VER =           7.10.3
 SUBST_VARS +=          MODGHC_VER
 

Reply via email to