From owner-svn-ports-head@freebsd.org Mon Apr 4 09:48:56 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0356EB013EE; Mon, 4 Apr 2016 09:48:56 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D304810CF; Mon, 4 Apr 2016 09:48:55 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u349mtVZ006393; Mon, 4 Apr 2016 09:48:55 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u349msd8006389; Mon, 4 Apr 2016 09:48:54 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201604040948.u349msd8006389@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Mon, 4 Apr 2016 09:48:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r412502 - in head/lang: perl5-devel perl5.18 perl5.20 perl5.22 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Apr 2016 09:48:56 -0000 Author: mat Date: Mon Apr 4 09:48:54 2016 New Revision: 412502 URL: https://svnweb.freebsd.org/changeset/ports/412502 Log: Fix manual build of Perl modules when Perl has been cross compiled. PR: 205600 Reported by: Mark Millard Sponsored by: Absolight Modified: head/lang/perl5-devel/Makefile (contents, props changed) head/lang/perl5.18/Makefile (contents, props changed) head/lang/perl5.20/Makefile (contents, props changed) head/lang/perl5.22/Makefile (contents, props changed) Modified: head/lang/perl5-devel/Makefile ============================================================================== --- head/lang/perl5-devel/Makefile Mon Apr 4 07:07:10 2016 (r412501) +++ head/lang/perl5-devel/Makefile Mon Apr 4 09:48:54 2016 (r412502) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= perl -PORTREVISION= 0 +PORTREVISION= 1 # XXX Remove second line, uncomment first #DISTVERSION= ${PERL_VERSION} DISTVERSION= ${GH_TAGNAME:C/^v//:C/-g[0-9a-f]*$//} @@ -271,6 +271,12 @@ post-patch-PTHREAD-off: ${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%||g;' \ ${WRKSRC}/hints/freebsd.sh +.if ${CC} == /nxb-bin/usr/bin/cc +post-build: + @${REINPLACE_CMD} -e 's=/nxb-bin==' \ + ${WRKSRC}/lib/Config.pm ${WRKSRC}/lib/Config_heavy.pl +.endif + post-install: ${MKDIR} ${STAGEDIR}${SITE_MAN1} ${STAGEDIR}${SITE_MAN3} ${MKDIR} ${STAGEDIR}${SITE_ARCH}/auto Modified: head/lang/perl5.18/Makefile ============================================================================== --- head/lang/perl5.18/Makefile Mon Apr 4 07:07:10 2016 (r412501) +++ head/lang/perl5.18/Makefile Mon Apr 4 09:48:54 2016 (r412502) @@ -3,7 +3,7 @@ PORTNAME= perl PORTVERSION= ${PERL_VERSION} -PORTREVISION= 17 +PORTREVISION= 18 CATEGORIES= lang devel perl5 MASTER_SITES= CPAN/../../src/5.0 DIST_SUBDIR= perl @@ -238,6 +238,12 @@ post-patch-PTHREAD-off: ${WRKSRC}/hints/freebsd.sh .endif +.if ${CC} == /nxb-bin/usr/bin/cc +post-build: + @${REINPLACE_CMD} -e 's=/nxb-bin==' \ + ${WRKSRC}/lib/Config.pm ${WRKSRC}/lib/Config_heavy.pl +.endif + post-install: ${MKDIR} ${STAGEDIR}${SITE_MAN1} ${STAGEDIR}${SITE_MAN3} ${MKDIR} ${STAGEDIR}${SITE_ARCH}/auto Modified: head/lang/perl5.20/Makefile ============================================================================== --- head/lang/perl5.20/Makefile Mon Apr 4 07:07:10 2016 (r412501) +++ head/lang/perl5.20/Makefile Mon Apr 4 09:48:54 2016 (r412502) @@ -3,7 +3,7 @@ PORTNAME= perl PORTVERSION= ${PERL_VERSION} -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= lang devel perl5 MASTER_SITES= CPAN/../../src/5.0 DIST_SUBDIR= perl @@ -233,6 +233,12 @@ post-patch-PTHREAD-off: ${WRKSRC}/hints/freebsd.sh .endif +.if ${CC} == /nxb-bin/usr/bin/cc +post-build: + @${REINPLACE_CMD} -e 's=/nxb-bin==' \ + ${WRKSRC}/lib/Config.pm ${WRKSRC}/lib/Config_heavy.pl +.endif + post-install: ${MKDIR} ${STAGEDIR}${SITE_MAN1} ${STAGEDIR}${SITE_MAN3} ${MKDIR} ${STAGEDIR}${SITE_ARCH}/auto Modified: head/lang/perl5.22/Makefile ============================================================================== --- head/lang/perl5.22/Makefile Mon Apr 4 07:07:10 2016 (r412501) +++ head/lang/perl5.22/Makefile Mon Apr 4 09:48:54 2016 (r412502) @@ -3,7 +3,7 @@ PORTNAME= perl DISTVERSION= ${PERL_VERSION} -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= lang devel perl5 MASTER_SITES= CPAN/../../src/5.0 CPAN/../by-authors/id/S/SH/SHAY DIST_SUBDIR= perl @@ -231,6 +231,12 @@ post-patch-PTHREAD-off: ${WRKSRC}/hints/freebsd.sh .endif +.if ${CC} == /nxb-bin/usr/bin/cc +post-build: + @${REINPLACE_CMD} -e 's=/nxb-bin==' \ + ${WRKSRC}/lib/Config.pm ${WRKSRC}/lib/Config_heavy.pl +.endif + post-install: ${MKDIR} ${STAGEDIR}${SITE_MAN1} ${STAGEDIR}${SITE_MAN3} ${MKDIR} ${STAGEDIR}${SITE_ARCH}/auto