Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/nim Honor pkgsrc environment.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4290c62c016b
branches:  trunk
changeset: 431580:4290c62c016b
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu May 14 19:18:23 2020 +0000

description:
Honor pkgsrc environment.

diffstat:

 lang/nim/Makefile |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (27 lines):

diff -r 3c0a5de31578 -r 4290c62c016b lang/nim/Makefile
--- a/lang/nim/Makefile Thu May 14 19:17:45 2020 +0000
+++ b/lang/nim/Makefile Thu May 14 19:18:23 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2020/05/11 19:08:59 nikita Exp $
+# $NetBSD: Makefile,v 1.14 2020/05/14 19:18:23 joerg Exp $
 
 DISTNAME=      nim-1.2.0
 PKGREVISION=   1
@@ -14,13 +14,13 @@
 INSTALLATION_DIRS=     bin
 
 do-build:
-       cd ${WRKSRC} && sh ./build.sh
+       cd ${WRKSRC} && ${PKGSRC_SETENV} ${MAKE_ENV} sh ./build.sh
        printf '#! %s\nexec %s _=%s/nim/bin/nim %s/nim/bin/nim "$$@"\n' \
                "${SH}" "${SETENV}" "${PREFIX}" "${PREFIX}" \
                > ${WRKSRC}/nim-wrapper.sh
-       cd ${WRKSRC} && bin/nim c --skipUserCfg --skipParentCfg koch
-       cd ${WRKSRC} && ./koch boot -d:release --skipUserCfg --skipParentCfg
-       cd ${WRKSRC} && ./koch tools --skipUserCfg --skipParentCfg
+       cd ${WRKSRC} && ${PKGSRC_SETENV} ${MAKE_ENV} bin/nim c --skipUserCfg --skipParentCfg koch
+       cd ${WRKSRC} && ${PKGSRC_SETENV} ${MAKE_ENV} ./koch boot -d:release --skipUserCfg --skipParentCfg
+       cd ${WRKSRC} && ${PKGSRC_SETENV} ${MAKE_ENV} ./koch tools --skipUserCfg --skipParentCfg
 
 do-install:
        cd ${WRKSRC} && sh ./install.sh ${DESTDIR}${PREFIX}



Home | Main Index | Thread Index | Old Index