Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jun 2009 04:10:02 GMT
From:      wahjava@gmail.com (Ashish SHUKLA)
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/134875: Update Port: editors/emacs-devel to v.23.0.93
Message-ID:  <200906010410.n514A2Oq053427@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/134875; it has been noted by GNATS.

From: wahjava@gmail.com (Ashish SHUKLA)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/134875: Update Port: editors/emacs-devel to v.23.0.93
Date: Mon, 01 Jun 2009 09:31:15 +0000

 --=-=-=
 
 Please discard the old diff as new version is out. The attached diff
 updates the port to v.23.0.94.
 
 BtW sorry, as it still has the SOURCES option included.
 
 Thanks
 -- 
 Ashish SHUKLA
 
 --=-=-=
 Content-Type: text/x-diff
 Content-Disposition: attachment; filename=emacs-devel.diff
 Content-Description: editors/emacs-devel port updated to v.23.0.94
 
 diff -urN /usr/ports/editors/emacs-devel/Makefile emacs-devel/Makefile
 --- /usr/ports/editors/emacs-devel/Makefile	2009-04-02 21:37:32.000000000 +0000
 +++ emacs-devel/Makefile	2009-06-01 05:31:20.000000000 +0000
 @@ -33,7 +33,7 @@
  
  INSTALLS_ICONS=	yes
  
 -EMACS_VER=	23.0.92
 +EMACS_VER=	23.0.94
  GNU_CONFIGURE=	yes
  USE_GMAKE=	yes
  ALL_TARGET=	bootstrap
 @@ -77,8 +77,16 @@
  
  LATEST_LINK=	emacs23
  
 +OPTIONS=	SOURCES	"Install source code"	ON
 +
  .include <bsd.port.pre.mk>
  
 +.if defined(WITH_SOURCES)
 +PLIST_SUB+=	SOURCES=""
 +.else
 +PLIST_SUB+=	SOURCES="@comment "
 +.endif
 +
  .if ${ARCH} == "ia64"
  BROKEN=	Emacs 22.X and later does not currently build on ia64
  .endif
 @@ -97,5 +105,13 @@
  
  post-patch:
  	@${RM} -f ${WRKSRC}/info/*
 +	@${REINPLACE_CMD} -e "s/%%EMACS_VER%%/${EMACS_VER}/g" -e "s/%%DATADIR%%/${DATADIR:C/\//\\\//g}/g" ${WRKSRC}/sources.el
 +
 +.if defined(WITH_SOURCES)
 +post-install:
 +	@${MKDIR} ${DATADIR}/${EMACS_VER}/src
 +	@${INSTALL_DATA} ${WRKSRC}/src/*.[ch] ${DATADIR}/${EMACS_VER}/src
 +	@${INSTALL_DATA} ${WRKSRC}/sources.el ${DATADIR}/${EMACS_VER}/site-lisp/site-start.el
 +.endif
  
  .include <bsd.port.post.mk>
 diff -urN /usr/ports/editors/emacs-devel/distinfo emacs-devel/distinfo
 --- /usr/ports/editors/emacs-devel/distinfo	2009-04-02 21:37:32.000000000 +0000
 +++ emacs-devel/distinfo	2009-06-01 05:54:14.000000000 +0000
 @@ -1,3 +1,3 @@
 -MD5 (emacs-23.0.92.tar.gz) = 3d2232a3efbafdb7280abe2f1f7802ac
 -SHA256 (emacs-23.0.92.tar.gz) = 53af89e1c80928130469da94f7acecbe3d663546432cfee8233568ed9e3ba7aa
 -SIZE (emacs-23.0.92.tar.gz) = 43022949
 +MD5 (emacs-23.0.94.tar.gz) = b90e20fe97253764f386dffff702b38c
 +SHA256 (emacs-23.0.94.tar.gz) = c391ec2d1baa9fad5fc503414d7781d5aabfc14c1157bb99453968096435ed6e
 +SIZE (emacs-23.0.94.tar.gz) = 42801442
 diff -urN /usr/ports/editors/emacs-devel/files/patch-sources.el emacs-devel/files/patch-sources.el
 --- /usr/ports/editors/emacs-devel/files/patch-sources.el	1970-01-01 00:00:00.000000000 +0000
 +++ emacs-devel/files/patch-sources.el	2009-05-23 20:16:55.000000000 +0000
 @@ -0,0 +1,10 @@
 +
 +$FreeBSD$
 +
 +--- /dev/null
 ++++ sources.el
 +@@ -0,0 +1,4 @@
 ++;;; Path to Emacs C Sources.
 ++(when (string-match (regexp-quote "%%EMACS_VER%%") emacs-version)
 ++  (setq find-function-C-source-directory
 ++        "%%DATADIR%%/%%EMACS_VER%%/src"))
 diff -urN /usr/ports/editors/emacs-devel/pkg-plist emacs-devel/pkg-plist
 --- /usr/ports/editors/emacs-devel/pkg-plist	2009-03-07 13:02:36.000000000 +0000
 +++ emacs-devel/pkg-plist	2009-06-01 06:58:15.000000000 +0000
 @@ -871,7 +871,6 @@
  %%DATADIR%%/%%EMACS_VER%%/leim/quail/greek.elc
  %%DATADIR%%/%%EMACS_VER%%/leim/quail/hangul.el.gz
  %%DATADIR%%/%%EMACS_VER%%/leim/quail/hangul.elc
 -%%DATADIR%%/%%EMACS_VER%%/leim/quail/hangul3.elc
  %%DATADIR%%/%%EMACS_VER%%/leim/quail/hanja-jis.el.gz
  %%DATADIR%%/%%EMACS_VER%%/leim/quail/hanja-jis.elc
  %%DATADIR%%/%%EMACS_VER%%/leim/quail/hanja.el.gz
 @@ -3153,6 +3152,183 @@
  %%DATADIR%%/%%EMACS_VER%%/lisp/xt-mouse.el.gz
  %%DATADIR%%/%%EMACS_VER%%/lisp/xt-mouse.elc
  %%DATADIR%%/%%EMACS_VER%%/site-lisp/subdirs.el
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/site-lisp/site-start.el
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/Makefile.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/alloc.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/atimer.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/atimer.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/blockinput.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/buffer.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/buffer.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/bytecode.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/callint.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/callproc.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/casefiddle.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/casetab.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/category.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/category.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/ccl.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/ccl.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/character.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/character.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/charset.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/charset.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/chartab.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/cm.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/cm.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/cmds.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/coding.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/coding.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/commands.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/composite.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/composite.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/config.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/data.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/dbusbind.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/dired.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/dispextern.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/dispnew.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/disptab.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/doc.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/doprnt.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/dosfns.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/dosfns.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/ecrt0.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/editfns.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/emacs-icon.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/emacs.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/epaths.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/eval.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/fileio.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/filelock.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/filemode.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/firstfile.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/floatfns.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/fns.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/font.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/font.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/fontset.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/fontset.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/frame.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/frame.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/fringe.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/ftfont.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/ftfont.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/ftxfont.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/getloadavg.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/getpagesize.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/gmalloc.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/gtkutil.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/gtkutil.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/image.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/indent.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/indent.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/insdel.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/intervals.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/intervals.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/keyboard.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/keyboard.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/keymap.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/keymap.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/lastfile.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/lisp.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/lread.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/macros.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/macros.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/marker.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/md5.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/md5.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/mem-limits.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/menu.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/menu.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/minibuf.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/mktime.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/msdos.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/msdos.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/ndir.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/nsgui.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/nsterm.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/point.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/pre-crt0.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/prefix-args.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/print.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/process.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/process.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/puresize.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/ralloc.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/regex.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/regex.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/region-cache.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/region-cache.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/scroll.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/search.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/sheap.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/sound.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/strftime.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/syntax.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/syntax.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/sysdep.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/sysselect.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/syssignal.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/systime.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/systty.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/syswait.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/term.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/termcap.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/termchar.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/termhooks.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/terminal.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/terminfo.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/termopts.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/textprop.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/tparam.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/undo.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/unexaix.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/unexalpha.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/unexcw.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/unexec.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/unexelf.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/unexhp9k800.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/unexmacosx.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/unexsol.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/unexw32.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/vm-limit.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/w16select.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/w32.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/w32.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/w32console.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/w32fns.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/w32font.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/w32font.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/w32gui.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/w32heap.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/w32heap.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/w32inevt.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/w32inevt.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/w32menu.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/w32proc.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/w32reg.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/w32select.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/w32term.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/w32term.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/w32uniscribe.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/w32xfns.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/widget.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/widget.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/widgetprv.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/window.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/window.h
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/xdisp.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/xfaces.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/xfns.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/xfont.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/xftfont.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/xmenu.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/xrdb.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/xselect.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/xsmfns.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/xterm.c
 +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/xterm.h
  %%DATADIR%%/site-lisp/subdirs.el
  share/icons/hicolor/128x128/apps/emacs.png
  share/icons/hicolor/16x16/apps/emacs.png
 @@ -3167,6 +3343,7 @@
  share/icons/hicolor/scalable/mimetypes/emacs-document.svg
  var/games/emacs/snake-scores
  var/games/emacs/tetris-scores
 +%%SOURCES%%@dirrm %%DATADIR%%/%%EMACS_VER%%/src
  @dirrm %%DATADIR%%/%%EMACS_VER%%/site-lisp
  @dirrm %%DATADIR%%/%%EMACS_VER%%/lisp/url
  @dirrm %%DATADIR%%/%%EMACS_VER%%/lisp/textmodes
 
 --=-=-=--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906010410.n514A2Oq053427>