summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorDejan Lesjak <lesi@FreeBSD.org>2005-01-18 22:17:29 +0000
committerDejan Lesjak <lesi@FreeBSD.org>2005-01-18 22:17:29 +0000
commit50ce2c27fe3c2ac7dcf82abbd795646afdf4de1b (patch)
tree2e7e974657a97dab071df0e496ec368c85f92073 /x11
parentEnable font cacheing. [1] (diff)
Don't blindly override DEPENDS_TARGET when making package.
Submitted by: roam
Notes
Notes: svn path=/head/; revision=126751
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