diff --git a/http2.cabal b/http2.cabal
index 7986d1c..fe57a48 100644
--- a/http2.cabal
+++ b/http2.cabal
@@ -180,7 +180,3 @@ Executable hpack-encode
     Buildable:          True
-  else
-    Buildable:          False
-  Main-Is:              hpack-encode.hs
-  Other-Modules:        HPACKEncode
-  Build-Depends:        base >= 4 && < 5
+    Build-Depends:      base >= 4 && < 5
                       , aeson
@@ -197,2 +193,6 @@ Executable hpack-encode
                       , word8
+  else
+    Buildable:          False
+  Main-Is:              hpack-encode.hs
+  Other-Modules:        HPACKEncode
 
@@ -226,6 +226,3 @@ Executable hpack-stat
     Buildable:          True
-  else
-    Buildable:          False
-  Main-Is:              hpack-stat.hs
-  Build-Depends:        base >= 4 && < 5
+    Build-Depends:      base >= 4 && < 5
                       , aeson
@@ -243,2 +240,5 @@ Executable hpack-stat
                       , word8
+  else
+    Buildable:          False
+  Main-Is:              hpack-stat.hs
 
@@ -250,8 +250,3 @@ Executable frame-encode
     Buildable:          True
-  else
-    Buildable:          False
-  Main-Is:              frame-encode.hs
-  Other-Modules:        Case
-                        JSON
-  Build-Depends:        base >= 4 && < 5
+    Build-Depends:      base >= 4 && < 5
                       , aeson
@@ -263,2 +258,7 @@ Executable frame-encode
                       , unordered-containers
+  else
+    Buildable:          False
+  Main-Is:              frame-encode.hs
+  Other-Modules:        Case
+                        JSON
 
