+Mon Sep 15 18:48:39 CDT 2003 Adam Heath <doogie@debian.org>
+
+ * scripts/dpkg-buildpackage.sh: Call debian/rules -qn build-arch, and if
+ it's available, modify -B handling appropriately. If build-arch is not
+ available, then when -B was called, do *not* pass -B on to
+ dpkg-checkbuilddeps.
+
Sun Sep 14 21:45:44 CDT 2003 Adam Heath <doogie@debian.org>
* configure.in: Fix broken os_type detection on linux.
* Branden Robinson <branden@debian.org>:
Report the original casing of field names when they are unknown.
Closes: #177753
+ * Patch dpkg-buildpackage to call debian/rules -qn build-arch, and if
+ it's available, modify -B handling appropriately. If build-arch is not
+ available, then when -B was called, do *not* pass -B on to
+ dpkg-checkbuilddeps. Closes: #203097
* Frank Lichtenheld <frank@lichtenheld.de>:
Apply patch, to handle missing infodir.bak, and empty files. Closes:
#196361
set -e
-version="1.3.0"; # This line modified by Makefile
+version="1.10.10"; # This line modified by Makefile
progname="`basename \"$0\"`"
usageversion () {
cleansource=false
checkbuilddep=true
checkbuilddep_args=''
+buildtarget=build
binarytarget=binary
sourcestyle=''
version=''
usepause=false
warnable_error=0
passopts=''
+debian/rules -qn build-arch 2>/dev/null && buildarchavailable=true || buildarchavailable=false
while [ $# != 0 ]
do
-nc) noclean=true; if [ -z "$binaryonly" ]; then binaryonly=-b; fi ;;
-b) binaryonly=-b; [ "$sourceonly" ] && \
{ echo >&2 "$progname: cannot combine $1 and -S" ; exit 2 ; } ;;
- -B) binaryonly=-B; checkbuilddep_args=-B; binarytarget=binary-arch; [ "$sourceonly" ] && \
+ -B) binaryonly=-B; binarytarget=binary-arch; if $buildarchavailable; then checkbuilddep_args=-B; fi; [ "$sourceonly" ] && \
{ echo >&2 "$progname: cannot combine $1 and -S" ; exit 2 ; } ;;
-S) sourceonly=-S; checkbuilddep=false; [ "$binaryonly" ] && \
{ echo >&2 "$progname: cannot combine $binaryonly and $1" ; exit 2 ; } ;;
cd ..; withecho dpkg-source $passopts $diffignore $tarignore -b "$dirn"; cd "$dirn"
fi
if [ x$sourceonly = x ]; then
- withecho debian/rules build
+ withecho debian/rules $buildtarget
withecho $rootcommand debian/rules $binarytarget
fi
if [ "$usepause" = "true" ] && \