svn commit: r376533 - head/textproc/p5-Net-IDN-Encode
Sunpoet Po-Chuan Hsieh
sunpoet at freebsd.org
Thu Jan 8 14:22:48 UTC 2015
On Thu, Jan 8, 2015 at 10:09 PM, Muhammad Moinur Rahman <bofh at freebsd.org>
wrote:
> Author: bofh
> Date: Thu Jan 8 14:09:09 2015
> New Revision: 376533
> URL: https://svnweb.freebsd.org/changeset/ports/376533
> QAT: https://qat.redports.org/buildarchive/r376533/
>
> Log:
> SITE_ARCH is based on LOCALBASE. Have to use PREFIX/SITE_ARCH_REL.
>
This commit only fixes this problem.
>
> STRIP_CMD will fail if built as regular user.
>
You'll get the error as follows:
/usr/bin/strip
/usr/ports/textproc/p5-Net-IDN-Encode/work/stage/usr/local/lib/perl5/site_perl/mach/5.20/auto/Net/IDN/Punycode/Punycode.so
/usr/bin/strip: unable to copy file
'/usr/ports/textproc/p5-Net-IDN-Encode/work/stage/usr/local/lib/perl5/site_perl/mach/5.20/auto/Net/IDN/Punycode/Punycode.so'
reason: Permission denied
Because the .so file is installed without write permission, I choose to
"chmod u+w, strip and chmod u-w".
HTH
Regards,
sunpoet
> Differential Revision: https://reviews.freebsd.org/D1437
> Submitted by: sunpoet
> Approved by: marino(mentor)
>
> Modified:
> head/textproc/p5-Net-IDN-Encode/Makefile
>
> Modified: head/textproc/p5-Net-IDN-Encode/Makefile
>
> ==============================================================================
> --- head/textproc/p5-Net-IDN-Encode/Makefile Thu Jan 8 13:46:24 2015
> (r376532)
> +++ head/textproc/p5-Net-IDN-Encode/Makefile Thu Jan 8 14:09:09 2015
> (r376533)
> @@ -3,6 +3,7 @@
>
> PORTNAME= Net-IDN-Encode
> PORTVERSION= 2.201
> +PORTREVISION= 1
> CATEGORIES= textproc perl5
> MASTER_SITES= CPAN
> PKGNAMEPREFIX= p5-
> @@ -19,5 +20,5 @@ USES= perl5
> USE_PERL5= modbuild
>
> post-stage:
> - ${STRIP_CMD}
> ${STAGEDIR}${SITE_ARCH}/auto/Net/IDN/Punycode/Punycode.so
> + ${STRIP_CMD}
> ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Net/IDN/Punycode/Punycode.so
> .include <bsd.port.mk>
> _______________________________________________
> svn-ports-all at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/svn-ports-all
> To unsubscribe, send any mail to "svn-ports-all-unsubscribe at freebsd.org"
>
More information about the svn-ports-all
mailing list