Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Dec 2012 17:15:21 +0100
From:      Kurt Jaeger <fbsd-ports@opsec.eu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        tobez@FreeBSD.org
Subject:   ports/174634: [patch update] fix build for p5-Net-Pcap
Message-ID:  <E1TmRjN-0006C1-8u@fa9.opsec.eu>
Resent-Message-ID: <201212221620.qBMGK091031769@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         174634
>Category:       ports
>Synopsis:       [patch update] fix build for p5-Net-Pcap
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 22 16:20:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Kurt Jaeger
>Release:        FreeBSD 9.1-RELEASE amd64
>Organization:
-
>Environment:
System: FreeBSD fa9.opsec.eu 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64


>Description:
	p5-Net-Pcap fails to build because there the extra patch that no
	longer applies for 0.17.

>How-To-Repeat:
	make
	it fails with
-------
fa9# make
===>  Extracting for p5-Net-Pcap-0.17
=> SHA256 Checksum OK for Net-Pcap-0.17.tar.gz.
===>   p5-Net-Pcap-0.17 depends on file: /usr/local/bin/perl5.16.2 - found
===>  Patching for p5-Net-Pcap-0.17
===>   p5-Net-Pcap-0.17 depends on file: /usr/local/bin/perl5.16.2 - found
===>  Applying extra patch /usr/ports/net/p5-Net-Pcap/files/extra-patch-t__03-openlive.t
1 out of 1 hunks failed--saving rejects to t/03-openlive.t.rej
*** [do-patch] Error code 1

-------
>Fix:

rm files/extra-patch-t__03-openlive.t

and apply this patch:

diff -r -u net/p5-Net-Pcap/Makefile /usr/home/pi/myp/net/p5-Net-Pcap/Makefile
--- net/p5-Net-Pcap/Makefile	2012-12-22 17:06:46.000000000 +0100
+++ /usr/home/pi/myp/net/p5-Net-Pcap/Makefile	2012-12-22 17:08:02.000000000 +0100
@@ -19,10 +19,4 @@
 MAN1=		pcapinfo.1
 MAN3=		Net::Pcap.3
 
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 800000
-EXTRA_PATCHES+=	${FILESDIR}/extra-patch-t__03-openlive.t
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1TmRjN-0006C1-8u>