From hmo@sep.oldach.net  Tue Aug 27 22:24:39 2002
Return-Path: <hmo@sep.oldach.net>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id BAB6837B400
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 27 Aug 2002 22:24:39 -0700 (PDT)
Received: from sep.oldach.net (sep.oldach.net [194.180.25.6])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 7F2AE43E3B
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 27 Aug 2002 22:24:38 -0700 (PDT)
	(envelope-from hmo@sep.oldach.net)
Received: from sep.oldach.net (localhost [127.0.0.1])
	by sep.oldach.net (8.12.5/8.12.5/hmo29jun02) with ESMTP id g7S5OUl6005555
	(version=TLSv1/SSLv3 cipher=EDH-DSS-DES-CBC3-SHA bits=168 verify=NO);
	Wed, 28 Aug 2002 07:24:31 +0200 (CEST)
	(envelope-from hmo@sep.oldach.net)
Received: (from hmo@localhost)
	by sep.oldach.net (8.12.5/8.12.5/Submit) id g7S5OQY2005554;
	Wed, 28 Aug 2002 07:24:26 +0200 (CEST)
	(envelope-from hmo)
Message-Id: <200208280524.g7S5OQY2005554@sep.oldach.net>
Date: Wed, 28 Aug 2002 07:24:26 +0200 (CEST)
From: Helge Oldach <drweb28aug02@oldach.net>
Reply-To: Helge Oldach <drweb28aug02@oldach.net>
To: FreeBSD-gnats-submit@freebsd.org
Subject: PATCH: ports/security/drweb fails to install with WRKDIRPREFIX
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         42107
>Category:       ports
>Synopsis:       PATCH: ports/security/drweb fails to install with WRKDIRPREFIX
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 27 22:30:01 PDT 2002
>Closed-Date:    Thu Aug 29 13:46:23 PDT 2002
>Last-Modified:  Thu Aug 29 13:46:23 PDT 2002
>Originator:     Helge Oldach
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
>Environment:
System: FreeBSD sep.oldach.net 4.6-STABLE FreeBSD 4.6-STABLE #0: Fri Aug 9 04:19:51 CEST 2002 toor@sep.oldach.net:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:

If building ports with WRKDIRPREFIX defined, make install will fail.

>How-To-Repeat:

cd /usr/ports/security/drweb && make install

>Fix:

--- Makefile.orig	Mon Aug 26 08:36:21 2002
+++ Makefile	Wed Aug 28 07:23:09 2002
@@ -64,6 +64,6 @@
 	fi
 
 post-install:
-	PKG_PREFIX=${PREFIX} ${SH} pkg-install ${PKGNAME} POST-INSTALL
+	PKG_PREFIX=${PREFIX} ${SH} ${PKGDIR}/pkg-install ${PKGNAME} POST-INSTALL
 
 .include <bsd.port.mk>


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: naddy 
State-Changed-When: Thu Aug 29 13:45:43 PDT 2002 
State-Changed-Why:  
Slightly better fix committed, thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=42107 
>Unformatted:
