Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Nov 2014 22:06:06 +0000 (UTC)
From:      Gabor Pali <pgj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r372545 - head/lang/ghc
Message-ID:  <201411132206.sADM66of007336@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pgj
Date: Thu Nov 13 22:06:06 2014
New Revision: 372545
URL: https://svnweb.freebsd.org/changeset/ports/372545
QAT: https://qat.redports.org/buildarchive/r372545/

Log:
  - Remove empty "cabal" directory creation for the hs- ports.  Now these are
    automatically handled by the combination of the Cabal and the pkg(8)
    frameworks
  
  Issue raised by:	antoine
  Discussed with:	ashish
  Obtained from:	FreeBSD Haskell

Modified:
  head/lang/ghc/Makefile
  head/lang/ghc/pkg-plist

Modified: head/lang/ghc/Makefile
==============================================================================
--- head/lang/ghc/Makefile	Thu Nov 13 22:03:55 2014	(r372544)
+++ head/lang/ghc/Makefile	Thu Nov 13 22:06:06 2014	(r372545)
@@ -305,10 +305,6 @@ pre-configure:
 .endif
 
 post-install:
-	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/cabal/ghc-${GHC_VERSION}
-	@${MKDIR} ${STAGEDIR}${PREFIX}/share/cabal/ghc-${GHC_VERSION}
-	@${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/cabal/ghc-${GHC_VERSION}
-	@${MKDIR} ${STAGEDIR}${PREFIX}/share/examples/cabal/ghc-${GHC_VERSION}
 	@${RM} -f ${STAGEDIR}${PREFIX}/bin/haddock
 .if ${PORT_OPTIONS:MDOCS}
 	@${LN} -sf haddock-ghc-${GHC_VERSION} ${STAGEDIR}${PREFIX}/bin/haddock

Modified: head/lang/ghc/pkg-plist
==============================================================================
--- head/lang/ghc/pkg-plist	Thu Nov 13 22:03:55 2014	(r372544)
+++ head/lang/ghc/pkg-plist	Thu Nov 13 22:06:06 2014	(r372545)
@@ -14,7 +14,3 @@ bin/runghc-%%GHC_VERSION%%
 %%PORTDOCS%%man/man1/ghc.1.gz
 @exec /bin/ln -sf %D/bin/haddock-ghc-%%GHC_VERSION%% %D/bin/haddock || return true
 @unexec /bin/rm -f %D/bin/haddock || return true
-@exec /bin/mkdir -p %D/lib/cabal/ghc-%%GHC_VERSION%%             || return true
-@exec /bin/mkdir -p %D/share/cabal/ghc-%%GHC_VERSION%%           || return true
-@exec /bin/mkdir -p %D/share/doc/cabal/ghc-%%GHC_VERSION%%       || return true
-@exec /bin/mkdir -p %D/share/examples/cabal/ghc-%%GHC_VERSION%%  || return true



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