ports/124423: multimedia/mplayer detection of OSS Audio is faulty

VVD vvd at quakeworld.ru
Fri Jul 4 17:30:05 UTC 2008


The following reply was made to PR ports/124423; it has been noted by GNATS.

From: "VVD" <vvd at quakeworld.ru>
To: <bug-followup at FreeBSD.org>,
	<pb at ludd.luth.se>
Cc:  
Subject: Re: ports/124423: multimedia/mplayer detection of OSS Audio is faulty
Date: Fri, 4 Jul 2008 20:23:38 +0400

 Same trouble exist while detecting X11 libs - it fail: check using
 -lsmbclient option which require -lssl and only with system openssl it pass
 check (don't work with openssl from ports).
 FreeBSD 7 STABLE i386, csup ~3 weeks ago.
 Samba and libsmbclient (3.0.28) compiled with LDAP and ADS, Mplayer 1.0rc2.
 
 I wrote a patch and put it in multimedia/mplayer/files/patch-zz:
 
 --- configure.orig	2008-06-16 15:42:00.000000000 +0400
 +++ configure	2008-06-16 15:54:50.000000000 +0400
 @@ -1298,7 +1298,7 @@
  fi
  
  if freebsd ; then
 -  _ld_extra="$_ld_extra -L/usr/local/lib"
 +  _ld_extra="-L/usr/lib $_ld_extra -L/usr/local/lib"
    _inc_extra="$_inc_extra -I/usr/local/include"
  fi
  
 @@ -3617,7 +3617,7 @@
  
  echocheck "Samba support (libsmbclient)"
  if test "$_smbsupport" = yes; then
 -  _ld_extra="$_ld_extra -lsmbclient"
 +  _ld_extra="$_ld_extra -lsmbclient -lssl"
  fi
  if test "$_smbsupport" = auto; then
      _smbsupport=no
 
 
 P.S. IMHO, need to remove all other '-lxxxx' for check support of the
 current feature.
 
 



More information about the freebsd-ports-bugs mailing list