From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jul 1 18:51:06 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 6D9C916A4CE for ; Thu, 1 Jul 2004 18:51:06 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E1FC43D1D for ; Thu, 1 Jul 2004 18:51:06 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i61IoL60082345 for ; Thu, 1 Jul 2004 18:50:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i61IoLoM082344; Thu, 1 Jul 2004 18:50:21 GMT (envelope-from gnats) Date: Thu, 1 Jul 2004 18:50:21 GMT Message-Id: <200407011850.i61IoLoM082344@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: "Ian D. Leroux" Subject: Re: ports/68464: devel/prcs update request X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Ian D. Leroux" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jul 2004 18:51:06 -0000 The following reply was made to PR ports/68464; it has been noted by GNATS. From: "Ian D. Leroux" To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: Re: ports/68464: devel/prcs update request Date: Thu, 1 Jul 2004 14:42:29 -0400 Ok, here's my first shot at a patch. Explanation of changes: - Update PORTVERSION and PORTREVISION, and distinfo - Drop USE_GCC=2.95, since the port now compiles with gcc3.x - The previous version decided whether or not to install various emacs support files by checking .if exists(${LOCALBASE}/bin/emacs) These conditionals don't seem to work properly, perhaps because LOCALBASE isn't defined at the time they are evaluated. In any case the solution seems a bit kludgy. I've completely removed that portion of the port pending suggestions from more experienced folk. The port builds, packages and deinstalls cleanly in my tests. Comments/suggestions/criticisms gratefully received. Ian Leroux diff -ru /usr/ports/devel/prcs/Makefile ./Makefile --- /usr/ports/devel/prcs/Makefile Tue Feb 17 09:10:25 2004 +++ ./Makefile Thu Jul 1 13:59:54 2004 @@ -6,8 +6,8 @@ # PORTNAME= prcs -PORTVERSION= 1.3.0 -PORTREVISION= 1 +PORTVERSION= 1.3.3 +PORTREVISION= 0 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -18,32 +18,13 @@ USE_GMAKE= yes GNU_CONFIGURE= yes USE_REINPLACE= yes -USE_GCC= 2.95 MAN1= prcs.1 INFO= prcs -PLIST_FILES= bin/prcs bin/prcs-callback bin/prcs-ediff bin/prcs-emerge - -.if exists(${LOCALBASE}/bin/emacs) -PLIST_FILES+= share/emacs/site-lisp/prcs.el \ - share/emacs/site-lisp/prcs.elc \ - share/emacs/site-lisp/prcs-ediff.el \ - share/emacs/site-lisp/prcs-ediff.elc \ - share/emacs/site-lisp/prcs-hooks.el \ - share/emacs/site-lisp/prcs-hooks.elc -.endif - -post-patch: - ${REINPLACE_CMD} -Ee 's,#!/usr/local/bin/perl5?,#!${PERL},g' \ - ${WRKSRC}/contrib/prcs-* +PLIST_FILES= bin/prcs pre-configure: -.if !exists(${LOCALBASE}/bin/emacs) ${REINPLACE_CMD} -Ee "s@^(SUBDIRS = .*) emacs (.*)@\1 \2@" \ ${WRKSRC}/Makefile.in -.endif - -post-install: - install-info ${PREFIX}/info/${INFO}.info ${PREFIX}/info/dir .include diff -ru /usr/ports/devel/prcs/distinfo ./distinfo --- /usr/ports/devel/prcs/distinfo Mon Jun 28 21:44:02 2004 +++ ./distinfo Wed Jun 30 19:36:47 2004 @@ -1,2 +1,2 @@ -MD5 (prcs-1.3.0.tar.gz) = 1b81acce7da7121bf9095d610ff67366 -SIZE (prcs-1.3.0.tar.gz) = 829632 +MD5 (prcs-1.3.3.tar.gz) = 057a0e243828104d0e672ec1cbf3fea0 +SIZE (prcs-1.3.3.tar.gz) = 907482