Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Aug 2006 12:41:20 +0200 (CEST)
From:      Gabor Kovesdan <gabor@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Gabor Kovesdan <gabor@FreeBSD.org>
Subject:   ports/101807: [patch] archivers/unalz
Message-ID:  <20060811104120.AAD3B289C27@catv-50635cb6.catv.broadband.hu>
Resent-Message-ID: <200608111050.k7BAoBb1067938@freefall.freebsd.org>

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

>Number:         101807
>Category:       ports
>Synopsis:       [patch] archivers/unalz
>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:   Fri Aug 11 10:50:11 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
- Respect CC/CXX
- Bump PORTREVISION

>How-To-Repeat:
>Fix:

--- archivers-unalz.diff begins here ---
Index: Makefile
===================================================================
RCS file: /usr/cvs/ports/archivers/unalz/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile	22 Apr 2006 04:21:00 -0000	1.5
+++ Makefile	11 Aug 2006 10:37:05 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	unalz
 PORTVERSION=	0.55
+PORTREVISION=	1
 CATEGORIES=	archivers
 MASTER_SITES=	http://www.kipple.pe.kr/win/unalz/
 EXTRACT_SUFX=	.tgz
@@ -26,8 +27,11 @@
 		${TR} -d '\015' < ${WRKSRC}/$$f > ${WRKSRC}/$$f.tmp && \
 		${MV} -f ${WRKSRC}/$$f.tmp ${WRKSRC}/$$f; \
 	done
+	${REINPLACE_CMD} -e 's|CPP = g++|CPP = ${CXX}|' \
+			-e "s|CC  =|CC  ?=|" \
+			${WRKSRC}/Makefile
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/unalz ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/unalz ${TARGETDIR}/bin
 
 .include <bsd.port.mk>
--- archivers-unalz.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?20060811104120.AAD3B289C27>