summaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authoradamw <adamw@df743ca5-7f9a-e211-a948-0013205c9059>2004-02-25 14:49:45 +0800
committeradamw <adamw@df743ca5-7f9a-e211-a948-0013205c9059>2004-02-25 14:49:45 +0800
commit80fe97d5dac593ac10549c5afdfd55b7397326f8 (patch)
treed184d97d239b3dea1fb1944a3886e41b4b2f470a /Mk
parent6c45f9adf6ffb6242892012a6297b2ec67ee0f19 (diff)
downloadmarcuscom-ports-80fe97d5dac593ac10549c5afdfd55b7397326f8.tar
marcuscom-ports-80fe97d5dac593ac10549c5afdfd55b7397326f8.tar.gz
marcuscom-ports-80fe97d5dac593ac10549c5afdfd55b7397326f8.tar.bz2
marcuscom-ports-80fe97d5dac593ac10549c5afdfd55b7397326f8.tar.lz
marcuscom-ports-80fe97d5dac593ac10549c5afdfd55b7397326f8.tar.xz
marcuscom-ports-80fe97d5dac593ac10549c5afdfd55b7397326f8.tar.zst
marcuscom-ports-80fe97d5dac593ac10549c5afdfd55b7397326f8.zip
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
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.gnome.mk6
1 files changed, 6 insertions, 0 deletions
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}