From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Dec 21 21:30:19 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A264D16A403 for ; Thu, 21 Dec 2006 21:30:19 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 7E2BF13C434 for ; Thu, 21 Dec 2006 21:30:19 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kBLLUJ1t023133 for ; Thu, 21 Dec 2006 21:30:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kBLLUJ0N023121; Thu, 21 Dec 2006 21:30:19 GMT (envelope-from gnats) Resent-Date: Thu, 21 Dec 2006 21:30:19 GMT Resent-Message-Id: <200612212130.kBLLUJ0N023121@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, Koji Yokota Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C308C16A4AB for ; Thu, 21 Dec 2006 21:27:19 +0000 (UTC) (envelope-from uji@yokota-s.otaru-uc.ac.jp) Received: from ca3.otaru-uc.ac.jp (ca3.otaru-uc.ac.jp [150.83.48.29]) by mx1.freebsd.org (Postfix) with ESMTP id 8E48513C45F for ; Thu, 21 Dec 2006 21:27:19 +0000 (UTC) (envelope-from uji@yokota-s.otaru-uc.ac.jp) Received: from canal1.otaru-uc.ac.jp (canal1 [150.83.48.23]) by ca3.otaru-uc.ac.jp (Postfix) with ESMTP id E94F914280B for ; Fri, 22 Dec 2006 00:10:22 +0900 (JST) Received: from room520-1.yokota-s.otaru-uc.ac.jp (room520-1.yokota-s.otaru-uc.ac.jp [150.83.100.4]) by canal1.otaru-uc.ac.jp (SMTP) with ESMTP id kBLFAMIN022424 for ; Fri, 22 Dec 2006 00:10:22 +0900 (JST) Received: by room520-1.yokota-s.otaru-uc.ac.jp (Postfix, from userid 1000) id B8034B829; Fri, 22 Dec 2006 00:14:42 +0900 (JST) Message-Id: <20061221151442.B8034B829@room520-1.yokota-s.otaru-uc.ac.jp> Date: Fri, 22 Dec 2006 00:14:42 +0900 (JST) From: Koji Yokota To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/107043: [Patch] math/gnuplot doen't respect the existence of emacs X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Koji Yokota List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Dec 2006 21:30:19 -0000 >Number: 107043 >Category: ports >Synopsis: [Patch] math/gnuplot doen't respect the existence of emacs >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Dec 21 21:30:17 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Koji Yokota >Release: FreeBSD 6.1-RELEASE i386 >Organization: Otaru University of Commerce >Environment: System: FreeBSD hoge.hoge.otaru-uc.ac.jp 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun Sep 3 17:18:10 JST 2006 hoge@hoge.hoge.otaru-uc.ac.jp:/usr/obj/usr/src/sys/SMP i386 >Description: - math/gnuplot/Makefile fails to find emacs or xemacs ( .include is in a wrong place) - the path for elisps is wrong >How-To-Repeat: Everytime >Fix: --- Makefile.orig Thu Dec 21 18:47:22 2006 +++ Makefile Thu Dec 21 19:01:28 2006 @@ -30,7 +30,9 @@ MAN1= gnuplot.1 lasergnu.1 INFO= gnuplot -.if exists(${PREFIX}/bin/emacs) || exists(${PREFIX}/bin/xemacs) || exists(/usr/local/bin/emacs) +.include + +.if exists(${PREFIX}/bin/emacs) || exists(${PREFIX}/bin/xemacs) USE_EMACS= yes EMACS_PORT_NAME= emacs21 EMACS_NO_BUILD_DEPENDS= yes @@ -41,8 +43,6 @@ CONFIGURE_ARGS+= --without-lisp-files .endif -.include - .if !defined(WITHOUT_READLINE) .if ${OSVERSION} < 500018 LIB_DEPENDS+= readline.5:${PORTSDIR}/devel/readline @@ -106,7 +106,7 @@ post-install: ${INSTALL_SCRIPT} ${WRKSRC}/src/lasergnu ${PREFIX}/bin .if exists(${PREFIX}/bin/emacs) || exists(${PREFIX}/bin/xemacs) - ${INSTALL_DATA} ${WRKSRC}/lisp/gnuplot*.el ${EMACS_SITE_LISPDIR} + ${INSTALL_DATA} ${WRKSRC}/lisp/gnuplot*.el ${PREFIX}${EMACS_SITE_LISPDIR} .endif .if !defined(NOPORTDOCS) @${MKDIR} ${EXAMPLESDIR} >Release-Note: >Audit-Trail: >Unformatted: