Subject: Re: pkg/30920: audio/mpg321 is missing a dependency on audio/libao-oss
To: Rui-Xiang Guo <rxg@myrealbox.com>
From: Jeremy C. Reed <reed@reedmedia.net>
List: pkgsrc-bugs
Date: 08/18/2005 22:23:35
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/