Commit graph

18 commits

Author SHA1 Message Date
hauke
5613c7b36a For the sake of MKPIE, we need to .include Makefile.common before
options.mk.

Since Makefile.common now does not see the x11 option, we have to move
all x11 related commands into options.mk. Within options, move
.includes to the end for consistency.
2021-10-03 17:53:11 +00:00
hauke
a1b641145c Use gtar instead of the base tar(1) in the xemacs* top-level Makefile
because of a problem with NetBSD-current libarchive-as-tar, see bin/56080.

Note this depencency is not a burden, since xemacs-packages requires
gtar, anyway.
2021-03-28 10:36:33 +00:00
hauke
3a0fa7572a Linux glibc 2.32+ has removed sys_siglist
Remove stale reference to nb version in Makefile.common
2020-10-02 11:31:14 +00:00
hauke
e30ff57088 Declare use of perl. 2019-10-08 12:40:54 +00:00
rillig
a20d25368e editors/*: let pkglint fix indentation and variable alignment
pkglint -Wall -F -r editors

Manually fixed the changes in editors/nedit since the "fixed" indentation
was wrong.
2019-06-08 10:40:52 +00:00
hauke
2b68d50d8e Build the XEmacsen with CFLAGS=-no-pie for newer gcc versions - the
dumped binary crashes otherwise.
2019-04-11 16:05:24 +00:00
hauke
d3d1135bcf Augment debug option arguments.
Explicitly select garbage collector.
2018-12-19 13:42:12 +00:00
hauke
e3f42ae089 Move PKGREVISION up from Makefile.common into the individual packages'
Makefile. As wiz convincingly pointed out, differing dependencies may
make for differing PKGREVISION.
2018-02-01 14:25:30 +00:00
hauke
ab4389d2bc The xemacs* package Makefiles are minimal, with all common information
factored out to Makefile.common. This includes both upstream and
pkgsrc specific.version information.
2018-01-30 11:52:18 +00:00
wiz
bff4597ffc Bump PKGREVISION for gdbm shlib major bump 2018-01-28 20:10:34 +00:00
hauke
a7bc638063 Upgrade to XEmacs 21.5.34
Most of the functionality moved to
../../editors/xemacs-current/{Makefile.common,options.mk}
2017-11-15 15:07:17 +00:00
wiz
af5ce20e13 Fix build of xemacs-*nox11 packages.
Using hints by coypu, thanks!
2016-12-30 23:37:40 +00:00
wiz
66431cfb56 Fix options framework abuse by xemacs-current*.
Partially tested, xemacs-current-nox11 build hangs because of temacs
eating 99% CPU.
2016-12-30 23:09:41 +00:00
asau
fae34ba053 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-03 11:43:30 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
uebayasi
34004f51e0 Move mk/emacs.mk to editors/emacs/modules.mk.
Don't call pkg_info to get the installed Emacs version; always use the
version matching EMACS_TYPE set by users.  Be DEPENDS to it.  This should
address pkg/37146 by Aleksey Cheusov.

While here convert some emacs lisp packages to user-destdir.
2008-10-11 09:31:54 +00:00
jlam
98886c197a Restructure the following packages:
editors/xemacs-current
	editors/xemacs-current-nox11

The latter is now just editors/xemacs-current built with a specific set
of options.  Changes include:

+ Rename the "xaw" option to "lucid" to match the option name used in
  xemacs/options.mk.  Also comment out the "esound" option which isn't
  fully supported yet.  Add some comments to the options.mk file to
  make it a little easier to understand.

  XXX Should probably add a pgsql option as this version of XEmacs has
  XXX some sort of PostgreSQL support.  Also need to sort out native
  XXX sound support.

+ Remove Makefile.common and move all logic into xemacs-current/Makefile
  and xemacs-current/options.mk.

+ As of version 21.5, xemacs switched to using GNU autoconf, so set
  GNU_CONFIGURE=yes.

+ Include termcap.buildlink3.mk to properly deal with termcap/curses
  issues (xemacs needs termcap).  Drop the --without-ncurses setting
  as the issue is handled by termcap.buildlink3.mk.

+ Be slightly more aware of ${X11_TYPE} == "modular" by not referring to
  ${X11BASE} in that case.

+ Include buildlink3.mk files for zlib and gettext, which are detected
  automatically if they're in the base system.  Gettext is needed for
  MULE support.

+ In the Makefile and the PLIST, don't substitute for ${EMACSVER}.
  Instead substitute for ${DISTNAME} so the PLIST looks closer to
  xemacs/PLIST.

+ Add patch-al which handles a difference between bmake and gmake in
  using $< in a makefile target.

+ Support DESTDIR installation by adding INSTALL_MAKE_FLAGS to override
  where files are installed during the install phase.

+ Honor PKGMANDIR.

+ Bump the PKGREVISION for xemacs-current and xemacs-current-nox11 to 1.
  Both packages now track and use the same PKGREVISION number.
2008-04-24 21:32:47 +00:00
uebayasi
3f0652c3f9 Support XEmacs 21.5.x without X too. 2007-11-12 01:48:47 +00:00