Date: Fri, 22 Dec 2006 00:14:42 +0900 (JST) From: Koji Yokota <yokota@res.otaru-uc.ac.jp> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/107043: [Patch] math/gnuplot doen't respect the existence of emacs Message-ID: <20061221151442.B8034B829@room520-1.yokota-s.otaru-uc.ac.jp> Resent-Message-ID: <200612212130.kBLLUJ0N023121@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <bsd.port.per.mk> 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 <bsd.port.pre.mk> + +.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 <bsd.port.pre.mk> - .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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061221151442.B8034B829>