From 734639b85700c3bd8aaedc6486ead8cac5b5af29 Mon Sep 17 00:00:00 2001 From: lioux Date: Sat, 16 Feb 2002 16:30:06 +0000 Subject: o Circumvent situation where both libdivx{encore,decore-devel} are installed o Unfortunaly, the port requires the latest divx{de,en}core libraries which are only distributed for Linux. Therefore, there is no port change, just a work around --- graphics/avifile/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'graphics') diff --git a/graphics/avifile/Makefile b/graphics/avifile/Makefile index 6ebb72c837e..4b802db0ebb 100644 --- a/graphics/avifile/Makefile +++ b/graphics/avifile/Makefile @@ -88,6 +88,10 @@ packet 'pth' is installed.";\ ${FALSE};\ fi +post-patch: + @${PERL} -pi -e "s|decore.h|divx/decore.h|; \ + s|encore2.h|divx/encore.h|" ${WRKSRC}/plugins/libdivx4/* + pre-configure: @${PERL} -pi -e "s|-lqt|-lqt2|g;s|qt-mt|qt2-mt|g;\ s|^(PACKAGE=avifile).*|\1|" \ -- cgit