Package: mypasswordsafe
Version: 0.0.20041004-1
Severity: serious
Tags: patch

When building 'mypasswordsafe' in a clean environment which does not 
have the USER environment variable set, I get the following error:

# Add here commands to compile the package.
/usr/bin/make PREFIX=/usr
make[1]: Entering directory `/srv/dbuild/tmp/mypasswordsafe-0.0.20041004'
Makefile:45: *** Recursive variable `USER' references itself (eventually).  
Stop.
make[1]: Leaving directory `/srv/dbuild/tmp/mypasswordsafe-0.0.20041004'
make: *** [build-stamp] Error 2

The attached patch fixes this problem.

Generally, is it really necessary to write the user and hostname 
from the build environment into the binary package?

Regards
Andreas Jochens

diff -urN ../tmp-orig/mypasswordsafe-0.0.20041004/Makefile ./Makefile
--- ../tmp-orig/mypasswordsafe-0.0.20041004/Makefile    2004-10-02 
05:40:30.000000000 +0200
+++ ./Makefile  2005-05-02 14:05:51.175625102 +0200
@@ -12,8 +12,7 @@
 DATE=$(shell date +%Y%m%d)
 VERSION=0.6.5
 ifndef USER
-       # get the user's name from the environment
-       USER=$(USER)
+       USER=$(shell whoami)
 endif
 ifndef HOST
        HOST=$(shell hostname).$(shell domainname)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to