[Bug 198045] Build tools hiding dependency issues

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Mar 16 12:36:44 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198045

--- Comment #2 from melvyn at magemana.nl ---
Hi Brian,

I didn't say they make new dependencies. The root cause of at least 1 and 3 and
I suspect 2 as well, is that the leaf port's make doesn't re-evaluate a set
value when it comes back from visiting it's children.
By closing the leaf port's make and executing the dependency builds in their
own make process, these bugs are not exposed by the existing tools.

Here's the fix for pango:

diff --git a/x11-toolkits/pango/Makefile b/x11-toolkits/pango/Makefile
index 5a54d96..ce1b839e 100644
--- a/x11-toolkits/pango/Makefile
+++ b/x11-toolkits/pango/Makefile
@@ -54,10 +54,10 @@ PLIST_SUB+= X11="@comment "
 .endif

 pre-configure:
-.if !exists(${LOCALBASE}/libdata/pkgconfig/cairo-gobject.pc)
-       @${ECHO_CMD} "${PKGNAME}: Needs cairo with GLIB (GObject) support
enabled."
-       @${FALSE}
-.endif
+       @if [ ! -f${LOCALBASE}/libdata/pkgconfig/cairo-gobject.pc ]; then \
+               ${ECHO_CMD} "${PKGNAME}: Needs cairo with GLIB (GObject)
support enabled."; \
+               ${FALSE}; \
+       fi

 .include <bsd.port.mk>

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list