pkgsrc-Users archive

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

Re: Problems upgrading sysutils/mc



 >> Hello,
 >> I can compile sysutils/mc but when installing, it says:
 >> ERROR: [check-interpreter.mk] The interpreter "/usr/bin/env" of 
 >> "/pkg_comp/obj/pkgsrc/sysutils/mc/default/.destdir/usr/pkg/libexec/mc/extfs.d/s3+"
 >>  is not allowed.
 >>
 >> I think there's something wrong in it.

> It's a python script.
> Is it acceptable for mc users that it depend on python additionally?

No. Please do not add python as a dependency to mc.
It is too heavy dependency for mc.
The following patch solves the problem.

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/mc/Makefile,v
retrieving revision 1.81
diff -u -r1.81 Makefile
--- Makefile    22 Apr 2011 13:44:44 -0000      1.81
+++ Makefile    4 May 2011 19:12:04 -0000
@@ -18,6 +18,8 @@
 GNU_CONFIGURE=         YES
 USE_PKGLOCALEDIR=      YES
 
+CHECK_INTERPRETER_SKIP=        libexec/mc/extfs.d/s3+
+
 .include "../../mk/bsd.prefs.mk"
 
 .if ${OPSYS} == "Linux"
-- 
Best regards, Aleksey Cheusov.


Home | Main Index | Thread Index | Old Index