diff --git a/GLUT.cabal b/GLUT.cabal
--- a/GLUT.cabal
+++ b/GLUT.cabal
@@ -1,5 +1,5 @@
 name:		GLUT
-version:	2.1.2.1
+version:	2.1.2.2
 license:	BSD3
 license-file:	LICENSE
 maintainer:	Sven Panne <sven.panne@aedion.de>
@@ -153,8 +153,9 @@
   install-includes: HsGLUT.h
   c-sources:	cbits/HsGLUT.c
   if flag(split-base)
-    build-depends:	base >= 3, array, containers
+    build-depends:	base >= 3 && <5, array, containers
   else
     build-depends:	base < 3
   build-depends: OpenGL >= 2.2
   extensions:	CPP, ForeignFunctionInterface
+  extra-libraries: glut
