summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-10-02 16:16:14 +0000
committerrillig <rillig@pkgsrc.org>2006-10-02 16:16:14 +0000
commit48263488c5fdc9a8e109f83775b8fdfc566a3128 (patch)
treecf151e1357b275ae6794426f838fce780b44af34 /mk
parent991b62d218aab53f6bc2034d18d5d9bcf97aebbd (diff)
downloadpkgsrc-48263488c5fdc9a8e109f83775b8fdfc566a3128.tar.gz
Some fixes:
- PKG_DEVELOPER may be undefined, meaning "no". - Removed unused variables. - Removed a trailing empty line.
Diffstat (limited to 'mk')
-rw-r--r--mk/configure/check-portability.mk8
1 files changed, 2 insertions, 6 deletions
diff --git a/mk/configure/check-portability.mk b/mk/configure/check-portability.mk
index 02a42fb0e3f..5737eb465f2 100644
--- a/mk/configure/check-portability.mk
+++ b/mk/configure/check-portability.mk
@@ -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 @@ _configure-check-for-test:
;; \
esac
.endfor
-