From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Sep 29 03:50:02 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32BCB16A41B for ; Sat, 29 Sep 2007 03:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id ECDE613C48A for ; Sat, 29 Sep 2007 03:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l8T3o1Pj050328 for ; Sat, 29 Sep 2007 03:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l8T3o1WF050327; Sat, 29 Sep 2007 03:50:01 GMT (envelope-from gnats) Resent-Date: Sat, 29 Sep 2007 03:50:01 GMT Resent-Message-Id: <200709290350.l8T3o1WF050327@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, "Alejandro Pulver" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8551C16A417 for ; Sat, 29 Sep 2007 03:45:26 +0000 (UTC) (envelope-from alepulver@FreeBSD.org) Received: from relay01.pair.com (relay01.pair.com [209.68.5.15]) by mx1.freebsd.org (Postfix) with SMTP id 206F813C455 for ; Sat, 29 Sep 2007 03:45:25 +0000 (UTC) (envelope-from alepulver@FreeBSD.org) Received: (qmail 47710 invoked from network); 29 Sep 2007 03:45:24 -0000 Received: from unknown (HELO deimos.mars.bsd) (unknown) by unknown with SMTP; 29 Sep 2007 03:45:24 -0000 Message-Id: <1191037557.41069@deimos.mars.bsd> Date: Sat, 29 Sep 2007 00:45:57 -0300 From: "Alejandro Pulver" To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.4.8 Cc: Subject: ports/116726: [PATCH] editors/cream: take VIMRUNTIME from editors/vim instead of hard coding X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Sep 2007 03:50:02 -0000 >Number: 116726 >Category: ports >Synopsis: [PATCH] editors/cream: take VIMRUNTIME from editors/vim instead of hard coding >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Sep 29 03:50:01 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Alejandro Pulver >Release: FreeBSD 6.2-RELEASE i386 >Organization: >Environment: System: FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP >Description: Now the value of VIMRUNTIME is hard coded in the Makefile, with the patch it is taken from editors/vim, avoiding the need of updating this port's VIMRUNTIME variable each time editors/vim is updated. >How-To-Repeat: >Fix: --- cream.diff begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/editors/cream/Makefile,v retrieving revision 1.12 diff -u -r1.12 Makefile --- Makefile 30 Jun 2007 18:43:40 -0000 1.12 +++ Makefile 29 Sep 2007 03:41:01 -0000 @@ -16,10 +16,12 @@ RUN_DEPENDS= ${LOCALBASE}/bin/gvim:${PORTSDIR}/editors/vim NO_BUILD= yes -# needs updating for each major vim update. -VIMRUNTIME= ${PREFIX}/share/vim/vim71 PLIST_SUB= VIMRUNTIME="${VIMRUNTIME:S/${PREFIX}\///}" +.include + +VIMRUNTIME!= cd ${PORTSDIR}/editors/vim && ${MAKE} -V DATADIR + do-install: ${INSTALL_SCRIPT} ${WRKSRC}/cream ${PREFIX}/bin ${MKDIR} ${VIMRUNTIME}/cream @@ -40,4 +42,4 @@ .endfor .endif -.include +.include --- cream.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: