Date: Mon, 5 Apr 2004 03:27:45 -0400 (EDT) From: michael johnson <ahze@ahze.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: matthias@mteege.de Subject: ports/65198: [PATCH] net/ncp: [Respect CC & CFLAGS] Message-ID: <200404050727.i357Rj8k006250@gentoo.ahze.net> Resent-Message-ID: <200404050730.i357ULJ5012344@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 65198 >Category: ports >Synopsis: [PATCH] net/ncp: [Respect CC & CFLAGS] >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: Mon Apr 05 00:30:20 PDT 2004 >Closed-Date: >Last-Modified: >Originator: michael johnson >Release: FreeBSD 5.2-CURRENT i386 >Organization: >Environment: System: FreeBSD gentoo.ahze.net 5.2-CURRENT FreeBSD 5.2-CURRENT #37: Sat Mar 27 18:30:44 EST 2004 >Description: - Respect CC & CFLAGS Port maintainer (matthias@mteege.de) is cc'd. Generated with FreeBSD Port Tools 0.50 >How-To-Repeat: >Fix: --- ncp-1.2.3.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/net/ncp/Makefile,v retrieving revision 1.1 diff -u -r1.1 Makefile --- Makefile 24 Jul 2003 19:10:37 -0000 1.1 +++ Makefile 5 Apr 2004 07:24:17 -0000 @@ -17,6 +17,13 @@ WRKSRC= ${WRKDIR}/${PORTNAME} USE_BZIP2= yes +USE_REINPLACE= yes + +post-patch: + @${REINPLACE_CMD} -e 's|gcc -O2|${CC} ${CFLAGS}|' \ + ${WRKSRC}/conf-cc + @${REINPLACE_CMD} -e 's|gcc|${CC} ${LDFLAGS}|' \ + ${WRKSRC}/conf-ld do-install: cd ${WRKSRC}; ${INSTALL_PROGRAM} ncp ${PREFIX}/bin --- ncp-1.2.3.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?200404050727.i357Rj8k006250>