pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/configure Some fixes:
details: https://anonhg.NetBSD.org/pkgsrc/rev/a5025715560b
branches: trunk
changeset: 519377:a5025715560b
user: rillig <rillig%pkgsrc.org@localhost>
date: Mon Oct 02 16:16:14 2006 +0000
description:
Some fixes:
- PKG_DEVELOPER may be undefined, meaning "no".
- Removed unused variables.
- Removed a trailing empty line.
diffstat:
mk/configure/check-portability.mk | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diffs (31 lines):
diff -r c481f9ddb3c1 -r a5025715560b mk/configure/check-portability.mk
--- a/mk/configure/check-portability.mk Mon Oct 02 16:10:07 2006 +0000
+++ b/mk/configure/check-portability.mk Mon Oct 02 16:16:14 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: check-portability.mk,v 1.1 2006/10/02 15:42:47 rillig Exp $
+# $NetBSD: check-portability.mk,v 1.2 2006/10/02 16:16:14 rillig Exp $
#
# This file contains some checks that are applied to the configure
# scripts to check for certain constructs that are known to cause
@@ -21,15 +21,12 @@
# Default value: no
#
-.if !empty(PKG_DEVELOPER:M[Yy][Ee][Ss])
+.if defined(PKG_DEVELOPER) && !empty(PKG_DEVELOPER:M[Yy][Ee][Ss])
CHECK_PORTABILITY?= yes
.endif
CHECK_PORTABILITY?= no
SKIP_PORTABILITY_CHECK?= no
-_RE_TEST= -e "test[ ]*[^ ].*=="
-_RE_TEST+= -e "\\[[ ].*==.*[ ]\\]"
-
.if ${CHECK_PORTABILITY:M[Yy][Ee][Ss]} != "" && \
${SKIP_PORTABILITY_CHECK:M[Yy][Ee][Ss]} == ""
do-configure-pre-hook: _configure-check-for-test
@@ -60,4 +57,3 @@
;; \
esac
.endfor
-
Home |
Main Index |
Thread Index |
Old Index