pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/nim



Module Name:    pkgsrc
Committed By:   joerg
Date:           Thu May 14 19:18:23 UTC 2020

Modified Files:
        pkgsrc/lang/nim: Makefile

Log Message:
Honor pkgsrc environment.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/lang/nim/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/nim/Makefile
diff -u pkgsrc/lang/nim/Makefile:1.13 pkgsrc/lang/nim/Makefile:1.14
--- pkgsrc/lang/nim/Makefile:1.13       Mon May 11 19:08:59 2020
+++ pkgsrc/lang/nim/Makefile    Thu May 14 19:18:23 2020
@@ -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}



Home | Main Index | Thread Index | Old Index