summaryrefslogtreecommitdiff
path: root/net/libmms
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-03-17 23:43:37 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-03-17 23:43:37 +0000
commitbbe5fdf19343f99d81220824a0a403605f340e9f (patch)
treed0104ee6d2188ea74587aed00eee380e750d5c77 /net/libmms
parentDepend on a file that actually is in the package, so that the dependency (diff)
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
Notes
Notes: svn path=/head/; revision=411322
Diffstat (limited to 'net/libmms')
-rw-r--r--net/libmms/Makefile1
-rw-r--r--net/libmms/files/patch-pkgconfig_libmms.pc.in10
2 files changed, 11 insertions, 0 deletions
diff --git a/net/libmms/Makefile b/net/libmms/Makefile
index 5e1a196c5ede..3ee1db9b2cb1 100644
--- a/net/libmms/Makefile
+++ b/net/libmms/Makefile
@@ -3,6 +3,7 @@
PORTNAME= libmms
PORTVERSION= 0.6.4
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= SF
diff --git a/net/libmms/files/patch-pkgconfig_libmms.pc.in b/net/libmms/files/patch-pkgconfig_libmms.pc.in
new file mode 100644
index 000000000000..644ae6ef651c
--- /dev/null
+++ b/net/libmms/files/patch-pkgconfig_libmms.pc.in
@@ -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}