diff -Nru doxygen-1.8.6/debian/changelog doxygen-1.8.6/debian/changelog
--- doxygen-1.8.6/debian/changelog	2014-01-24 18:32:02.000000000 +0000
+++ doxygen-1.8.6/debian/changelog	2014-04-07 18:47:13.000000000 +0100
@@ -1,3 +1,10 @@
+doxygen (1.8.6-2.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Add stage1 build-profile to drop libqt4-dev (Closes: 738263) 
+
+ -- wookey <wookey@wookware.org>  Mon, 07 Apr 2014 18:45:19 +0100
+
 doxygen (1.8.6-2) unstable; urgency=medium
 
   * Fix autopkgtest.
diff -Nru doxygen-1.8.6/debian/control doxygen-1.8.6/debian/control
--- doxygen-1.8.6/debian/control	2014-01-24 17:53:39.000000000 +0000
+++ doxygen-1.8.6/debian/control	2014-04-07 18:49:51.000000000 +0100
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Matthias Klose <doko@debian.org>
 Uploaders: Helmut Grohne <helmut@subdivi.de>
-Build-Depends: debhelper (>= 5), libqt4-dev, flex, bison (>= 1.875a), python, libsqlite3-dev, tmake
+Build-Depends: dpkg (>= 1.17.2), debhelper (>= 9.20140227), libqt4-dev <!profile.stage1>, flex, bison (>= 1.875a), python, libsqlite3-dev, tmake
 Build-Depends-Indep: texlive-fonts-recommended, texlive-generic-recommended, texlive-latex-extra, texlive-latex-recommended, texlive-extra-utils, texlive-font-utils, ghostscript, graphviz, latex-xcolor, rdfind
 Standards-Version: 3.9.5
 Homepage: http://www.stack.nl/~dimitri/doxygen/
@@ -61,6 +61,7 @@
 Depends: doxygen, ${shlibs:Depends}, ${misc:Depends}
 Suggests: doxygen-doc
 Replaces: doxygen (<< 1.2.14)
+Build-Profiles: !stage1
 Description: GUI configuration tool for doxygen
  Doxygen is a documentation system for C, C++, Java, Objective-C, Python, IDL
  and to some extent PHP, C#, and D.  It can generate an on-line class browser
diff -Nru doxygen-1.8.6/debian/rules doxygen-1.8.6/debian/rules
--- doxygen-1.8.6/debian/rules	2014-01-24 17:53:39.000000000 +0000
+++ doxygen-1.8.6/debian/rules	2014-04-07 17:46:53.000000000 +0100
@@ -11,8 +11,12 @@
 export CXXFLAGS
 export LDFLAGS
 DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
-with_doxywizard := yes
-
+ifeq (,$(findstring stage1,$(DEB_BUILD_PROFILES)))
+  with_doxywizard := yes
+else
+  with_doxywizard := no
+endif
+ 
 ifeq ($(with_doxywizard),yes)
   CONFIGUREFLAGS+=--with-doxywizard
 endif
