Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Oct 2005 18:10:04 +0400 (MSD)
From:      Dmitry Marakasov <amdmi3@mail.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/87483: [patch] sysutils/gdmap makefile broken
Message-ID:  <20051015141004.BFB0B319E@hades.panopticon>
Resent-Message-ID: <200510151410.j9FEAE5Z014856@freefall.freebsd.org>

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

>Number:         87483
>Category:       ports
>Synopsis:       [patch] sysutils/gdmap makefile broken
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 15 14:10:14 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 5.4-RELEASE-p7 i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 5.4-RELEASE-p7 FreeBSD 5.4-RELEASE-p7 #4: Mon Sep 12 01:19:38 MSD 2005 amdmi3@hades.panopticon:/usr/obj/usr/src/sys/HADES i386

>Description:
	sysutils/gdmap doesn't compile because of broken Makefile:

	===>  Extracting for gdmap-0.5.0
	=> Checksum OK for gdmap-0.5.0.tar.gz.
	===>  Patching for gdmap-0.5.0
	sed: -i may not be used with stdin
	*** Error code 1

	Stop in /usr/ports/sysutils/gdmap.

	Reason is missing backslash on the end of the line in REINPLACE_CMD
>How-To-Repeat:
	cd /usr/ports/sysutiles/gdmap && make
>Fix:

--- gdmap.patch begins here ---
diff -ruN gdmap.orig/Makefile gdmap/Makefile
--- gdmap.orig/Makefile	Fri Oct 14 18:36:57 2005
+++ gdmap/Makefile	Sat Oct 15 18:02:55 2005
@@ -31,7 +31,7 @@
 .endif
 
 post-patch:
-	@${REINPLACE_CMD} -e 's,<sys/vfs.h>,<sys/statvfs.h>,'
+	@${REINPLACE_CMD} -e 's,<sys/vfs.h>,<sys/statvfs.h>,' \
 		${WRKSRC}/src/gui_main.c
 
 .include <bsd.port.post.mk>
--- gdmap.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



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