Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Feb 1998 22:58:11 -0500 (EST)
From:      "Garrett A. Wollman" <wollman@crs-source.lcs.mit.edu>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/5642: bind-8 port has wrong paths
Message-ID:  <199802040358.WAA13415@crs-source.lcs.mit.edu>

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

>Number:         5642
>Category:       ports
>Synopsis:       bind-8 port has wrong paths
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb  3 20:00:03 PST 1998
>Last-Modified:
>Originator:     Garrett A. Wollman
>Organization:
MIT Laboratory for Computer Science
>Release:        FreeBSD 2.2.5-RELEASE i386
>Environment:

	any

>Description:

	The wrong paths to named and named-xfer are built into
	named and ndc.

>How-To-Repeat:

	cd /usr/ports/net/bind8; make install
	more /usr/local/sbin/ndc
	note reference to /usr/sbin/named.

>Fix:
	
--- Makefile.orig	Tue Feb  3 22:45:33 1998
+++ Makefile	Tue Feb  3 22:49:20 1998
@@ -23,6 +23,12 @@
 
 PATCH_ARGS?=	-d ${WRKDIR} -E ${PATCH_STRIP}
 
+PA_H=	${WRKSRC}/port/freebsd/include/port_after.h
+
+post-configure:
+	${MV} ${PA_H} ${PA_H}.orig
+	sed "s,/usr,${PREFIX}," ${PA_H}.orig >${PA_H}
+
 post-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/bin/named/named-bootconf.pl ${PREFIX}/bin/
 #	for i in ${MAN1}; do \


>Audit-Trail:
>Unformatted:



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