Bug 35617

Summary: mail/faces: add USE_SOX, WITHOUT_AUDIO knobs
Product: Ports & Packages Reporter: Alan E <ports>
Component: Individual Port(s)Assignee: lkoeller <lkoeller>
Status: Closed FIXED    
Severity: Affects Only Me CC: Lars.Koeller
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

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.