From owner-freebsd-bugs  Tue Jan 12 04:10:06 1999
Return-Path: <owner-freebsd-bugs@FreeBSD.ORG>
Received: (from majordom@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id EAA10214
          for freebsd-bugs-outgoing; Tue, 12 Jan 1999 04:10:06 -0800 (PST)
          (envelope-from owner-freebsd-bugs@FreeBSD.ORG)
Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA10206
          for <freebsd-bugs@FreeBSD.org>; Tue, 12 Jan 1999 04:10:05 -0800 (PST)
          (envelope-from gnats@FreeBSD.org)
Received: (from gnats@localhost)
	by freefall.freebsd.org (8.8.8/8.8.5) id EAA11793;
	Tue, 12 Jan 1999 04:10:00 -0800 (PST)
Received: from jau.tmt.tele.fi (jau.tmt.tele.fi [194.252.70.85])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA07412
          for <FreeBSD-gnats-submit@freebsd.org>; Tue, 12 Jan 1999 04:02:46 -0800 (PST)
          (envelope-from jau@jau.tmt.tele.fi)
Received: (from jau@localhost)
	by jau.tmt.tele.fi (8.9.1/8.9.1/JAU-2.2) id OAA01454;
	Tue, 12 Jan 1999 14:02:10 +0200 (EET)
Message-Id: <199901121202.OAA01454@jau.tmt.tele.fi>
Date: Tue, 12 Jan 1999 14:02:10 +0200 (EET)
From: "Jukka A. Ukkonen" <jau@jau.tmt.tele.fi>
Reply-To: jau@jau.tmt.tele.fi
To: FreeBSD-gnats-submit@FreeBSD.ORG
X-Send-Pr-Version: 3.2
Subject: bin/9458: Wrong path in libpcap Makefile
Sender: owner-freebsd-bugs@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org


>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