aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
Diffstat (limited to 'x11')
-rw-r--r--x11/XFree86-4/Makefile2
-rw-r--r--x11/xorg/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/x11/XFree86-4/Makefile b/x11/XFree86-4/Makefile
index aba5780232b0..972ac77b18c3 100644
--- a/x11/XFree86-4/Makefile
+++ b/x11/XFree86-4/Makefile
@@ -48,7 +48,7 @@ pre-everything::
@${ECHO_MSG} "upgrade XFree86. If you simply type 'make install' it may use over 2GB to build"
@${ECHO_MSG} "all of the subports. You can install the ports singly if you are low on space."
-.if make(package)
+.if make(package) && empty(DEPENDS_TARGET:Mpackage)
DEPENDS_TARGET="package"
.endif
.undef NOCLEANDEPENDS
diff --git a/x11/xorg/Makefile b/x11/xorg/Makefile
index d6d61aa95422..b898a91abba4 100644
--- a/x11/xorg/Makefile
+++ b/x11/xorg/Makefile
@@ -55,7 +55,7 @@ pre-everything::
@${ECHO_MSG} "upgrade X.Org. If you simply type 'make install' it may use over 2GB to build"
@${ECHO_MSG} "all of the subports. You can install the ports singly if you are low on space."
-.if make(package)
+.if make(package) && empty(DEPENDS_TARGET:Mpackage)
DEPENDS_TARGET="package"
.endif