[PATCH] multimedia/libtheora: don't link with -lcompat

Dmitry Marakasov amdmi3 at amdmi3.ru
Sat Dec 26 13:39:25 UTC 2009

>Submitter-Id:	current-users
>Originator:	Dmitry Marakasov
>Confidential:	no 
>Synopsis:	[PATCH] multimedia/libtheora: don't link with -lcompat
>Severity:	non-critical
>Priority:	low
>Category:	ports 
>Class:		change-request
>Release:	FreeBSD 8.0-RELEASE i386
System: FreeBSD hades.panopticon 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Tue Nov 24 22:31:59 MSK 2009
After latest update to 1.1.1, libtheora links with -lcompat
(configure.ac claims that's needed for OpenBSD). However on FreeBSD
it's not needed, and also breaks dependent ports, at least


thus, patch configure to not detect libcompat.

Port maintainer (multimedia at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99

--- libtheora-1.1.1_1.patch begins here ---
Index: Makefile
RCS file: /home/amdmi3/projects/freebsd/FreeBSD.cvs/ports/multimedia/libtheora/Makefile,v
retrieving revision 1.26
diff -u -u -r1.26 Makefile
--- Makefile	21 Dec 2009 03:00:51 -0000	1.26
+++ Makefile	26 Dec 2009 12:49:31 -0000
@@ -7,6 +7,7 @@
 PORTNAME=	libtheora
 CATEGORIES=	multimedia
 MASTER_SITES=	http://downloads.xiph.org/releases/theora/ \
@@ -32,7 +33,8 @@
 	@${REINPLACE_CMD} -e 's|doc||g' ${WRKSRC}/Makefile.in
-	@${REINPLACE_CMD} -e 's,  x86_64),  x86_64|amd64),' ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e 's,  x86_64),  x86_64|amd64),; \
+		/ac_lib/ s,compat,,' ${WRKSRC}/configure
 .if ${ARCH}=="amd64"
 	@${REINPLACE_CMD} -e 's|#define OC_X86_ASM|#undef OC_X86_ASM|' ${WRKSRC}/configure
--- libtheora-1.1.1_1.patch ends here ---

More information about the freebsd-multimedia mailing list