From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Nov 22 13:37:03 2004 Return-Path: Delivered-To: freebsd-ports-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE8A616A4CF; Mon, 22 Nov 2004 13:37:03 +0000 (GMT) Received: from smtp-out.hotpop.com (smtp-out.hotpop.com [38.113.3.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3022643D58; Mon, 22 Nov 2004 13:37:03 +0000 (GMT) (envelope-from dryice@hotpop.com) Received: from hotpop.com (kubrick.hotpop.com [38.113.3.103]) by smtp-out.hotpop.com (Postfix) with SMTP id 1B58611FFE9E; Mon, 22 Nov 2004 13:37:01 +0000 (UTC) Received: from hotpop.com (unknown [219.146.253.146]) by smtp-3.hotpop.com (Postfix) with ESMTP id 2BF6D120016F; Mon, 22 Nov 2004 13:36:53 +0000 (UTC) Received: by hotpop.com (sSMTP sendmail emulation); Mon, 22 Nov 2004 21:36:48 +0800 X-Mailer: emacs 21.3.1 (via feedmail 8 I) To: Volker Stolz References: <200411221135.iAMBZfpB084520@freefall.freebsd.org> From: Dryice Liu Date: Mon, 22 Nov 2004 21:17:28 +0800 User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (berkeley-unix) Content-Type: text/plain; charset=us-ascii Lines: 94 Message-ID: <86oehqronj.fsf@dryice.3322.org> MIME-Version: 1.0 X-HotPOP: ----------------------------------------------- Sent By HotPOP.com FREE Email Get your FREE POP email at www.HotPOP.com ----------------------------------------------- cc: freebsd-ports-bugs@FreeBSD.org cc: dryice@liu.com.cn Subject: Re: ports/74039: [update]irc/erc: add dependency and byte-compile more 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, 22 Nov 2004 13:37:04 -0000 Volker Stolz wrote: > Synopsis: [update]irc/erc: add dependency and byte-compile more > > State-Changed-From-To: open->feedback > State-Changed-By: vs > State-Changed-When: Mon Nov 22 11:34:25 GMT 2004 > State-Changed-Why: > This looks like it has to be committed after ports/74029. Please, > remember to specify such things in the PR. Also, you forgot to > note that a new patch file was added. > > http://www.freebsd.org/cgi/query-pr.cgi?pr=74039 Ooops, sorry I forgot to mention a new patch file files/patch-Makefile was added. And I made a mistake in the PR (lost a magic "c"). With the attached new diff, this PR should work with either the old or new version of games/emacs-chess and don't need ports/74029 to be committed first. Thanks for taking care of this PR. ---------------------------------------------------------------------- diff -ruN erc.old/Makefile erc/Makefile --- erc.old/Makefile Wed May 26 20:51:13 2004 +++ erc/Makefile Mon Nov 22 20:48:46 2004 @@ -7,6 +7,7 @@ PORTNAME= erc PORTVERSION= 4.0 +PORTREVISION= 1 CATEGORIES+= irc elisp MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= erc @@ -20,6 +21,12 @@ ERC_LISPDIR= ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME} USE_GMAKE= yes + +BUILD_DEPENDS+= \ + ${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}/cedet/common/cedet.el:${PORTSDIR}/devel/cedet${PORTNAMESUFFIX} \ + ${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}/bbdb/bbdb.el:${PORTSDIR}/databases/bbdb${PORTNAMESUFFIX} \ + ${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}/emacs-chess/chess.elc:${PORTSDIR}/games/emacs-chess +RUN_DEPENDS+= ${BUILD_DEPENDS} do-install: ${MKDIR} ${ERC_LISPDIR} diff -ruN erc.old/files/patch-Makefile erc/files/patch-Makefile --- erc.old/files/patch-Makefile Thu Jan 1 08:00:00 1970 +++ erc/files/patch-Makefile Wed Nov 17 21:56:08 2004 @@ -0,0 +1,12 @@ +--- Makefile.orig Sun Jan 11 20:43:15 2004 ++++ Makefile Wed Nov 17 21:55:23 2004 +@@ -3,8 +3,7 @@ + SNAPDIR=erc-$(VERSION).cvs.$(SNAPSHOTDATE) + + SPECIAL = erc-auto.el +-UNCOMPILED = erc-chess.el erc-bbdb.el erc-ibuffer.el erc-speak.el \ +- erc-speedbar.el erc-compat.el ++UNCOMPILED = erc-ibuffer.el erc-speak.el erc-compat.el + ALLSOURCE = $(wildcard *.el) + SOURCE = $(filter-out $(SPECIAL) $(UNCOMPILED),$(ALLSOURCE)) + TARGET = $(patsubst %.el,%.elc,$(SPECIAL) $(SOURCE)) diff -ruN erc.old/pkg-plist erc/pkg-plist --- erc.old/pkg-plist Wed May 26 05:59:21 2004 +++ erc/pkg-plist Mon Nov 22 20:48:49 2004 @@ -5,9 +5,11 @@ %%EMACS_VERSION_SITE_LISPDIR%%/erc/erc-autojoin.el %%EMACS_VERSION_SITE_LISPDIR%%/erc/erc-autojoin.elc %%EMACS_VERSION_SITE_LISPDIR%%/erc/erc-bbdb.el +%%EMACS_VERSION_SITE_LISPDIR%%/erc/erc-bbdb.elc %%EMACS_VERSION_SITE_LISPDIR%%/erc/erc-button.el %%EMACS_VERSION_SITE_LISPDIR%%/erc/erc-button.elc %%EMACS_VERSION_SITE_LISPDIR%%/erc/erc-chess.el +%%EMACS_VERSION_SITE_LISPDIR%%/erc/erc-chess.elc %%EMACS_VERSION_SITE_LISPDIR%%/erc/erc-compat.el %%EMACS_VERSION_SITE_LISPDIR%%/erc/erc-complete.el %%EMACS_VERSION_SITE_LISPDIR%%/erc/erc-complete.elc @@ -58,6 +60,7 @@ %%EMACS_VERSION_SITE_LISPDIR%%/erc/erc-sound.elc %%EMACS_VERSION_SITE_LISPDIR%%/erc/erc-speak.el %%EMACS_VERSION_SITE_LISPDIR%%/erc/erc-speedbar.el +%%EMACS_VERSION_SITE_LISPDIR%%/erc/erc-speedbar.elc %%EMACS_VERSION_SITE_LISPDIR%%/erc/erc-stamp.el %%EMACS_VERSION_SITE_LISPDIR%%/erc/erc-stamp.elc %%EMACS_VERSION_SITE_LISPDIR%%/erc/erc-track.el ---------------------------------------------------------------------- -- Cheers, Dryice http://dryice.3322.org