diff options
author | joerg <joerg@pkgsrc.org> | 2020-05-14 19:18:23 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2020-05-14 19:18:23 +0000 |
commit | 85ac48ea7a5a4a22828229a845aacee3937db950 (patch) | |
tree | a7f35d7a78bef6a7d19089e2852040665c288773 /lang | |
parent | 194c15e1cad8f3324a49c3d989e153b783f2ca3d (diff) | |
download | pkgsrc-85ac48ea7a5a4a22828229a845aacee3937db950.tar.gz |
Honor pkgsrc environment.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/nim/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lang/nim/Makefile b/lang/nim/Makefile index 310ce893dbc..2d8635f75ff 100644 --- a/lang/nim/Makefile +++ b/lang/nim/Makefile @@ -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 @@ LICENSE= mit 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} |