ports/183393: [PATCH] devel/p5-ExtUtils-ParseXS: Fixup build with pkgng
Mathieu Arnold
mat at FreeBSD.org
Mon Oct 28 12:00:01 UTC 2013
>Number: 183393
>Category: ports
>Synopsis: [PATCH] devel/p5-ExtUtils-ParseXS: Fixup build with pkgng
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Oct 28 12:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Mathieu Arnold
>Release: FreeBSD 9.2-RELEASE i386
>Organization:
Absolight
>Environment:
System: FreeBSD aragorn.in.absolight.net 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Fri Sep 27 03:52:52 UTC
>Description:
With pkgng, you can't overwrite files that already exist. We ship a xsubpp file
with every perl version we have, so this port will never install.
Port maintainer (demon at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.99_8 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:
--- p5-ExtUtils-ParseXS-3.22.patch begins here ---
diff -ruN /usr/ports/devel/p5-ExtUtils-ParseXS/Makefile ./Makefile
--- /usr/ports/devel/p5-ExtUtils-ParseXS/Makefile 2013-10-27 15:41:56.000000000 +0100
+++ ./Makefile 2013-10-28 12:47:09.000000000 +0100
@@ -1,5 +1,5 @@
# Created by: Dmitry Sivachenko <demon at FreeBSD.org>
-# $FreeBSD: devel/p5-ExtUtils-ParseXS/Makefile 331776 2013-10-27 14:41:56Z demon $
+# $FreeBSD: head/devel/p5-ExtUtils-ParseXS/Makefile 331776 2013-10-27 14:41:56Z demon $
PORTNAME= ExtUtils-ParseXS
PORTVERSION= 3.22
@@ -11,7 +11,13 @@
MAINTAINER= demon at FreeBSD.org
COMMENT= Converts Perl XS code into C code
-USES= perl5
+USES= perl5 shebangfix
USE_PERL5= configure
+# Overwrite this here
+perl_OLD_CMD= perl
+SHEBANG_FILES= lib/ExtUtils/xsubpp
+
+post-patch:
+ @${REINPLACE_CMD} '/EXE_FILES/d' ${WRKSRC}/Makefile.PL
.include <bsd.port.mk>
diff -ruN /usr/ports/devel/p5-ExtUtils-ParseXS/pkg-plist ./pkg-plist
--- /usr/ports/devel/p5-ExtUtils-ParseXS/pkg-plist 2013-10-27 15:41:56.000000000 +0100
+++ ./pkg-plist 2013-10-28 12:48:59.000000000 +0100
@@ -1,5 +1,3 @@
-bin/xsubpp
-man/man1/xsubpp.1.gz
%%PERL5_MAN3%%/ExtUtils::ParseXS.3.gz
%%PERL5_MAN3%%/ExtUtils::ParseXS::Constants.3.gz
%%PERL5_MAN3%%/ExtUtils::ParseXS::Eval.3.gz
--- p5-ExtUtils-ParseXS-3.22.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list