aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/avifile
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-02-17 00:30:06 +0800
committerlioux <lioux@FreeBSD.org>2002-02-17 00:30:06 +0800
commit734639b85700c3bd8aaedc6486ead8cac5b5af29 (patch)
tree778e9a551617a1359f83efda55dfff6ddfb258bf /graphics/avifile
parentd7f943b881e989358a7489b92c0190997dfbae0c (diff)
downloadfreebsd-ports-graphics-734639b85700c3bd8aaedc6486ead8cac5b5af29.tar.gz
freebsd-ports-graphics-734639b85700c3bd8aaedc6486ead8cac5b5af29.tar.zst
freebsd-ports-graphics-734639b85700c3bd8aaedc6486ead8cac5b5af29.zip
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
Diffstat (limited to 'graphics/avifile')
-rw-r--r--graphics/avifile/Makefile4
1 files changed, 4 insertions, 0 deletions
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|" \