From 4438c4b6a6a0d6563b4426133c82f8c053bd9647 Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Thu, 18 Jun 2015 04:52:13 +0000 Subject: [PATCH] Fix build on non-root user. Submitted by: mat@ --- security/p5-CryptX/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/security/p5-CryptX/Makefile b/security/p5-CryptX/Makefile index 14fd25e9b2cd..8b0d6e083d7c 100644 --- a/security/p5-CryptX/Makefile +++ b/security/p5-CryptX/Makefile @@ -21,7 +21,9 @@ USES= perl5 USE_PERL5= modbuild post-install: + ${CHMOD} u+w ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/CryptX/CryptX.so ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/CryptX/CryptX.so + ${CHMOD} u-w ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/CryptX/CryptX.so regression-test: build @cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${PERL5} ${PL_BUILD} ${MAKE_ARGS} test