Date: Wed, 15 Sep 2004 01:52:36 -0400 (EDT) From: Michael Johnson <ahze@ahze.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: lioux@FreeBSD.org Subject: ports/71751: [PATCH] multimedia/mjpegtools: [Remove unused openquicktime stuff] Message-ID: <200409150552.i8F5qaBQ099809@blueheron.ahze.net> Resent-Message-ID: <200409150600.i8F60fRi068272@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 71751 >Category: ports >Synopsis: [PATCH] multimedia/mjpegtools: [Remove unused openquicktime stuff] >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Sep 15 06:00:41 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Michael Johnson >Release: FreeBSD 5.3-BETA3 i386 >Organization: >Environment: System: FreeBSD blueheron.ahze.net 5.3-BETA3 FreeBSD 5.3-BETA3 #66: Tue Sep 7 12:56:04 EDT >Description: - Clean up Makefile a little bit and remove unused openquicktime stuff Port maintainer (lioux@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- mjpegtools-1.6.2_2.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/multimedia/mjpegtools/Makefile,v retrieving revision 1.36 diff -u -r1.36 Makefile --- Makefile 20 Aug 2004 15:57:33 -0000 1.36 +++ Makefile 15 Sep 2004 05:48:34 -0000 @@ -148,10 +148,7 @@ post-patch: @${REINPLACE_CMD} -E -e 's|^(pkgconfigdir = )\$$\(libdir\)/(pkgconfig)|\1${PREFIX}/libdata/\2|' \ ${WRKSRC}/Makefile.in - @${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|; \ + @${REINPLACE_CMD} -E -e 's|(-L\$$with_quicktime) |\1/lib |; \ s,-ldl([[:space:]]|"),\1,; \ s|-L/lib||g; \ s|(-L\$$with_dv)(\$$with_dv_l)|\1/lib|; \ @@ -164,15 +161,6 @@ @${REINPLACE_CMD} -e 's|/bin/bash|${LOCALBASE}/bin/bash|' \ ${WRKSRC}/scripts/lav2avi.sh \ ${WRKSRC}/scripts/lav2mpeg ${WRKSRC}/scripts/mpegtranscode -.ifdef(WITH_QUICKTIME) - @${REINPLACE_CMD} -E -e 's|^(have_openquicktime=).+$$|\1true|' \ - ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} - @${REINPLACE_CMD} -E \ - -e 's|(fileno.*)(lav_file->qt_fd)|\1(FILE *)\2|' \ - ${WRKSRC}/lavtools/lav_io.c - @${REINPLACE_CMD} -e 's|HAVE_OPENQUICKTIME|__FreeBSD__|' \ - ${WRKSRC}/lavtools/lav_io.h -.endif # a bug that is happening with configure. It's not detecting that # FreeBSD has pthreads. It might happen in other OSes but I'm not # risking such a general patch @@ -191,9 +179,4 @@ post-configure: @${CP} -f ${LIBTOOL} ${WRKSRC} -pre-build: -.ifdef(WITH_QUICKTIME) - @${ECHO_CMD} "#define HAVE_OPENQUICKTIME 1" >> ${WRKSRC}/config.h -.endif - .include <bsd.port.post.mk> --- mjpegtools-1.6.2_2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409150552.i8F5qaBQ099809>