From 80fe97d5dac593ac10549c5afdfd55b7397326f8 Mon Sep 17 00:00:00 2001
From: adamw <adamw@df743ca5-7f9a-e211-a948-0013205c9059>
Date: Wed, 25 Feb 2004 06:49:45 +0000
Subject: Add a NODEPENDS switch that **IS NOT TO BE MERGED INTO FREEBSD PORTS
 TREE** ::P

It prevents USE_GNOME from populating LIB_DEPENDS/RUN_DEPENDS, and is to be
used as -DNODEPENDS from the command line when building/testing ports. It
speeds up make install/make package by like 2 billion times.

It's only useful for testing.


git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1899 df743ca5-7f9a-e211-a948-0013205c9059
---
 Mk/bsd.gnome.mk | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'Mk')

diff --git a/Mk/bsd.gnome.mk b/Mk/bsd.gnome.mk
index ef59f9b41..41eaba5dd 100644
--- a/Mk/bsd.gnome.mk
+++ b/Mk/bsd.gnome.mk
@@ -555,8 +555,14 @@ _USE_GNOME+=	${${component}_USE_GNOME_IMPL} ${component}
 _COMP_TEST=	${_USE_GNOME:M${component}}
 .  if ${_COMP_TEST:S/${component}//}!=${_COMP_TEST:S/  / /g}
 BUILD_DEPENDS+=	${${component}_BUILD_DEPENDS}
+#######################################################
+#
+# *** WARNING: DO NOT MERGE THIS NEXT LINE TO FREEBSD
+#
+.if !defined(NODEPENDS)
 LIB_DEPENDS+=	${${component}_LIB_DEPENDS}
 RUN_DEPENDS+=	${${component}_RUN_DEPENDS}
+.endif
 
 CONFIGURE_ARGS+=${${component}_CONFIGURE_ARGS}
 CONFIGURE_ENV+=	${${component}_CONFIGURE_ENV}
-- 
cgit v1.2.3