Commit 8c864187 authored by John Ericson's avatar John Ericson
Browse files

Oops! Forget to delete old PkgconfigDependency during refactor

parent 675d4f16
......@@ -52,7 +52,7 @@ import Distribution.Compat.Prelude
import Distribution.Utils.ShortText
import Distribution.Version
( Version, VersionRange, nullVersion )
( Version, nullVersion )
import qualified Distribution.Compat.ReadP as Parse
import qualified Text.PrettyPrint as Disp
......@@ -306,22 +306,6 @@ newSimpleUnitId (ComponentId s) = UnitId s
mkLegacyUnitId :: PackageId -> UnitId
mkLegacyUnitId = newSimpleUnitId . mkComponentId . display
-- ------------------------------------------------------------
-- * Package source dependencies
-- ------------------------------------------------------------
-- | Describes a dependency on a pkg-config library
--
-- @since 2.0
data PkgconfigDependency = PkgconfigDependency
PkgconfigName
VersionRange
deriving (Generic, Read, Show, Eq, Typeable, Data)
instance Binary PkgconfigDependency
instance NFData PkgconfigDependency where rnf = genericRnf
-- | Class of things that have a 'PackageIdentifier'
--
-- Types in this class are all notions of a package. This allows us to have
......
......@@ -16,11 +16,7 @@ import Distribution.Package
import Text.PrettyPrint ((<+>))
-- | Describes a legacy `build-tools`-style dependency on an executable
--
-- It is "legacy" because we do not know what the build-tool referred to. It
-- could refer to a pkg-config executable (PkgconfigName), or an internal
-- executable (UnqualComponentName). Thus the name is stringly typed.
-- | Describes a dependency on a pkg-config library
--
-- @since 2.0
data PkgconfigDependency = PkgconfigDependency
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment