From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Apr 5 00:30:21 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D452C16A4CE for ; Mon, 5 Apr 2004 00:30:21 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B492243D5F for ; Mon, 5 Apr 2004 00:30:21 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i357ULbv012346 for ; Mon, 5 Apr 2004 00:30:21 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i357ULJ5012344; Mon, 5 Apr 2004 00:30:21 -0700 (PDT) (envelope-from gnats) Resent-Date: Mon, 5 Apr 2004 00:30:21 -0700 (PDT) Resent-Message-Id: <200404050730.i357ULJ5012344@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, michael johnson Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B6E6516A4CE for ; Mon, 5 Apr 2004 00:27:19 -0700 (PDT) Received: from gentoo.ahze.net (adsl-068-209-163-003.sip.clt.bellsouth.net [68.209.163.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3EAC643D6A for ; Mon, 5 Apr 2004 00:27:19 -0700 (PDT) (envelope-from ahze@gentoo.ahze.net) Received: from gentoo.ahze.net (localhost [127.0.0.1]) by gentoo.ahze.net (8.12.11/8.12.11) with ESMTP id i357Rjt8006251; Mon, 5 Apr 2004 03:27:45 -0400 (EDT) (envelope-from ahze@gentoo.ahze.net) Received: (from root@localhost) by gentoo.ahze.net (8.12.11/8.12.11/Submit) id i357Rj8k006250; Mon, 5 Apr 2004 03:27:45 -0400 (EDT) (envelope-from ahze) Message-Id: <200404050727.i357Rj8k006250@gentoo.ahze.net> Date: Mon, 5 Apr 2004 03:27:45 -0400 (EDT) From: michael johnson To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: matthias@mteege.de Subject: ports/65198: [PATCH] net/ncp: [Respect CC & CFLAGS] X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Apr 2004 07:30:21 -0000 >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: