pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/install Check if INSTALLATION_DIRS_FROM_PLIST is de...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9727710b30ff
branches: trunk
changeset: 528037:9727710b30ff
user: xtraeme <xtraeme%pkgsrc.org@localhost>
date: Thu Apr 19 18:16:36 2007 +0000
description:
Check if INSTALLATION_DIRS_FROM_PLIST is defined before using .if
!empty...
Reported by Mihai Chelaru.
diffstat:
mk/install/install.mk | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 54d73a089b59 -r 9727710b30ff mk/install/install.mk
--- a/mk/install/install.mk Thu Apr 19 17:26:01 2007 +0000
+++ b/mk/install/install.mk Thu Apr 19 18:16:36 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: install.mk,v 1.41 2007/04/19 16:52:03 joerg Exp $
+# $NetBSD: install.mk,v 1.42 2007/04/19 18:16:36 xtraeme Exp $
#
# This file provides the code for the "install" phase.
#
@@ -147,7 +147,8 @@
_INSTALL_ALL_TARGETS+= check-files-pre
.endif
_INSTALL_ALL_TARGETS+= install-makedirs
-.if !empty(INSTALLATION_DIRS_FROM_PLIST:M[Yy][Ee][Ss])
+.if defined(INSTALLATION_DIRS_FROM_PLIST) && \
+ !empty(INSTALLATION_DIRS_FROM_PLIST:M[Yy][Ee][Ss])
_INSTALL_ALL_TARGETS+= install-dirs-from-PLIST
.endif
.if ${_USE_DESTDIR} == "no"
Home |
Main Index |
Thread Index |
Old Index