From owner-freebsd-ports  Fri Jul  7 19:10:12 2000
Delivered-To: freebsd-ports@freebsd.org
Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21])
	by hub.freebsd.org (Postfix) with ESMTP id A4E7937B574
	for <freebsd-ports@FreeBSD.org>; Fri,  7 Jul 2000 19:10:04 -0700 (PDT)
	(envelope-from gnats@FreeBSD.org)
Received: (from gnats@localhost)
	by freefall.freebsd.org (8.9.3/8.9.2) id TAA82697;
	Fri, 7 Jul 2000 19:10:04 -0700 (PDT)
	(envelope-from gnats@FreeBSD.org)
Received: from public.bta.net.cn (public.bta.net.cn [202.96.0.97])
	by hub.freebsd.org (Postfix) with ESMTP id CE70237B574
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  7 Jul 2000 19:05:15 -0700 (PDT)
	(envelope-from robinson@netrinsics.com)
Received: from netrinsics.com (bt-214-073.bta.net.cn [202.106.214.73])
	by public.bta.net.cn (8.9.3/8.9.3) with ESMTP id KAA13698
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 8 Jul 2000 10:01:47 +0800 (GMT)
Received: (from root@localhost)
	by netrinsics.com (8.9.3/8.9.3) id KAA07531;
	Sat, 8 Jul 2000 10:06:20 +0800 (+0800)
	(envelope-from robinson)
Message-Id: <200007080206.KAA07531@netrinsics.com>
Date: Sat, 8 Jul 2000 10:06:20 +0800 (+0800)
From: Michael Robinson <robinson@netrinsics.com>
Reply-To: robinson@netrinsics.com
To: FreeBSD-gnats-submit@freebsd.org
X-Send-Pr-Version: 3.2
Subject: ports/19774: XFree86 ports do not set package name; wipe out package database
Sender: owner-freebsd-ports@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org


>Number:         19774
>Category:       ports
>Synopsis:       XFree86 ports do not set package name; wipe out package database
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 07 19:10:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Michael Robinson
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
>Environment:

XFree86 and XFree86-4 ports

>Description:

The Makefile in the respective ports does not set the PKGNAME variable.  When
the package is installed, it does so with a PKGNAME of "", which nukes the
whole /var/pkg/db database.

>How-To-Repeat:

# cd /usr/ports/x11/XFree86
# make
# make install

>Fix:

Add the following line to the Makefile in the respective ports.

PKGNAME = ${PORTNAME}-${PORTVERSION}



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


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