diff options
author | rillig <rillig> | 2006-10-02 16:16:14 +0000 |
---|---|---|
committer | rillig <rillig> | 2006-10-02 16:16:14 +0000 |
commit | bf9e36c7734c642fb32e3b2315f948d47d2773ea (patch) | |
tree | cf151e1357b275ae6794426f838fce780b44af34 /mk/configure | |
parent | 905c3ecf4745d404013a8d52fda2519d26df94c7 (diff) | |
download | pkgsrc-bf9e36c7734c642fb32e3b2315f948d47d2773ea.tar.gz |
Some fixes:
- PKG_DEVELOPER may be undefined, meaning "no".
- Removed unused variables.
- Removed a trailing empty line.
Diffstat (limited to 'mk/configure')
-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 - |