diff options
author | rillig <rillig@pkgsrc.org> | 2006-10-02 16:16:14 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-10-02 16:16:14 +0000 |
commit | aef485ccf128d6c44b4b6723dbb74c0b12845195 (patch) | |
tree | cf151e1357b275ae6794426f838fce780b44af34 | |
parent | 3ce90b7bc833c8fad8a4bce53171c8bd1ab18c2a (diff) | |
download | pkgsrc-aef485ccf128d6c44b4b6723dbb74c0b12845195.tar.gz |
Some fixes:
- PKG_DEVELOPER may be undefined, meaning "no".
- Removed unused variables.
- Removed a trailing empty line.
-rw-r--r-- | mk/configure/check-portability.mk | 8 |
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 - |