Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk mk/djbware.mk: indent nested .if and .include direc...
details: https://anonhg.NetBSD.org/pkgsrc/rev/829e260470bb
branches: trunk
changeset: 430606:829e260470bb
user: rillig <rillig%pkgsrc.org@localhost>
date: Sat May 02 11:43:09 2020 +0000
description:
mk/djbware.mk: indent nested .if and .include directives
diffstat:
mk/djbware.mk | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diffs (42 lines):
diff -r d75eff42e6a6 -r 829e260470bb mk/djbware.mk
--- a/mk/djbware.mk Sat May 02 11:42:13 2020 +0000
+++ b/mk/djbware.mk Sat May 02 11:43:09 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: djbware.mk,v 1.27 2020/03/20 19:40:39 rillig Exp $
+# $NetBSD: djbware.mk,v 1.28 2020/05/02 11:43:09 rillig Exp $
#
# Makefile fragment for packages with djb-style build machinery
#
@@ -89,24 +89,24 @@
.include "bsd.fast.prefs.mk"
-.if exists(${PKGDIR}/options.mk)
-. include "${PKGDIR}/options.mk"
-.else
+. if exists(${PKGDIR}/options.mk)
+. include "${PKGDIR}/options.mk"
+. else
# Note: This expression is the same as ${PKGBASE}, but the latter is
# not defined yet, so we cannot use it here.
PKG_OPTIONS_VAR= PKG_OPTIONS.${PKGNAME:C/-[0-9].*//}
-.include "bsd.options.mk"
-.endif
+. include "bsd.options.mk"
+. endif
-.if !empty(PKG_OPTIONS:Mdjbware-errno-hack)
+. if !empty(PKG_OPTIONS:Mdjbware-errno-hack)
SUBST_CLASSES+= djbware
SUBST_STAGE.djbware= do-configure
SUBST_FILES.djbware+= error.h
SUBST_SED.djbware= -e 's|^extern\ int\ errno\;|\#include \<errno.h\>|'
SUBST_MESSAGE.djbware= Correcting definition of errno.
-.endif
+. endif
.else
-.sinclude "${PKGDIR}/options.mk"
+. sinclude "${PKGDIR}/options.mk"
.endif
.endif # DJBWARE_MK
Home |
Main Index |
Thread Index |
Old Index