diff options
author | lioux <lioux@FreeBSD.org> | 2002-09-04 07:05:40 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2002-09-04 07:05:40 +0800 |
commit | ee64844a212f6e26371bac9ccab25d1bfbc4087c (patch) | |
tree | d4c4c2ccc67ebe147c84bda82549f9599e738ef4 /multimedia/mjpegtools | |
parent | b52b6a8d59eb45378efff18bf2cb24d95ad8daf7 (diff) | |
download | freebsd-ports-gnome-ee64844a212f6e26371bac9ccab25d1bfbc4087c.tar.gz freebsd-ports-gnome-ee64844a212f6e26371bac9ccab25d1bfbc4087c.tar.zst freebsd-ports-gnome-ee64844a212f6e26371bac9ccab25d1bfbc4087c.zip |
Fix build
PR: 42383
Prompted by: Frank Mayhar <frank@exit.com>
Diffstat (limited to 'multimedia/mjpegtools')
-rw-r--r-- | multimedia/mjpegtools/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/multimedia/mjpegtools/Makefile b/multimedia/mjpegtools/Makefile index 7112b45a67a7..72d293692d9e 100644 --- a/multimedia/mjpegtools/Makefile +++ b/multimedia/mjpegtools/Makefile @@ -15,7 +15,7 @@ MASTER_SITE_SUBDIR= mjpeg MAINTAINER= lioux@FreeBSD.org BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm -LIB_DEPENDS= aviplay-0.7.0:${PORTSDIR}/graphics/avifile \ +LIB_DEPENDS= aviplay.0:${PORTSDIR}/graphics/avifile \ jpeg.9:${PORTSDIR}/graphics/jpeg USE_GNOMENG= yes @@ -133,8 +133,11 @@ post-patch: ${WRKSRC}/lavtools/divxdec.cpp @${REINPLACE_CMD} -E -e 's@(-l(jpeg|openquicktime|png))@-L${LOCALBASE}/lib \1@; \ s|(-I) (\$$with_quicktime)|\1\2/include/openquicktime|; \ + s|(-L\$$with_quicktime) |\1/lib |; \ s|(with_quicktime/)(openquicktime)(.h)|\1include/\2/\2\3|; \ s,-ldl([[:space:]]|"),\1,; \ + s|-L/lib||g; \ + s|(-L\$$with_dv)(\$$with_dv_l)|\1/lib|; \ s|(-ldv)|-L${LOCALBASE}/lib \1 ${PTHREAD_LIBS:S/"//g}|' \ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} @${REINPLACE_CMD} -e 's|SDL/|SDL11/|' \ @@ -154,6 +157,9 @@ post-patch: ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} .endif +post-configure: + @${CP} -f ${LOCALBASE}/bin/${LIBTOOL} ${WRKSRC} + pre-build: .ifdef(WITH_QUICKTIME) @${ECHO_CMD} "#define HAVE_OPENQUICKTIME 1" >> ${WRKSRC}/config.h |