From owner-freebsd-ports Thu Feb 28 9:32:28 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7446F37B41B for ; Thu, 28 Feb 2002 09:30:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1SHU1b77542; Thu, 28 Feb 2002 09:30:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id ACB9237B400 for ; Thu, 28 Feb 2002 09:20:33 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1SHKX776098; Thu, 28 Feb 2002 09:20:33 -0800 (PST) (envelope-from nobody) Message-Id: <200202281720.g1SHKX776098@freefall.freebsd.org> Date: Thu, 28 Feb 2002 09:20:33 -0800 (PST) From: KATO Tsuguru To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/35409: Update port: cad/gnucap Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 35409 >Category: ports >Synopsis: Update port: cad/gnucap >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Feb 28 09:30:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: 4.4-RELEASE i386 >Organization: >Environment: >Description: - Support CXX/CXXFLAGS properly >How-To-Repeat: >Fix: diff -urN /usr/ports/cad/gnucap/Makefile cad/gnucap/Makefile --- /usr/ports/cad/gnucap/Makefile Thu Feb 7 16:07:48 2002 +++ cad/gnucap/Makefile Thu Feb 28 22:05:14 2002 @@ -8,6 +8,7 @@ PORTNAME= gnucap PORTVERSION= 0.30 +PORTREVISION= 1 CATEGORIES= cad MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -15,6 +16,13 @@ MAINTAINER= ports@FreeBSD.org USE_GMAKE= yes +MAKE_ENV= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" + +post-patch: +.for file in src/Make2.g++ src/Make.aux modelgen/Make.aux + @${PERL} -pi -e 's|g\+\+|\$$\{CXX\}|g ; \ + s|-O2|\$$\{CXXFLAGS\}|g' ${WRKSRC}/${file} +.endfor do-install: ${INSTALL_PROGRAM} ${WRKSRC}/modelgen/O/modelgen ${PREFIX}/bin >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message