Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jun 2006 12:47:38 +0300
From:      "Ion-Mihai "IOnut" Tetcu" <itetcu@people.tecnik93.com>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/98740: [PATCH] sysutils/multitail: teach it to use the correct .conf file location
Message-ID:  <1149846458.4023@it.buh.tecnik93.com>
Resent-Message-ID: <200606090950.k599oMMc017519@freefall.freebsd.org>

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

>Number:         98740
>Category:       ports
>Synopsis:       [PATCH] sysutils/multitail: teach it to use the correct .conf file location
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 09 09:50:22 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Ion-Mihai "IOnut" Tetcu
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
Tecnik'93 
>Environment:


System: FreeBSD 6.1-STABLE #5: Fri Jun  9 11:15:37 EEST 2006
    root@it.buh.tecnik93.com:/usr/obj/usr/src/sys/IT6_U_P



>Description:


 # make
===>  Extracting for multitail-4.0.4
=> MD5 Checksum OK for multitail-4.0.4.tgz.
=> SHA256 Checksum OK for multitail-4.0.4.tgz.
===>  Patching for multitail-4.0.4
===>   multitail-4.0.4 depends on executable: gmake - found
===>  Configuring for multitail-4.0.4
===>  Building for multitail-4.0.4
cc -O2 -pipe  -D`uname` -O2 -Wall -DVERSION=\"4.0.4\" -g  -DCONFIG_FILE=\"//etc/multitail.conf\"   -c -o utils.o utils.c
                                                                                                           ^^^^^^^^^^^^^^



>How-To-Repeat:





>Fix:


--- multitail.diff begins here ---
? multitail.diff
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/sysutils/multitail/Makefile,v
retrieving revision 1.53
diff -u -r1.53 Makefile
--- Makefile	5 Jun 2006 15:25:00 -0000	1.53
+++ Makefile	9 Jun 2006 09:43:52 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	multitail
 PORTVERSION=	4.0.4
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	http://www.vanheusden.com/multitail/
 EXTRACT_SUFX=	.tgz
@@ -27,7 +28,7 @@
 post-patch:
 	@${REINPLACE_CMD} -e '/^CC/d ; s/^CFLAGS=/CFLAGS+=/' ${WRKSRC}/Makefile
 	@${REINPLACE_CMD} -e 's,/etc/multitail.conf,${PREFIX}/etc/multitail.conf,' \
-		${WRKSRC}/mt.c
+		${WRKSRC}/mt.c ${WRKSRC}/Makefile
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/multitail ${PREFIX}/bin/
--- multitail.diff ends here ---



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



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