Date: Fri, 11 Aug 2006 12:27:35 +0200 (CEST) From: Gabor Kovesdan <gabor@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Gabor Kovesdan <gabor@FreeBSD.org> Subject: ports/101806: [patch] archivers/mtf Message-ID: <20060811102735.9123F289C27@catv-50635cb6.catv.broadband.hu> Resent-Message-ID: <200608111030.k7BAUApJ065604@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 101806 >Category: ports >Synopsis: [patch] archivers/mtf >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:30:10 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 - Remove an unnecessary .if >How-To-Repeat: >Fix: --- archivers-mtf.diff begins here --- Index: Makefile =================================================================== RCS file: /usr/cvs/ports/archivers/mtf/Makefile,v retrieving revision 1.3 diff -u -r1.3 Makefile --- Makefile 4 Nov 2005 13:27:42 -0000 1.3 +++ Makefile 11 Aug 2006 10:24:51 -0000 @@ -16,16 +16,16 @@ COMMENT= A Unix reader for the Microsoft Tape Format used by NT Backup ALL_TARGET= # empty -MAKE_ARGS= CFLAGS="${CFLAGS}" - PLIST_FILES= bin/mtf - -.if !defined(NOPORTDOCS) PORTDOCS= README -.endif + +post-patch: + @${REINPLACE_CMD} -e "s|CC=|CC?=|" \ + -e "s|CFLAGS=|CFLAGS?=|" \ + ${WRKSRC}/Makefile do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/mtf ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/mtf ${TARGETDIR}/bin .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} --- archivers-mtf.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?20060811102735.9123F289C27>