Bug#312121: [Pbuilder-maint] Bug#312121: pbuilder: The attached patch should handle all cases

Junichi Uekawa dancer at netfort.gr.jp
Thu Oct 20 01:07:16 UTC 2005


Hi,

thanks.
I noticed that it adds a dependency to perl.
But that shoulnd't be too much of a problem, I s'pose.



regards,
	junichi

> --- pdebuild.orig	2005-10-08 10:25:12.000000000 +0200
> +++ pdebuild	2005-10-11 19:08:50.000000000 +0200
> @@ -42,7 +42,7 @@
>      if ! dpkg-checkbuilddeps -B ; then
>  	echo "W: Unmet build-dependency in source"
>      fi
> -    echo "dpkg-buildpackage -S -us -uc -r${BUILDSOURCEROOTCMD} $DEBBUILDOPTS" | /bin/bash
> +    echo "dpkg-buildpackage -S -us -uc -r${BUILDSOURCEROOTCMD} $DEBBUILDOPTS" | perl -pe 's/(^|\s)-P(\s|$)/$1$2/g' | /bin/bash
>      ${PBUILDERROOTCMD} pbuilder build "$@" ${EXTRA_CONFIGFILE[@]/#/--configfile } --buildresult "${BUILDRESULT}"  --debbuildopts "${DEBBUILDOPTS}" ../"${PKG_SOURCENAME}_${PKG_VERSION}".dsc
>  fi
>  




More information about the Pbuilder-maint mailing list