Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 4567] New: optional_depends for a provider fails to add the 'no' OPTS.

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT metalab.unc.edu
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 4567] New: optional_depends for a provider fails to add the 'no' OPTS.
  • Date: Thu, 23 Oct 2003 18:39:56 -0400

http://bugs.sourcemage.org/show_bug.cgi?id=4567

Summary: optional_depends for a provider fails to add the 'no'
OPTS.
Product: Sorcery
Version: All Versions
Platform: Other
OS/Version: other
Status: NEW
Severity: major
Priority: P2
Component: subroutines
AssignedTo: sm-sorcery-bugs AT lists.ibiblio.org
ReportedBy: graphics AT sourcemage.org


Best shown by example:
---
gaim/DEPENDS:
depends gtk+2 &&
if [ "$GAIM_ENCRYPTION" = "y" ] ; then
depends "MOZILLA-NSS" "--enable-nss=yes" "" ""
else optional_depends "MOZILLA-NSS" "--enable-nss=yes" "--enable-nss=no" "for
network secure sockets, needed for MSN's new protool 9"
fi &&
optional_depends "gnutls" "--enable-gnutls=yes" "--enable-gnutls=no" "For MSN
protocol SSL support"

optional_depends "audiofile" "--enable-audio" "--disable-audio" \
"to play aiff, snd, wave, and au files"

---
The optional_depends "MOZILLA-NSS" "--enable-nss=yes" "--enable-nss=no" will
never add the --enable-nss=no.
---
the cast session:
Checking dependencies for gaim
gaim optionally needs some MOZILLA-NSS. (for network secure sockets, needed
for
MSN's new protool 9)
MOZILLA-NSS is already provided by nss
Do you want to use that? [y] n
(0) [none]
(1) nss
(2) Firebird

Which one do you want? [0] 0
---
When I pick '0' it behaves as described, if I pick '1', it does put the
--enable-nss=yes into the OPTS as expected.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



  • [SM-Sorcery-Bugs] [Bug 4567] New: optional_depends for a provider fails to add the 'no' OPTS., bugzilla-daemon, 10/23/2003

Archive powered by MHonArc 2.6.24.

Top of Page