pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/ffmpeg-devel Do not add -lx264 to the insta...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7eaa401e85d0
branches:  trunk
changeset: 538886:7eaa401e85d0
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Wed Feb 20 12:04:56 2008 +0000

description:
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:

 multimedia/ffmpeg-devel/Makefile |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r e34980c10043 -r 7eaa401e85d0 multimedia/ffmpeg-devel/Makefile
--- a/multimedia/ffmpeg-devel/Makefile  Wed Feb 20 11:31:14 2008 +0000
+++ b/multimedia/ffmpeg-devel/Makefile  Wed Feb 20 12:04:56 2008 +0000
@@ -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 @@
 
 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
 



Home | Main Index | Thread Index | Old Index