ports/84744: Allow user to disable libcaca in ports/multimedia/xine

Carlos A M dos Santos casantos at urisan.tche.br
Wed Aug 10 11:50:31 UTC 2005

>Number:         84744
>Category:       ports
>Synopsis:       Allow user to disable libcaca in ports/multimedia/xine
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 10 11:50:29 GMT 2005
>Originator:     Carlos A M dos Santos
>Release:        FreeBSD 5.4-RELEASE i386
Universidade Regional Integrada
System: FreeBSD sophia.inf.urisan 5.4-RELEASE FreeBSD 5.4-RELEASE #1: Mon May 16 01:34:41 BRT 2005 root at avatar.casantos.org:/share/FreeBSD/5.4-RELEASE/src/sys/i386/compile/A7N266-VM i386
	The Makefile contained in ports/multimedia/xine tests for the presence
	of libcaca.a in the system and enables support for the corresponding
	feature if such library is found. The attached patch allows the uses
	to disable that feature by means of a variable named

	Apply the attached patch.

--- multimedia::xine.patch begins here ---
diff -durP ports/multimedia/xine/Makefile ports/multimedia/xine/Makefile
--- ports.orig/multimedia/xine/Makefile	Thu Apr 28 22:11:59 2005
+++ ports/multimedia/xine/Makefile	Thu Jun  2 21:22:30 2005
@@ -72,11 +71,22 @@
 CONFIGURE_ARGS+=	--disable-xft
-.if exists(${LOCALBASE}/lib/libcaca.a) || defined(WITH_LIBCACA)
+.if !defined(WITHOUT_LIBCACA) && (exists(${LOCALBASE}/lib/libcaca.a) || defined(WITH_LIBCACA))
+	@${ECHO_MSG} "===>"
+	@${ECHO_MSG} "===> You can enable some features by defining following variables."
+	@${ECHO_MSG} "===>"
+.if defined (WITHOUT_LIBCACA) || (!exists(${LOCALBASE}/lib/libcaca.a) && !defined(WITH_LIBCACA))
+	@${ECHO_MSG} "===> WITH_LIBCACA (libcaca support)"
+	@${ECHO_MSG} "===> WITH_LIBCACA (libcaca support, enabled)"
+	@${ECHO_MSG} "===>"
 	@${REINPLACE_CMD} -e \
--- multimedia::xine.patch ends here ---


More information about the freebsd-ports-bugs mailing list