perlpanel (1:0.9.1+cvs20051225-2) 11_makefile_pwd_fixes.dpatch

Summary

 Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

    
download this patch

Patch contents

#! /bin/sh /usr/share/dpatch/dpatch-run
## 11_makefile_pwd_fixes.dpatch by Marc 'HE' Brockschmidt <he@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Use CURDIR instead of PWD.

@DPATCH@
diff -urNad PerlPanel-0.9.1+cvs20051225-1~/Makefile PerlPanel-0.9.1+cvs20051225-1/Makefile
--- PerlPanel-0.9.1+cvs20051225-1~/Makefile	2008-04-05 16:19:12.000000000 +0200
+++ PerlPanel-0.9.1+cvs20051225-1/Makefile	2008-04-05 16:19:27.000000000 +0200
@@ -48,7 +48,7 @@
 	perl -ne 's!\@PREFIX\@!$(PREFIX)!g ; s!\@LIBDIR\@!$(LIBDIR)!g ; print' < src/perlpanel-run-dialog > build/perlpanel-run-dialog
 	perl -ne 's!\@PREFIX\@!$(PREFIX)!g ; s!\@LIBDIR\@!$(LIBDIR)!g ; print' < src/perlpanel-applet-install > build/perlpanel-applet-install
 	perl -ne 's!\@VERSION\@!$(VERSION)!g ; print' < lib/PerlPanel.pm > build/PerlPanel.pm
-	perl -I$(PWD)/build -MPerlPanel -MXML::Simple -e 'print XMLout(\%PerlPanel::DEFAULTS)' > build/perlpanelrc
+	perl -I$(CURDIR)/build -MPerlPanel -MXML::Simple -e 'print XMLout(\%PerlPanel::DEFAULTS)' > build/perlpanelrc
 	pod2man doc/perlpanel.pod		| gzip -9c > build/perlpanel.1.gz
 	pod2man doc/perlpanel-applet-howto.pod	| gzip -9c > build/perlpanel-applet-howto.1.gz
 	pod2man doc/perlpanel-run-dialog.pod	| gzip -9c > build/perlpanel-run-dialog.1.gz