Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Aug 2006 17:06:45 +0800 (CST)
From:      Gea-Suan Lin <gslin@gslin.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gslin@gslin.org, clsung@FreeBSD.org
Subject:   ports/101894: [PATCH] deskutils/todo: Respect DESTDIR
Message-ID:  <20060812090645.497C53AD@netnews.NCTU.edu.tw>
Resent-Message-ID: <200608120910.k7C9AIYh091192@freefall.freebsd.org>

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

>Number:         101894
>Category:       ports
>Synopsis:       [PATCH] deskutils/todo: Respect DESTDIR
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 12 09:10:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD netnews.NCTU.edu.tw 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 03:43:48 CST 2006
>Description:
- Respect DESTDIR

Port maintainer (clsung@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- todo-1.6.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/deskutils/todo/Makefile /home/staff/gslin/work/ports/todo/Makefile
--- /usr/ports/deskutils/todo/Makefile	Sat Aug  5 03:09:01 2006
+++ /home/staff/gslin/work/ports/todo/Makefile	Sat Aug 12 17:06:21 2006
@@ -29,7 +29,7 @@
 	@${REINPLACE_CMD} -e "s,/bin/sh,${LOCALBASE}/bin/bash," ${WRKSRC}/todo.sh
 
 do-install:
-	@${INSTALL_SCRIPT} ${WRKSRC}/todo.sh ${PREFIX}/bin/todo
-	@${INSTALL_DATA} ${WRKSRC}/.todo ${PREFIX}/etc/dot.todo
+	@${INSTALL_SCRIPT} ${WRKSRC}/todo.sh ${TARGETDIR}/bin/todo
+	@${INSTALL_DATA} ${WRKSRC}/.todo ${TARGETDIR}/etc/dot.todo
 
 .include <bsd.port.mk>
--- todo-1.6.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?20060812090645.497C53AD>