mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-15 07:56:36 +00:00
Make $^X is deterministic.
Its output can vary, and not be the correct one because of hard links. So replace the hard links with symlinks so that there is only one perl. PR: 232501 Reported by: Helge Oldach
This commit is contained in:
parent
cc6bea1430
commit
2a62300dd5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=483655
@ -7,7 +7,7 @@ PORTNAME= perl
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= ${GH_TAGNAME:C/^v//:C/-g[0-9a-f]*$//}
|
||||
DISTVERSIONSUFFIX= ${GH_TAGNAME:C/.*-g/-g/}
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= lang devel perl5
|
||||
# XXX Leave only CPAN.
|
||||
MASTER_SITES= LOCAL/mat/perl GH
|
||||
@ -303,6 +303,9 @@ post-install:
|
||||
${MKDIR} ${STAGEDIR}${SITE_MAN1} ${STAGEDIR}${SITE_MAN3}
|
||||
${MKDIR} ${STAGEDIR}${SITE_ARCH}/auto
|
||||
${MKDIR} ${STAGEDIR}${SITE_PERL}/auto
|
||||
.if defined(IAMDEFAULTPERL)
|
||||
${LN} -sf perl ${STAGEDIR}${PREFIX}/bin/perl${PERL_VERSION}
|
||||
.endif
|
||||
${LN} -sf libperl.so.${LIBPERL_VER} ${STAGEDIR}${PREFIX}/${_ARCH_LIB}/CORE/libperl.so
|
||||
${LN} -sf libperl.so.${LIBPERL_VER} ${STAGEDIR}${PREFIX}/${_ARCH_LIB}/CORE/libperl.so.${PERL_VER}
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/perl${PERL_VERSION}
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= perl
|
||||
DISTVERSION= ${PERL_VERSION}
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= lang devel perl5
|
||||
MASTER_SITES= CPAN/../../src/5.0 CPAN/../by-authors/id/S/SH/SHAY
|
||||
DIST_SUBDIR= perl
|
||||
@ -256,7 +257,10 @@ post-install:
|
||||
${MKDIR} ${STAGEDIR}${SITE_MAN1} ${STAGEDIR}${SITE_MAN3}
|
||||
${MKDIR} ${STAGEDIR}${SITE_ARCH}/auto
|
||||
${MKDIR} ${STAGEDIR}${SITE_PERL}/auto
|
||||
${LN} ${STAGEDIR}${PREFIX}/bin/perl${PERL_VERSION} ${STAGEDIR}${PREFIX}/bin/perl5
|
||||
.if defined(IAMDEFAULTPERL)
|
||||
${LN} -sf perl ${STAGEDIR}${PREFIX}/bin/perl5
|
||||
${LN} -sf perl ${STAGEDIR}${PREFIX}/bin/perl${PERL_VERSION}
|
||||
.endif
|
||||
${LN} -sf libperl.so.${PERL_VERSION} ${STAGEDIR}${PREFIX}/${_ARCH_LIB}/CORE/libperl.so
|
||||
${LN} -sf libperl.so.${PERL_VERSION} ${STAGEDIR}${PREFIX}/${_ARCH_LIB}/CORE/libperl.so.${PERL_VER}
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/perl${PERL_VERSION}
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= perl
|
||||
DISTVERSION= ${PERL_VERSION}
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= lang devel perl5
|
||||
MASTER_SITES= CPAN/../../src/5.0/
|
||||
DIST_SUBDIR= perl
|
||||
@ -254,7 +255,10 @@ post-install:
|
||||
${MKDIR} ${STAGEDIR}${SITE_MAN1} ${STAGEDIR}${SITE_MAN3}
|
||||
${MKDIR} ${STAGEDIR}${SITE_ARCH}/auto
|
||||
${MKDIR} ${STAGEDIR}${SITE_PERL}/auto
|
||||
${LN} ${STAGEDIR}${PREFIX}/bin/perl${PERL_VERSION} ${STAGEDIR}${PREFIX}/bin/perl5
|
||||
.if defined(IAMDEFAULTPERL)
|
||||
${LN} -sf perl ${STAGEDIR}${PREFIX}/bin/perl5
|
||||
${LN} -sf perl ${STAGEDIR}${PREFIX}/bin/perl${PERL_VERSION}
|
||||
.endif
|
||||
${LN} -sf libperl.so.${PERL_VERSION} ${STAGEDIR}${PREFIX}/${_ARCH_LIB}/CORE/libperl.so
|
||||
${LN} -sf libperl.so.${PERL_VERSION} ${STAGEDIR}${PREFIX}/${_ARCH_LIB}/CORE/libperl.so.${PERL_VER}
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/perl${PERL_VERSION}
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= perl
|
||||
DISTVERSION= ${PERL_VERSION}
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= lang devel perl5
|
||||
MASTER_SITES= CPAN/../../src/5.0 CPAN/../../authors/id/X/XS/XSAWYERX/
|
||||
DIST_SUBDIR= perl
|
||||
@ -255,7 +255,10 @@ post-install:
|
||||
${MKDIR} ${STAGEDIR}${SITE_MAN1} ${STAGEDIR}${SITE_MAN3}
|
||||
${MKDIR} ${STAGEDIR}${SITE_ARCH}/auto
|
||||
${MKDIR} ${STAGEDIR}${SITE_PERL}/auto
|
||||
${LN} ${STAGEDIR}${PREFIX}/bin/perl${PERL_VERSION} ${STAGEDIR}${PREFIX}/bin/perl5
|
||||
.if defined(IAMDEFAULTPERL)
|
||||
${LN} -sf perl ${STAGEDIR}${PREFIX}/bin/perl5
|
||||
${LN} -sf perl ${STAGEDIR}${PREFIX}/bin/perl${PERL_VERSION}
|
||||
.endif
|
||||
${LN} -sf libperl.so.${PERL_VERSION} ${STAGEDIR}${PREFIX}/${_ARCH_LIB}/CORE/libperl.so
|
||||
${LN} -sf libperl.so.${PERL_VERSION} ${STAGEDIR}${PREFIX}/${_ARCH_LIB}/CORE/libperl.so.${PERL_VER}
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/perl${PERL_VERSION}
|
||||
|
Loading…
Reference in New Issue
Block a user