summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2008-02-20 12:04:56 +0000
committerxtraeme <xtraeme>2008-02-20 12:04:56 +0000
commit3392414535ab51e735c13d12dbff37254b2dcb90 (patch)
treecb0d76d7637b6c7388a294a39c34b87c9ae05a5c /multimedia
parentddbeee3df1d938277be23765c5f137ad217befae (diff)
downloadpkgsrc-3392414535ab51e735c13d12dbff37254b2dcb90.tar.gz
Do not add -lx264 to the installed pkg-config files, as there is not
shared library and will cause problems in some packages that use them to link.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/ffmpeg-devel/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/multimedia/ffmpeg-devel/Makefile b/multimedia/ffmpeg-devel/Makefile
index 516b68929a3..b81e4b0b29e 100644
--- a/multimedia/ffmpeg-devel/Makefile
+++ b/multimedia/ffmpeg-devel/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2008/02/20 10:15:30 xtraeme Exp $
+# $NetBSD: Makefile,v 1.6 2008/02/20 12:04:56 xtraeme Exp $
DISTNAME= ffmpeg-${DISTVERSION}
PKGNAME= ffmpeg-devel-${DISTVERSION:S/-//g}
@@ -19,11 +19,15 @@ USE_TOOLS+= gmake texi2html pod2man
REPLACE_PERL+= doc/texi2pod.pl
-SUBST_CLASSES+= conf
+SUBST_CLASSES+= conf pc
SUBST_STAGE.conf= post-patch
SUBST_FILES.conf= ffserver.c
SUBST_SED.conf= -e 's,/etc/ffserver.conf,${PKG_SYSCONFDIR}/ffserver.conf,g'
SUBST_MESSAGE.conf= Fixing configuration path.
+SUBST_STAGE.pc= pre-install
+SUBST_FILES.pc= *.pc
+SUBST_SED.pc= -e 's|-lx264||g'
+SUBST_MESSAGE.pc= Fixing hardcoded libs.
PLIST_SRC+= ${PKGDIR}/PLIST