Package: libpaper
Severity: serious
Tags: patch

The enviroment variable PWD is not set when building under sudo, as the
alpha, mips and mipsel buildds do. Use $(CURDIR) instead, which is
guaranteed to be set by make. Patch enclosed. 

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-powerpc
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
diff -ruN libpaper-1.1.16/debian/rules libpaper-1.1.16.new/debian/rules
--- libpaper-1.1.16/debian/rules        2006-04-04 08:21:31.000000000 -0400
+++ libpaper-1.1.16.new/debian/rules    2006-05-16 18:46:48.000000000 -0400
@@ -8,7 +8,7 @@
 export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
 package        := $(firstword $(shell dh_listpackages))
-prefix := $(PWD)/debian/tmp
+prefix := $(CURDIR)/debian/tmp
 share  := /usr/share
 
 config_flags   := --prefix=/usr \

Reply via email to