pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/configure If ${WRKSRC} does not yet exist in the co...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/682c0cc6411b
branches:  trunk
changeset: 520445:682c0cc6411b
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Oct 21 19:07:18 2006 +0000

description:
If ${WRKSRC} does not yet exist in the configure phase, skip the
portability checks. Needed for the emulators/compat?? packages.

diffstat:

 mk/configure/check-portability.mk |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (16 lines):

diff -r 68f5a65f2d57 -r 682c0cc6411b mk/configure/check-portability.mk
--- a/mk/configure/check-portability.mk Sat Oct 21 17:14:19 2006 +0000
+++ b/mk/configure/check-portability.mk Sat Oct 21 19:07:18 2006 +0000
@@ -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 @@
 _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



Home | Main Index | Thread Index | Old Index