diff options
author | joerg <joerg@pkgsrc.org> | 2016-04-10 16:39:27 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2016-04-10 16:39:27 +0000 |
commit | ce75d719ef9ebc695a186e5d31d176e0880c2be5 (patch) | |
tree | ea1bcebaf94574f134b87b95b393c7c2a0a9b785 /lang/ghc7 | |
parent | b3fc96745270d6737ebefe4a5917ca816e55b94b (diff) | |
download | pkgsrc-ce75d719ef9ebc695a186e5d31d176e0880c2be5.tar.gz |
Adjust checks for _USE_DESTDIR != no or incorrect references to
USE_DESTDIR.
Diffstat (limited to 'lang/ghc7')
-rw-r--r-- | lang/ghc7/Makefile | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/lang/ghc7/Makefile b/lang/ghc7/Makefile index e76b6a4109e..815f62216fb 100644 --- a/lang/ghc7/Makefile +++ b/lang/ghc7/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2015/08/18 07:31:01 wiz Exp $ +# $NetBSD: Makefile,v 1.23 2016/04/10 16:39:27 joerg Exp $ # ----------------------------------------------------------------------------- # Package metadata # @@ -150,16 +150,9 @@ PRINT_PLIST_AWK+= /lib\/${PKGNAME_NOREV}\/package\.conf\.d/ { next; } # If we were lucky we could just use "PLIST_TYPE = dynamic", but the # feature has seemingly bitrotted. .include "../../mk/bsd.prefs.mk" -.if empty(USE_DESTDIR:M[Yy][Ee][Ss]) GENERATE_PLIST+= \ cd ${PREFIX:Q} && \ ${FIND} lib/${PKGNAME_NOREV}/package.conf.d -xdev -newer ${_COOKIE.extract} \! -type d -print | ${SORT} -d; -.else -GENERATE_PLIST+= \ - cd ${DESTDIR:Q}${PREFIX:Q} && \ - ${FIND} lib/${PKGNAME_NOREV}/package.conf.d -xdev \! -type d -print | ${SORT} -d; -.endif - # ----------------------------------------------------------------------------- # Sanity checks |