Bug 35617 - mail/faces: add USE_SOX, WITHOUT_AUDIO knobs
Summary: mail/faces: add USE_SOX, WITHOUT_AUDIO knobs
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: lkoeller
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-07 05:40 UTC by Alan E
Modified: 2003-01-19 16:20 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (5.79 KB, patch)
2002-03-07 05:40 UTC, Alan E
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alan E 2002-03-07 05:40:01 UTC
mail/faces wants either audio/nas or audio/rplay, which is a bit excessive
if it is installed as dependency to print/muttprint; installing a sound daemon
in order to uncompress an "X-face"? I'd rather not.

This patch adds two knobs: USE_SOX, which uses the "play" command from
audio/sox, so it doesn't start up daemons for network transparent sound, and
WITHOUT_AUDIO, which turns off audio support entirely.

The default behavior is still to use audio/rplay.

The files/patch-aa & files/patch-ab patches now turn audio support off,
and the post-patch target re-enables it if WITHOUT_AUDIO is not defined.

I also patched the main Makefile to use BSD_INSTALL_* macros since I had to
modify it anyway.

post-patch: editing is now done with Perl rather than sed, since it gets
the same result with fewer/simpler commands.

Fix: --8<----8<----8<----8<----8<----8<----8<----8<----8<----8<--
Comment 1 Pete Fritchman freebsd_committer freebsd_triage 2002-05-19 22:30:14 UTC
Responsible Changed
From-To: freebsd-ports->lkoeller

Over to maintainer
Comment 2 lkoeller freebsd_committer freebsd_triage 2003-01-19 16:20:06 UTC
State Changed
From-To: open->closed

o) Updateof faces port to 1.7.7 with a lot of switches for different audio systems 
during port build.