Subject: Re: pkg/30920: audio/mpg321 is missing a dependency on audio/libao-oss
To: None <jmmv@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: pkgsrc-bugs
Date: 08/19/2005 05:24:01
The following reply was made to PR pkg/30920; it has been noted by GNATS.

From: "Jeremy C. Reed" <reed@reedmedia.net>
To: Rui-Xiang Guo <rxg@myrealbox.com>
Cc: gnats-bugs@netbsd.org, rxg@netbsd.org, gnats-admin@netbsd.org,
	pkgsrc-bugs@netbsd.org, wiz@netbsd.org
Subject: Re: pkg/30920: audio/mpg321 is missing a dependency on audio/libao-oss
Date: Thu, 18 Aug 2005 22:23:35 -0700 (PDT)

 I didn't test and maybe I don't understand :) but should this be like:
 
 ....
 
    .if ${OPSYS} == "FreeBSD" || ${OPSYS} == "Linux"
    PKG_SUGGESTED_OPTIONS+= libao-oss
 - CONFIGURE_ARGS+=        --with-default-audio=oss
    .endif
 ...
    .if !empty(PKG_OPTIONS:Mlibao-oss)
    DEPENDS+=               libao-oss>=0.8.6:../../audio/libao-oss
 + CONFIGURE_ARGS+=        --with-default-audio=oss
    .endif
 
   Jeremy C. Reed
 
   	  	 	 BSD News, BSD tutorials, BSD links
  	  	 	 http://www.bsdnewsletter.com/