Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jan 2001 08:28:32 -0500 (EST)
From:      Mike Buchanon <buchanon@mlss15.cl.msu.edu>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/24428: logtool port looking in wrong directory for files
Message-ID:  <200101181328.f0IDSWW81065@mlss15.cl.msu.edu>

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

>Number:         24428
>Category:       ports
>Synopsis:       logtool port looking in wrong directory for files
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 18 05:30:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Mike Buchanon
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
>Environment:

	

>Description:

	sysutils/logtool looks in /etc/logtool by default for it's
	include files.  This is set in logtool.conf in /usr/local/etc

>How-To-Repeat:

	make logtool and run logtool

>Fix:

	add this to the logtool Makefile:
	post-patch:
	.for file in logtool/Makefile logtail/Makefile
        @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/${file}
	.endfor
        @${PERL} -pi -e "s|/etc|${PREFIX}/etc|g" ${WRKSRC}/logtool/config.h
  --->  @${PERL} -pi -e "s|/etc|${PREFIX}/etc|g" ${WRKSRC}/conf/logtool.conf


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


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




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