diff options
author | jperkin <jperkin@pkgsrc.org> | 2015-11-24 09:41:20 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2015-11-24 09:41:20 +0000 |
commit | 557a74e77a43008f6b20896b1aa02d1b452180e7 (patch) | |
tree | 58a1ca757f048ac52798fe60c47891d35c66cdd5 /mk/check | |
parent | 0d211da3560185c964cfa546226492a1777a4582 (diff) | |
download | pkgsrc-557a74e77a43008f6b20896b1aa02d1b452180e7.tar.gz |
Do the "defined && !empty" dance for NetBSD 5 make.
Diffstat (limited to 'mk/check')
-rw-r--r-- | mk/check/check-shlibs.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/check/check-shlibs.mk b/mk/check/check-shlibs.mk index 95b8996c0f0..68431fd0cd9 100644 --- a/mk/check/check-shlibs.mk +++ b/mk/check/check-shlibs.mk @@ -1,4 +1,4 @@ -# $NetBSD: check-shlibs.mk,v 1.27 2015/11/16 17:53:29 jperkin Exp $ +# $NetBSD: check-shlibs.mk,v 1.28 2015/11/24 09:41:20 jperkin Exp $ # # This file verifies that all libraries used by the package can be found # at run-time. @@ -67,7 +67,7 @@ CHECK_SHLIBS_NATIVE_ENV+= DEPENDS_FILE=${_RRDEPENDS_FILE:Q} CHECK_SHLIBS_NATIVE_ENV+= DESTDIR=${DESTDIR:Q} . endif CHECK_SHLIBS_NATIVE_ENV+= WRKDIR=${WRKDIR:Q} -. if !empty(CHECK_WRKREF:Mextra) +. if defined(CHECK_WRKREF) && !empty(CHECK_WRKREF:Mextra) CHECK_SHLIBS_NATIVE_ENV+= CHECK_WRKREF_EXTRA_DIRS=${CHECK_WRKREF_EXTRA_DIRS:Q} . endif |