diff --git a/HsOpenSSL.cabal b/HsOpenSSL.cabal
--- a/HsOpenSSL.cabal
+++ b/HsOpenSSL.cabal
@@ -5,7 +5,7 @@
         generate RSA and DSA keys, read and write PEM files, generate
         message digests, sign and verify messages, encrypt and decrypt
         messages.
-Version: 0.5.1
+Version: 0.5.2
 License: PublicDomain
 License-File: COPYING
 Author: Adam Langley <agl at imperialviolet.org>, PHO <pho at cielonegro.org>
@@ -14,7 +14,7 @@
 Homepage: http://cielonegro.org/HsOpenSSL.html
 Category: Cryptography
 Tested-With: GHC == 6.10.1
-Cabal-Version: >= 1.2.3
+Cabal-Version: >= 1.6
 Build-Type: Configure
 
 Extra-Source-Files:
@@ -33,14 +33,12 @@
     tests/DSA.hs
     tests/Makefile
 
-flag splitBase
-  description: Choose the new smaller, split-up base package.
+Source-Repository head
+    Type: darcs
+    Location: http://darcs.cielonegro.org/HsOpenSSL/
 
 Library
-  if flag(splitBase)
-    build-depends: base >= 3, bytestring, ghc-prim, integer, time >= 1.1.1, old-locale, network>=2.1.0.0
-  else
-    build-depends: base < 3, time >= 1.1.1
+  Build-Depends: base >= 4, bytestring, ghc-prim, integer, time >= 1.1.1, old-locale, network>=2.1.0.0
 
   --PkgConfig-Depends: openssl >= 0.9.7l
   -- We really should use this instead of the configure script but
diff --git a/NEWS b/NEWS
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,10 @@
 -*- Coding: utf-8 -*-
 
+Changes from 0.5.1 to 0.5.2
+---------------------------
+* Fixed incorrect dependency declaration in HsOpenSSL.cabal. No
+  semantical changes to the code.
+
 Changes from 0.5 to 0.5.1
 -------------------------
 * Fixed breakage on 64-bit architectures.
diff --git a/Setup.hs b/Setup.hs
--- a/Setup.hs
+++ b/Setup.hs
@@ -1,4 +1,4 @@
 #!/usr/bin/env runghc
 
 import Distribution.Simple
-main = defaultMainWithHooks defaultUserHooks
+main = defaultMainWithHooks autoconfUserHooks
