Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Mar 2016 23:43:37 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r411322 - in head/net/libmms: . files
Message-ID:  <201603172343.u2HNhbUY009534@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Thu Mar 17 23:43:37 2016
New Revision: 411322
URL: https://svnweb.freebsd.org/changeset/ports/411322

Log:
  libmms dropped the dependency on glib a long time ago, and forgot to
  remove it from there.
  
  If a port tries to use pkg-config to depend on it, and does not bring in
  glib, it'll end up failing with:
  
    % pkg-config --libs libmms
    Package glib-2.0 was not found in the pkg-config search path.
    Perhaps you should add the directory containing `glib-2.0.pc'
    to the PKG_CONFIG_PATH environment variable
    Package 'glib-2.0', required by 'libmms', not found
  
  This fixes a long standing issue with multimedia/mediainfo. (via
  multimedia/libmediainfo.)
  
  PR:		204847
  Sponsored by:	Absolight

Added:
  head/net/libmms/files/
  head/net/libmms/files/patch-pkgconfig_libmms.pc.in   (contents, props changed)
Modified:
  head/net/libmms/Makefile

Modified: head/net/libmms/Makefile
==============================================================================
--- head/net/libmms/Makefile	Thu Mar 17 23:04:25 2016	(r411321)
+++ head/net/libmms/Makefile	Thu Mar 17 23:43:37 2016	(r411322)
@@ -3,6 +3,7 @@
 
 PORTNAME=	libmms
 PORTVERSION=	0.6.4
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	SF
 

Added: head/net/libmms/files/patch-pkgconfig_libmms.pc.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/libmms/files/patch-pkgconfig_libmms.pc.in	Thu Mar 17 23:43:37 2016	(r411322)
@@ -0,0 +1,10 @@
+--- pkgconfig/libmms.pc.in.orig	2014-03-28 13:25:43 UTC
++++ pkgconfig/libmms.pc.in
+@@ -5,7 +5,6 @@ includedir=@includedir@/
+ 
+ Name: libmms
+ Description: Library implementing the MMS protocol 
+-Requires: glib-2.0
+ Version: @VERSION@
+ Libs: -L${libdir} -lmms -lm
+ Cflags: -I${includedir}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603172343.u2HNhbUY009534>