aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-10-21 23:21:13 +0800
committermat <mat@FreeBSD.org>2016-10-21 23:21:13 +0800
commit60e51bda11dcc0742419f2a459990d0d81cb07d8 (patch)
treea5029ff30555b3a7ee0621f4dd5aacb832fde1d8 /multimedia
parent3432585b4743642027fc2b3af5eac2780fc2c4cd (diff)
downloadfreebsd-ports-gnome-60e51bda11dcc0742419f2a459990d0d81cb07d8.tar.gz
freebsd-ports-gnome-60e51bda11dcc0742419f2a459990d0d81cb07d8.tar.zst
freebsd-ports-gnome-60e51bda11dcc0742419f2a459990d0d81cb07d8.zip
Use USES=pathfix where applicable.
PR: 213195 Submitted by: mat Exp-run by: antoine Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D8093
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/gstreamer-qt4/Makefile6
-rw-r--r--multimedia/gstreamer1-vaapi/Makefile5
-rw-r--r--multimedia/kvazaar/Makefile1
-rw-r--r--multimedia/libass/Makefile1
-rw-r--r--multimedia/libde265/Makefile2
-rw-r--r--multimedia/libkate/Makefile6
-rw-r--r--multimedia/libtheora/Makefile2
-rw-r--r--multimedia/libtheora/files/patch-Makefile.in9
-rw-r--r--multimedia/mlt/Makefile3
-rw-r--r--multimedia/vapoursynth/Makefile1
10 files changed, 4 insertions, 32 deletions
diff --git a/multimedia/gstreamer-qt4/Makefile b/multimedia/gstreamer-qt4/Makefile
index 0334472d7b38..9476f5bd20fd 100644
--- a/multimedia/gstreamer-qt4/Makefile
+++ b/multimedia/gstreamer-qt4/Makefile
@@ -17,7 +17,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libboost_thread.so:devel/boost-libs
-USES= bison cmake gmake kde:4 pkgconfig tar:bzip2
+USES= bison cmake gmake kde:4 pathfix pkgconfig tar:bzip2
USE_LDCONFIG= yes
USE_GSTREAMER= yes
USE_GNOME= glib20
@@ -32,8 +32,4 @@ GST_VERSION= ${PORTVERSION:C/..$//}
CMAKE_ARGS+= -DCMAKE_INCLUDE_PATH:STRING="${LOCALBASE}/include"
LDFLAGS+= -L${LOCALBASE}/lib
-post-extract:
- @${REINPLACE_CMD} -e 's|$${CMAKE_INSTALL_LIBDIR}/pkgconfig|$${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig|' \
- ${WRKSRC}/CMakeLists.txt
-
.include <bsd.port.mk>
diff --git a/multimedia/gstreamer1-vaapi/Makefile b/multimedia/gstreamer1-vaapi/Makefile
index dc916e37978b..139b07091f45 100644
--- a/multimedia/gstreamer1-vaapi/Makefile
+++ b/multimedia/gstreamer1-vaapi/Makefile
@@ -26,9 +26,4 @@ USE_XORG= x11 xrandr xrender xproto:build
# drm backend needs libudev so disable it for now.
CONFIGURE_ARGS+=--disable-drm
-# manual since pathfix doesn't work.
-post-patch:
- @${REINPLACE_CMD} -e 's|[{]libdir[}]/pkgconfig|{prefix}/libdata/pkgconfig|g' \
- ${WRKSRC}/configure
-
.include <bsd.port.mk>
diff --git a/multimedia/kvazaar/Makefile b/multimedia/kvazaar/Makefile
index aa46a7ead335..6d5f99ffc286 100644
--- a/multimedia/kvazaar/Makefile
+++ b/multimedia/kvazaar/Makefile
@@ -20,7 +20,6 @@ GH_SUBDIR= greatest:greatest
CONFLICTS_INSTALL?= ${PORTNAME}-devel
USES= autoreconf compiler:c11 libtool pathfix
-PATHFIX_MAKEFILEIN= Makefile.am
GNU_CONFIGURE= yes
TEST_TARGET= check
INSTALL_TARGET= install-strip
diff --git a/multimedia/libass/Makefile b/multimedia/libass/Makefile
index 2c8f10c0af44..a58e755439e4 100644
--- a/multimedia/libass/Makefile
+++ b/multimedia/libass/Makefile
@@ -19,7 +19,6 @@ USE_GITHUB= yes
USES= autoreconf iconv libtool pathfix pkgconfig
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-PATHFIX_MAKEFILEIN=Makefile.am
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= HARFBUZZ
diff --git a/multimedia/libde265/Makefile b/multimedia/libde265/Makefile
index e819b285dcb3..07d5cce9126f 100644
--- a/multimedia/libde265/Makefile
+++ b/multimedia/libde265/Makefile
@@ -16,6 +16,4 @@ USES= autoreconf compiler:c++11-lib libtool pathfix pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-sherlock265 --disable-dec265
-PATHFIX_MAKEFILEIN= Makefile.am
-
.include <bsd.port.mk>
diff --git a/multimedia/libkate/Makefile b/multimedia/libkate/Makefile
index 1754c18527fc..c5c7c148048c 100644
--- a/multimedia/libkate/Makefile
+++ b/multimedia/libkate/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS= libogg.so:audio/libogg \
libpng.so:graphics/png
GNU_CONFIGURE= yes
-USES= pkgconfig gmake libtool
+USES= pathfix pkgconfig gmake libtool
USE_LDCONFIG= yes
CFLAGS+= "-I${LOCALBASE}/include"
@@ -51,10 +51,6 @@ PLIST_SUB+= KATEDJ="@comment "
.endif
post-patch:
- @${REINPLACE_CMD} -E -e \
- "s|^(katepcdir =).*|\1 ${PREFIX}/libdata/pkgconfig|" \
- ${WRKSRC}/Makefile.in
-
.if ! ${PORT_OPTIONS:MKATEDJ}
@${REINPLACE_CMD} -e \
"s| HAVE_PYTHON_TRUE=$$| HAVE_PYTHON_TRUE='#'|; \
diff --git a/multimedia/libtheora/Makefile b/multimedia/libtheora/Makefile
index de52ae978a47..2f8ebf2517e7 100644
--- a/multimedia/libtheora/Makefile
+++ b/multimedia/libtheora/Makefile
@@ -19,7 +19,7 @@ CONFIGURE_ARGS= --disable-sdltest \
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
-USES= libtool tar:bzip2
+USES= libtool pathfix tar:bzip2
USE_LDCONFIG= yes
.include <bsd.port.options.mk>
diff --git a/multimedia/libtheora/files/patch-Makefile.in b/multimedia/libtheora/files/patch-Makefile.in
index 9d72772f09de..cff2df8d6c68 100644
--- a/multimedia/libtheora/files/patch-Makefile.in
+++ b/multimedia/libtheora/files/patch-Makefile.in
@@ -1,14 +1,5 @@
--- Makefile.in.orig 2009-10-01 18:04:07.000000000 +0000
+++ Makefile.in 2009-12-21 01:17:02.000000000 +0000
-@@ -177,7 +177,7 @@
- theora-uninstalled.pc.in
-
-
--pkgconfigdir = $(libdir)/pkgconfig
-+pkgconfigdir = $(prefix)/libdata/pkgconfig
- pkgconfig_DATA = theora.pc theoradec.pc theoraenc.pc
- subdir = .
- ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
@@ -200,7 +200,7 @@
missing mkinstalldirs theora-uninstalled.pc.in theora.pc.in \
theoradec-uninstalled.pc.in theoradec.pc.in \
diff --git a/multimedia/mlt/Makefile b/multimedia/mlt/Makefile
index b311d4794f6b..36498dc103d9 100644
--- a/multimedia/mlt/Makefile
+++ b/multimedia/mlt/Makefile
@@ -23,6 +23,7 @@ USE_GNOME= libxml2
USE_SDL= image
USE_XORG= x11
USES= alias gmake iconv pathfix pkgconfig
+PATHFIX_MAKEFILEIN= Makefile
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-gpl --enable-gpl3 --target-os=FreeBSD
USE_LDCONFIG= yes
@@ -120,8 +121,6 @@ pre-configure:
${WRKSRC}/src/framework/Makefile \
${WRKSRC}/src/melt/Makefile \
${WRKSRC}/src/modules/*/Makefile
- @${REINPLACE_CMD} -e 's,$$(libdir)/pkgconfig,${PREFIX}/libdata/pkgconfig,' \
- ${WRKSRC}/Makefile
post-install:
${INSTALL_MAN} ${WRKSRC}/docs/melt.1 ${STAGEDIR}${MANPREFIX}/man/man1/melt.1
diff --git a/multimedia/vapoursynth/Makefile b/multimedia/vapoursynth/Makefile
index e3de58c1d75d..b199b87a0ba3 100644
--- a/multimedia/vapoursynth/Makefile
+++ b/multimedia/vapoursynth/Makefile
@@ -12,7 +12,6 @@ LICENSE= LGPL21+
USE_GITHUB= yes
USES= autoreconf gmake libtool localbase pathfix pkgconfig
-PATHFIX_MAKEFILEIN= Makefile.am
GNU_CONFIGURE= yes
CPPFLAGS+= -D_GLIBCXX_USE_C99 # XXX ports/193528
INSTALL_TARGET= install-strip