summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2006-07-07 15:59:06 +0000
committerjlam <jlam@pkgsrc.org>2006-07-07 15:59:06 +0000
commit32e6a1fcf8084e7e4deea30e1d5a63503e68c388 (patch)
tree4f74214b6466549535a674072dea7cf3bf16b411 /mk
parentee68c933149fd6d0813f9a1fa090c26d8ecee0d2 (diff)
downloadpkgsrc-32e6a1fcf8084e7e4deea30e1d5a63503e68c388.tar.gz
Remove the commands that tried to make the ${X11BASE} directory if it
didn't exist. Those commands were never run anyway, but moving the .MAIN target exposed these commands as unassociated.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk10
1 files changed, 2 insertions, 8 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index c5378e0810c..7663fd53cc6 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1864 2006/07/06 21:59:38 jlam Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1865 2006/07/07 15:59:06 jlam Exp $
#
# This file is in the public domain.
#
@@ -548,14 +548,8 @@ PKG_FAIL_REASON+= "${PKGNAME} is restricted:" \
PKG_FAIL_REASON+= "${PKGNAME} may not be built, because it utilizes strong cryptography"
. endif
. endif
-. if defined(USE_X11) && !exists(${X11BASE})
-. if ${X11_TYPE} == "native"
+. if defined(USE_X11) && (${X11_TYPE} == "native") && !exists(${X11BASE})
PKG_FAIL_REASON+= "${PKGNAME} uses X11, but ${X11BASE} not found"
-. else
- ${_PKG_SILENT}${_PKG_DEBUG}${MKDIR} ${X11BASE}
- ${_PKG_SILENT}${_PKG_DEBUG}${CHOWN} ${ROOT_USER}:${ROOT_GROUP} ${X11BASE}
- ${_PKG_SILENT}${_PKG_DEBUG}${CHMOD} ${PKGDIRMODE} ${X11BASE}
-. endif
. endif
. if defined(BROKEN)
PKG_FAIL_REASON+= "${PKGNAME} is marked as broken:" ${BROKEN:Q}