From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Mar 12 21:00:40 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 8F3AD16A4CF for ; Fri, 12 Mar 2004 21:00:40 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D018A43D41 for ; Fri, 12 Mar 2004 21:00:24 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i2D50Obv039866 for ; Fri, 12 Mar 2004 21:00:24 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i2D50OoG039847; Fri, 12 Mar 2004 21:00:24 -0800 (PST) (envelope-from gnats) Resent-Date: Fri, 12 Mar 2004 21:00:24 -0800 (PST) Resent-Message-Id: <200403130500.i2D50OoG039847@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, Yen-Ming Lee Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 33F2716A4CE for ; Fri, 12 Mar 2004 20:55:16 -0800 (PST) Received: from utopia.leeym.com (utopia.leeym.com [61.218.64.93]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCE6743D41 for ; Fri, 12 Mar 2004 20:55:11 -0800 (PST) (envelope-from leeym@utopia.leeym.com) Received: from localhost (localhost [127.0.0.1]) by utopia.leeym.com (Postfix) with ESMTP id B46863EACDF for ; Sat, 13 Mar 2004 12:55:09 +0800 (CST) Received: from utopia.leeym.com ([127.0.0.1]) by localhost (utopia.leeym.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 71600-05 for ; Sat, 13 Mar 2004 12:55:06 +0800 (CST) Received: by utopia.leeym.com (Postfix, from userid 1000) id 9E3D33EACDE; Sat, 13 Mar 2004 12:55:06 +0800 (CST) Message-Id: <20040313045506.9E3D33EACDE@utopia.leeym.com> Date: Sat, 13 Mar 2004 12:55:06 +0800 (CST) From: Yen-Ming Lee To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/64193: fix port: lang/gcc295 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Yen-Ming Lee List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Mar 2004 05:00:40 -0000 >Number: 64193 >Category: ports >Synopsis: fix port: lang/gcc295 >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 Mar 12 21:00:24 PST 2004 >Closed-Date: >Last-Modified: >Originator: Yen-Ming Lee >Release: FreeBSD 5.2.1-RELEASE-p1 i386 >Organization: >Environment: System: FreeBSD utopia.leeym.com 5.2.1-RELEASE-p1 FreeBSD 5.2.1-RELEASE-p1 #22: Fri Mar 5 05:34:20 CST 2004 root@utopia.leeym.com:/usr/obj/usr/src/sys/UTOPIA i386 >Description: - use INFO, which will remove PREFIX/info/{gcc,cpp}*.info when deinstalling - some cosmetic update in Makefile >How-To-Repeat: >Fix: --- gcc295.diff begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/lang/gcc295/Makefile,v retrieving revision 1.98 diff -u -r1.98 Makefile --- Makefile 17 Feb 2004 00:02:45 -0000 1.98 +++ Makefile 13 Mar 2004 04:49:41 -0000 @@ -51,14 +51,15 @@ #CONFIGURE_ARGS+= --program-suffix=-295 CONFIGURE_ENV= MAKEINFO="makeinfo --no-split" .if defined(WANT_SHAREDLIBS) -CONFIGURE_ARGS+= --enable-shared +CONFIGURE_ARGS+=--enable-shared .endif .if defined(WANT_THREADS) # ?is this an ObjC only thing? -CONFIGURE_ARGS+= --enable-threads=posix +CONFIGURE_ARGS+=--enable-threads=posix .endif ALL_TARGET= bootstrap MAN1= cccp.1 g++295.1 gcc295.1 +INFO= gcc cpp pre-patch: @${MV} ${WRKSRC}/gcc/config/i386/freebsd.h ${WRKSRC}/gcc/config/i386/freebsd-aout.h @@ -76,8 +77,8 @@ @${CP} ${FILESDIR}/alpha-freebsd.h ${WRKSRC}/gcc/config/alpha/freebsd.h @# Keep from running `autoconf' and `autoheader' since we modified @# configure.in by patching it. - @touch ${WRKSRC}/gcc/configure - @touch ${WRKSRC}/gcc/cstamp-h.in + @${TOUCH} ${WRKSRC}/gcc/configure + @${TOUCH} ${WRKSRC}/gcc/cstamp-h.in pre-install: ${MKDIR} ${PREFIX}/info @@ -109,7 +110,7 @@ .if defined(WANT_SHAREDLIBS) ${MV} -f ${PREFIX}/lib/libstdc++.so* ${TARGLIB} .endif -.for info in cpp gcc +.for info in ${INFO} install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir .endfor cd ${PREFIX} ;\ Index: pkg-plist =================================================================== RCS file: /home/pcvs/ports/lang/gcc295/pkg-plist,v retrieving revision 1.33 diff -u -r1.33 pkg-plist --- pkg-plist 31 Dec 2002 23:00:02 -0000 1.33 +++ pkg-plist 13 Mar 2004 04:49:41 -0000 @@ -10,12 +10,6 @@ @comment Insert PLIST.gcc-lib here @comment -=[ begin PLIST.gcc-lib ]=- @comment -=[ end PLIST.gcc-lib ]=- -@unexec install-info --delete %D/info/gcc.info %D/info/dir -@unexec install-info --delete %D/info/cpp.info %D/info/dir -info/cpp.info -info/gcc.info -@exec install-info %D/info/cpp.info %D/info/dir -@exec install-info %D/info/gcc.info %D/info/dir @dirrm %%GNU_HOST%%/include @dirrm %%GNU_HOST%% @dirrm lib/gcc-lib/%%GNU_HOST%%/%%EGCS_REV%%/include/g++/std --- gcc295.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: