Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Sep 2017 12:22:18 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r449684 - head/lang/perl5-devel
Message-ID:  <201709121222.v8CCMIjj007783@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Tue Sep 12 12:22:18 2017
New Revision: 449684
URL: https://svnweb.freebsd.org/changeset/ports/449684

Log:
  Fix -i -ne usage when the argument has a full path.
  
  Right now, it fails with:
  
  Can't rename in-place work file '/tmp/g5jI40tc' to '/tmp/foo': Capabilities insufficient
  
  Obtained from:	#p5p on irc.perl.org
  Sponsored by:	Absolight

Modified:
  head/lang/perl5-devel/Makefile   (contents, props changed)

Modified: head/lang/perl5-devel/Makefile
==============================================================================
--- head/lang/perl5-devel/Makefile	Tue Sep 12 11:15:03 2017	(r449683)
+++ head/lang/perl5-devel/Makefile	Tue Sep 12 12:22:18 2017	(r449684)
@@ -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
@@ -125,6 +125,10 @@ CONFIGURE_ARGS=	-sde -Dprefix=${PREFIX} \
 CONFIGURE_ARGS+=	\
 	-Alddlflags='-L${WRKSRC} -L${PREFIX}/${_ARCH_LIB}/CORE -lperl' \
 	-Dshrpldflags='$$(LDDLFLAGS:N-L${WRKSRC}:N-L${PREFIX}/${_ARCH_LIB}/CORE:N-lperl) -Wl,-soname,$$(LIBPERL)'
+
+# XXX should be fixed soon.
+CONFIGURE_ARGS+= \
+	 -Accflags=-DNO_USE_ATFUNCTIONS
 
 # Give a hint of where libperl.so can be found.
 USE_LDCONFIG=	${PREFIX}/${_ARCH_LIB}/CORE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709121222.v8CCMIjj007783>