ports/71751: [PATCH] multimedia/mjpegtools: [Remove unused openquicktime stuff]

Michael Johnson ahze at ahze.net
Wed Sep 15 06:00:42 UTC 2004


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



More information about the freebsd-ports-bugs mailing list