Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jan 1999 14:02:10 +0200 (EET)
From:      "Jukka A. Ukkonen" <jau@jau.tmt.tele.fi>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   bin/9458: Wrong path in libpcap Makefile
Message-ID:  <199901121202.OAA01454@jau.tmt.tele.fi>

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

>Number:         9458
>Category:       bin
>Synopsis:       Wrong path in libpcap Makefile
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 12 04:10:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Jukka A. Ukkonen
>Release:        FreeBSD 2.2.8-RELEASE i386
>Organization:
Sonera Ltd. / Internet Services
>Environment:

	Quite typical Pentium Pro @ 200 MHz with FreeBSD 2.2.8-RELEASE

>Description:

	There was an odd path definition in the libpcap Makefile.
	The wrong path contained extra elements ../contrib which
	caused compilation of libpcap to fail.

>How-To-Repeat:

	Go to /usr/src/lib and issue make. At the time libpcap gets
	built the make should botch.

>Fix:
	
	Here is the obvious patch...

--- /usr/src/lib/libpcap/Makefile.orig	Tue Jan 12 13:54:57 1999
+++ /usr/src/lib/libpcap/Makefile	Tue Jan 12 13:51:05 1999
@@ -21,7 +21,7 @@
 #
 # Magic to grab sources out of src/contrib
 #
-PCAP_DISTDIR?=${.CURDIR}/../../contrib/libpcap
+PCAP_DISTDIR?=${.CURDIR}/../libpcap
 CFLAGS+=-I${PCAP_DISTDIR} -I${PCAP_DISTDIR}/lbl -I${PCAP_DISTDIR}/bpf
 .PATH:	${PCAP_DISTDIR}
 .PATH:	${PCAP_DISTDIR}/bpf/net

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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



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