[DHG_packages] 01/06: uuagc: Implement a stage1 profile build for bootstrapping.
Colin Watson
cjwatson at moszumanska.debian.org
Tue Dec 22 02:42:04 UTC 2015
This is an automated email from the git hooks/post-receive script.
cjwatson pushed a commit to branch master
in repository DHG_packages.
commit e099cdfbe4e63c739e17f44b6b3c13785e562b7f
Author: Colin Watson <cjwatson at debian.org>
Date: Tue Dec 22 01:37:32 2015 +0000
uuagc: Implement a stage1 profile build for bootstrapping.
---
p/uuagc/debian/changelog | 6 ++++++
p/uuagc/debian/control | 5 +++--
p/uuagc/debian/rules | 8 +++++++-
3 files changed, 16 insertions(+), 3 deletions(-)
diff --git a/p/uuagc/debian/changelog b/p/uuagc/debian/changelog
index 1d92527..9933419 100644
--- a/p/uuagc/debian/changelog
+++ b/p/uuagc/debian/changelog
@@ -1,3 +1,9 @@
+uuagc (0.9.42.3-8) UNRELEASED; urgency=medium
+
+ * Implement a stage1 profile build for bootstrapping.
+
+ -- Colin Watson <cjwatson at debian.org> Tue, 22 Dec 2015 01:19:17 +0000
+
uuagc (0.9.42.3-7) unstable; urgency=medium
* Switch Vcs-Git/Vcs-Browser headers to new location.
diff --git a/p/uuagc/debian/control b/p/uuagc/debian/control
index 03b52c4..9ff1373 100644
--- a/p/uuagc/debian/control
+++ b/p/uuagc/debian/control
@@ -3,11 +3,12 @@ Maintainer: Debian Haskell Group <pkg-haskell-maintainers at lists.alioth.debian.or
Uploaders: Joachim Breitner <nomeata at debian.org>
Priority: optional
Section: devel
-Build-Depends: debhelper (>= 9),
+Build-Depends: debhelper (>= 9.20141010),
+ dpkg-dev (>= 1.17.14),
haskell-devscripts (>= 0.10),
cdbs,
ghc,
- uuagc (<< 0.9.42.1-1) | uuagc (>> 0.9.42.2-2),
+ uuagc (<< 0.9.42.1-1) <!stage1> | uuagc (>> 0.9.42.2-2) <!stage1>,
libghc-uuagc-cabal-dev (>= 1.0.4.0-2),
libghc-mtl-dev (>= 1.1.1.1),
libghc-src-exts-dev (>= 1.11.1),
diff --git a/p/uuagc/debian/rules b/p/uuagc/debian/rules
index 0d4839c..1d589cf 100755
--- a/p/uuagc/debian/rules
+++ b/p/uuagc/debian/rules
@@ -6,8 +6,14 @@ include /usr/share/cdbs/1/class/hlibrary.mk
# UUAGC has a strange way of setting the flag: It has to be set via a cpp
# defines when compiling Setup
+ifeq (,$(filter stage1,$(DEB_BUILD_PROFILES)))
+EXTERNAL_UUAGC := -DEXTERNAL_UUAGC
+else
+EXTERNAL_UUAGC :=
+endif
+
$(DEB_SETUP_BIN_NAME):
if test ! -e Setup.lhs -a ! -e Setup.hs; then echo "No setup script found!"; exit 1; fi
- for setup in Setup.lhs Setup.hs; do if test -e $$setup; then ghc -DEXTERNAL_UUAGC --make $$setup -o $(DEB_SETUP_BIN_NAME); exit 0; fi; done
+ for setup in Setup.lhs Setup.hs; do if test -e $$setup; then ghc $(EXTERNAL_UUAGC) --make $$setup -o $(DEB_SETUP_BIN_NAME); exit 0; fi; done
build/uuagc:: build-ghc-stamp
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/DHG_packages.git
More information about the Pkg-haskell-commits
mailing list