@@ -19,10 +19,20 @@ Synopsis: For creating, comparing, parsing and printing Universally Unique Ident
1919
2020Homepage: http://community.haskell.org/~aslatter/code/uuid/
2121
22+Flag Base3
23+ Default: False
24+ Description: Set when support for base package version 3 is required.
25+
2226Library
23− Build-Depends: base, random, binary, bytestring, Crypto, maccatcher,
27+ Build-Depends: random, binary, bytestring, Crypto, maccatcher,
2428 time
2529
30+ if flag(Base3)
31+ Build-Depends: base >= 3, base < 4
32+ CPP-Options: -DBASE_3_SUPPORT
33+ else
34+ Build-Depends: base >=4, base < 5
35+
2636 Exposed-Modules:
2737 Data.UUID
2838 Data.UUID.V1