diff options
author | rillig <rillig@pkgsrc.org> | 2006-10-21 19:07:18 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-10-21 19:07:18 +0000 |
commit | 135672e7225497469dba8ef3df745cc9af8975ba (patch) | |
tree | ba7f6637b916a52bfc2525eecb0499a8d51c3270 /mk/configure | |
parent | b0c4cfc1db451afb6f5157219c9105d095e8f642 (diff) | |
download | pkgsrc-135672e7225497469dba8ef3df745cc9af8975ba.tar.gz |
If ${WRKSRC} does not yet exist in the configure phase, skip the
portability checks. Needed for the emulators/compat?? packages.
Diffstat (limited to 'mk/configure')
-rw-r--r-- | mk/configure/check-portability.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/configure/check-portability.mk b/mk/configure/check-portability.mk index 2a240e16a5b..2d06a80ae9d 100644 --- a/mk/configure/check-portability.mk +++ b/mk/configure/check-portability.mk @@ -1,4 +1,4 @@ -# $NetBSD: check-portability.mk,v 1.5 2006/10/12 17:57:05 rillig Exp $ +# $NetBSD: check-portability.mk,v 1.6 2006/10/21 19:07:18 rillig Exp $ # # This file contains some checks that are applied to the configure # scripts to check for certain constructs that are known to cause @@ -35,5 +35,6 @@ do-configure-pre-hook: _configure-check-for-test _configure-check-for-test: @${STEP_MSG} "Checking for portability problems in extracted files" ${_PKG_SILENT}${_PKG_DEBUG} \ + [ -d ${WRKSRC}/. ] || exit 0; \ cd ${WRKSRC} \ && sh ${PKGSRCDIR}/mk/configure/check-portability.sh |