From owner-svn-ports-all@FreeBSD.ORG Thu Jan 8 14:22:48 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C22BCCA9 for ; Thu, 8 Jan 2015 14:22:48 +0000 (UTC) Received: from mail-la0-f47.google.com (mail-la0-f47.google.com [209.85.215.47]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 38C2D7E5 for ; Thu, 8 Jan 2015 14:22:48 +0000 (UTC) Received: by mail-la0-f47.google.com with SMTP id hz20so9390952lab.6 for ; Thu, 08 Jan 2015 06:22:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type; bh=T5IFuNbKvxxYsIxUmx14DQWRUe91a4upBlZy0KloJ90=; b=cVc3qCsaRlXBss9TR1qzQgPD7EiRcveFKzCr3VwHFzCBKBJhqbY+OI6BJDF8emPtL7 zKQjK/xChnJjUiU/HiFBWdTvrBO/ohd1WtOEBv+Hre2xyWLHc9Tg0m0mNOPr9PWhQg/x C8IoBafpGtu68qk9Y/V/4VeTcKQ0fA/KpDExErioxy6Q1qNd7F0uQkU0RpEUUfkuT5Xt 4uD3d8WvuHmriFzuE+IL1rOpy1haz6/t2kArckEOrnYVPgEv3NgJm7ifZ3EaS3Ukx5P2 YOM/Pgm56QlgJ/mfesiOCa3StLbR+upsKP5qKmk+rkRJRVg2DyOlz3YHwya8y4MNfOad 3JHQ== X-Gm-Message-State: ALoCoQmJI2UuWhdwzfCO/odLhl/gXkVcT54Cli/iJTorQu3lR3t0bxqj4/Pet1mle785EXz6CS9x X-Received: by 10.152.206.108 with SMTP id ln12mr14003895lac.3.1420726959823; Thu, 08 Jan 2015 06:22:39 -0800 (PST) MIME-Version: 1.0 Sender: sunpoet@sunpoet.net Received: by 10.112.49.114 with HTTP; Thu, 8 Jan 2015 06:22:19 -0800 (PST) In-Reply-To: <201501081409.t08E9ATL093678@svn.freebsd.org> References: <201501081409.t08E9ATL093678@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Thu, 8 Jan 2015 22:22:19 +0800 X-Google-Sender-Auth: HPykvJLyf9c1CtiYCnFuJEBtHMY Message-ID: Subject: Re: svn commit: r376533 - head/textproc/p5-Net-IDN-Encode To: Muhammad Moinur Rahman Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2015 14:22:48 -0000 On Thu, Jan 8, 2015 at 10:09 PM, Muhammad Moinur Rahman 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 > _______________________________________________ > svn-ports-all@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/svn-ports-all > To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org" >