diff --git a/cabal-debian.cabal b/cabal-debian.cabal
--- a/cabal-debian.cabal
+++ b/cabal-debian.cabal
@@ -1,5 +1,5 @@
 Name:           cabal-debian
-Version:        4.32.2
+Version:        4.32.3
 Copyright:      Copyright (c) 2007-2014, David Fox, Jeremy Shaw
 License:        BSD3
 License-File:   LICENSE
diff --git a/src/Debian/Debianize/Goodies.hs b/src/Debian/Debianize/Goodies.hs
--- a/src/Debian/Debianize/Goodies.hs
+++ b/src/Debian/Debianize/Goodies.hs
@@ -157,12 +157,12 @@
 oldClckwrksSiteFlags x =
     [ -- According to the happstack-server documentation this needs a trailing slash.
       "--base-uri", "http://" ++ D.domain x ++ "/"
-    , "--http-port", show D.port]
+    , "--http-port", show (D.port (D.server x))]
 oldClckwrksServerFlags :: D.Server -> [String]
 oldClckwrksServerFlags x =
     [ -- According to the happstack-server documentation this needs a trailing slash.
       "--base-uri", "http://" ++ D.hostname x ++ ":" ++ show (D.port x) ++ "/"
-    , "--http-port", show D.port]
+    , "--http-port", show (D.port x)]
 
 watchAtom :: PackageName -> Text
 watchAtom (PackageName pkgname) =
