pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk style fix from Roland Illig.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6e0fd2b75163
branches:  trunk
changeset: 477494:6e0fd2b75163
user:      grant <grant%pkgsrc.org@localhost>
date:      Sat Jul 03 22:07:11 2004 +0000

description:
style fix from Roland Illig.

diffstat:

 mk/bsd.pkg.mk |  14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)

diffs (28 lines):

diff -r 447ef4a53ea3 -r 6e0fd2b75163 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Sat Jul 03 22:04:57 2004 +0000
+++ b/mk/bsd.pkg.mk     Sat Jul 03 22:07:11 2004 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.pkg.mk,v 1.1471 2004/07/03 21:59:04 grant Exp $
+#      $NetBSD: bsd.pkg.mk,v 1.1472 2004/07/03 22:07:11 grant Exp $
 #
 # This file is in the public domain.
 #
@@ -547,13 +547,11 @@
 .endif # defined(PATCHFILES)
 
 # Figure out where the local mtree file is
-.if !defined(MTREE_FILE)
-.  if defined(USE_X11BASE)
-MTREE_FILE=    ${_PKGSRCDIR}/mk/${OPSYS}.x11.dist
-.  else
-MTREE_FILE=    ${_PKGSRCDIR}/mk/${OPSYS}.pkg.dist
-.  endif
-.endif # ! MTREE_FILE
+.if defined(USE_X11BASE)
+MTREE_FILE?=   ${_PKGSRCDIR}/mk/${OPSYS}.x11.dist
+.else
+MTREE_FILE?=   ${_PKGSRCDIR}/mk/${OPSYS}.pkg.dist
+.endif
 
 MTREE_ARGS?=   -U -f ${MTREE_FILE} -d -e -p
 



Home | Main Index | Thread Index | Old Index