ports/116236: [patch] Shoot yourself in the foot fix for firefox

Mel mel.xyzzy at rachie.is-a-geek.net
Sun Sep 9 19:20:02 UTC 2007

>Number:         116236
>Category:       ports
>Synopsis:       [patch] Shoot yourself in the foot fix for firefox
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 09 19:20:01 GMT 2007
>Originator:     Mel
>Release:        FreeBSD 6.2-STABLE i386
System: FreeBSD snoogles.rachie.is-a-geek.net 6.2-STABLE FreeBSD 6.2-STABLE #0: Mon Mar 26 09:16:30 AKDT 2007 root at smoochies.rachie.is-a-geek.net:/usr/obj/usr/src/sys/GENERIC i386

Ref: http://lists.freebsd.org/pipermail/freebsd-questions/2007-September/157558.html
As a side-note:
	Since Xorg 7.2, ports linking with libX11/libXpm pull in a horde of
	dependencies frequently for little functionality. Good example:
	php[45]-gd: xpm support is hardly used in the real world(tm).
	So people set WITHOUT_X11 in /etc/make.conf and forget about it.
	Also, flags set with portupgrade's -m option live throughout
	build of ports' dependencies.
	Compile pango with WITHOUT_X11 somewhere defined. Then compile firefox.

Patch assumes WANT_GNOME verifies pango dependency but does not account for WITHOUT_X11 flag.

--- Makefile.orig	Sat Sep  8 02:46:36 2007
+++ Makefile	Sun Sep  9 10:40:41 2007
@@ -24,6 +24,9 @@
 MOZ_OPTIONS=	--program-transform-name='s/firefox/${MOZILLA}/'
+.if exists(${LOCALBASE}/libdata/pango.pc) && ! exists(${LOCALBASE}/libdata/pangox.pc)
+BROKEN=		This port requires pango built with X11 support. Recompile pango making sure WITHOUT_X11 is undefined.
 ALL_TARGET=	default


More information about the freebsd-ports-bugs mailing list