Package: nsis
Version: 2.18-1
Severity: normal

 The man page documents the usage:  -Ddefine=value 
 but this doesn't seem to actually work

EG:

cat << EOF > example.nsis
!ifdef FRED
!error "too many freds"
!else
!error "makensis is broken"
!endif
EOF

makensis example.nsis -DFRED=100

expected "!error: too many freds"
actual   "!error: makensis is broken"

currently as a work-around I'm writing a file with each !define for each define 
I want and
!including it. :(

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.12
Locale: LANG=en_NZ, LC_CTYPE=en_NZ (charmap=ISO-8859-1)

Versions of packages nsis depends on:
ii  libc6                        2.3.6.ds1-4 GNU C Library: Shared libraries
ii  libgcc1                      1:4.1.1-11  GCC support library
ii  libstdc++6                   4.1.1-11    The GNU Standard C++ Library v3

nsis recommends no packages.

-- debconf-show failed


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

Reply via email to