Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Aug 2006 00:11:38 +0200 (CEST)
From:      Gabor Kovesdan <gabor@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Gabor Kovesdan <gabor@FreeBSD.org>
Subject:   ports/101783: [patch] archivers/bzip
Message-ID:  <20060810221138.15355289C26@catv-50635cb6.catv.broadband.hu>
Resent-Message-ID: <200608102220.k7AMKGAD097814@freefall.freebsd.org>

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

>Number:         101783
>Category:       ports
>Synopsis:       [patch] archivers/bzip
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 10 22:20:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Gabor Kovesdan
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
n/a
>Environment:
System: FreeBSD spitfire 6.1-STABLE FreeBSD 6.1-STABLE #0: Sat Jul 29 18:31:18 CEST 2006 gabor@spitfire:/usr/src/sys/i386/compile/SPITFIRE i386

>Description:

- Respect DESTDIR

>How-To-Repeat:
>Fix:

--- archivers-bzip.diff begins here ---
Index: Makefile
===================================================================
RCS file: /usr/cvs/ports/archivers/bzip/Makefile,v
retrieving revision 1.28
diff -u -r1.28 Makefile
--- Makefile	5 Apr 2006 21:04:27 -0000	1.28
+++ Makefile	10 Aug 2006 19:41:08 -0000
@@ -24,10 +24,10 @@
 	@${CAT} ${FILESDIR}/COPYRIGHT
 
 do-install:
-	${RM} -f ${PREFIX}/bin/bzip ${PREFIX}/bin/bunzip
-	${INSTALL_PROGRAM} ${WRKSRC}/bzip ${PREFIX}/bin/bzip
-	${LN} -fs ${PREFIX}/bin/bzip ${PREFIX}/bin/bunzip
-	${INSTALL_MAN} ${WRKSRC}/bzip.1 ${PREFIX}/man/man1/bzip.1
-	${INSTALL_MAN} ${WRKSRC}/bzip.1 ${PREFIX}/man/man1/bunzip.1
+	${RM} -f ${PREFIX}/bin/bzip ${TARGETDIR}/bin/bunzip
+	${INSTALL_PROGRAM} ${WRKSRC}/bzip ${TARGETDIR}/bin/bzip
+	${LN} -fs ${TARGETDIR}/bin/bzip ${TARGETDIR}/bin/bunzip
+	${INSTALL_MAN} ${WRKSRC}/bzip.1 ${MAN1PREFIX}/man/man1/bzip.1
+	${INSTALL_MAN} ${WRKSRC}/bzip.1 ${MAN1PREFIX}/man/man1/bunzip.1
 
 .include <bsd.port.mk>
--- archivers-bzip.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?20060810221138.15355289C26>