Commit graph

141 commits

Author SHA1 Message Date
dholland
165b00eeed Needs revbump for png update. 2010-06-14 10:32:24 +00:00
dholland
17fb3cad85 revbump for jpeg-8, apparently got missed. 2010-01-24 00:17:56 +00:00
joerg
807390d6ab Don't leak the buildlink directories into the final program. I can't
find a good reason why they are used here, so don't use them.
2009-11-09 14:09:41 +00:00
sno
6f7368d4db bump revision because of graphics/jpeg update 2009-08-26 19:56:37 +00:00
joerg
7fdde28ea5 Convert @exec/@unexec to @pkgdir or drop it. 2009-06-14 18:48:07 +00:00
joerg
bacea7cad5 Remove @dirrm entries from PLISTs 2009-06-14 17:48:39 +00:00
hasso
3c72c30f0a Make it build on DragonFly master. 2009-04-30 17:22:06 +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
wiz
285b7dd776 Bump PKGREVISION for libXaw API depends bump due to libXaw8 removal. 2008-11-10 17:21:33 +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
obache
7e5e3d9048 Fix build with gcc41 on DragonFly BSD.
xemacs part of PR pkg/38633 from Hasso Tepper.
2008-07-01 13:24:34 +00:00
tonnerre
c4b9959536 Fix xemacs vcdiff insecure temp file creation vulnerability (CVE-2008-1694).
Approved-by: joerg
2008-04-29 14:07:15 +00:00
tron
eff85e5ea3 Fix inverted test for compressing the ".el" files. 2008-04-25 17:58:24 +00:00
jlam
6c38cf1c63 Be slightly more clever about setting MASTER_SITES so we don't need to
hardcode a portion of the version number.
2008-04-24 15:37:00 +00:00
jlam
289bec6913 No need to mention the website directly... it's automatically added
by pkgsrc infrastructure.
2008-04-24 15:33:12 +00:00
jlam
9cde120028 Restructure the following packages:
editors/xemacs
	editors/xemacs-nox11

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

+ Add support for the following new options in options.mk:

	x11		Support X11 displays
	lucid		Use Lucid widget set

  Also add commented out support for the following options for
  alternative widget sets:

	gtk		GTK widgets
	motif		Motif widgets
	xaw		Athena widgets

  Note that USE_ATHENA, USE_GTK, and USE_MOTIF are legacy variables for
  the corresponding options.

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

+ Rename the "mule" PLIST variable to "canna", which more accurately
  reflects what is conditionally installed.

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

+ In xemacs/Makefile, we don't need separate EXTRACT_ONLY and EXTRA_FILES
  if we're actually going to extract all of those files all of the time.
  Just list them all in DISTFILES.

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

+ In patch-ak, directly substitute the local value of etcdir (``../etc/'')
  into src/Makefile.in.in.  This allows for overriding etcdir via
  INSTALL_MAKE_FLAGS at install-time so that destdir-style installation
  will work.

+ 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 and xemacs-nox11 to 4.  Both packages
  now track and use the same PKGREVISION number.
2008-04-24 15:32:15 +00:00
jlam
841dfa0e7a Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
2008-04-12 22:42:57 +00:00
uebayasi
75635c82f9 Initial addition of buildlink3.mk fragments for Emacs / XEmacs programs. 2007-10-29 12:40:02 +00:00
joerg
ddc67390fa Fix build on DragonFly 1.8+ 2007-04-20 15:05:22 +00:00
joerg
b82df59364 Kill some obscure magic which doesn't seem to make sense.
xemacs-packages doesn't really need x11.b3.mk.
2007-02-19 20:17:21 +00:00
joerg
8e6d74c120 Add DragonFly and modular Xorg support. 2007-02-15 14:27:48 +00:00
joerg
58c3144236 Mechanically replace all includes of buildlink3.mk of the following
packages with the modular Xorg equivalent. Those are falling back
to the old location by default, so this commmit doesn't change
dependencies.

graphics/xpm ==> x11/libXpm
fonts/Xft2 ==> x11/libXft
x11/Xfixes ==> x11/libXfixes
x11/xcursor ==> x11/libXcursor
x11/Xrender ==> x11/libXrender
x11/Xrandr ==> libXrandr
2006-12-15 20:32:52 +00:00
wiz
3c075b9609 CHECK_WRKREF_SKIP paths seem to relative to ${PREFIX} now, adapt. 2006-11-03 07:01:42 +00:00
markd
a90778d824 The package xemacs conflicts with is called gnuserv not gnuclient. 2006-07-07 01:31:42 +00:00
ghen
2eca3d9f2c The databases/openldap package has been split in -client and -server component
packages.  Convert LDAP-based applications to depend on openldap-client, and
bump PKGREVISION for those that depend on it by default.
2006-05-31 18:22:23 +00:00
wiz
02f8f7c52d Bump BUILDLINK_ABI_DEPENDS.png and PKGREVISION for png-1.2.9nb2 update. 2006-04-17 13:45:57 +00:00
jlam
e10b319ed7 Fix xemacs packages to honor PKGINFODIR in the default INFOPATH when
reading info files.  Also strip the split info files from the PLIST
as the plist module handles them automatically.  Lastly, define
INFO_FILES so that the pkginstall framework properly manages the "dir"
info file database index in the xemacs info directory.

Bump the PKGREVISION.
2006-03-20 18:21:29 +00:00
jlam
6ad6aef9d4 Replace references to ossaudio.buildlink3.mk with oss.buildlink3.mk.
Remove deprecated ossaudio.buildlink3.mk.
2006-03-09 21:04:39 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
rillig
579e977969 Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
2005-12-05 23:55:01 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
rillig
09790e487c Append things to CONFIGURE_ARGS instead of overwriting them. Found by
pkglint.
2005-10-23 14:16:46 +00:00
jlam
bf9129c41e Drop distinction between PKGSRC_USE_TOOLS and USE_TOOLS by making
PKGSRC_USE_TOOLS go away.  There is now only a single USE_TOOLS variable
that specifies all of the tools we need to build/run the package.
2005-07-15 18:27:48 +00:00
jlam
95fd1f6ec9 Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.
Several changes are involved since they are all interrelated.  These
changes affect about 1000 files.

The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk.  bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files.  Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred.  This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.

The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages.  Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc.  This modification is a nod toward LOCALBASE=/usr.  The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.

The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc.  The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.

The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files.  Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories.  These files are used as input
to imake since imake can't use stdin for that purpose.

The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead.  This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed.  Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries.  Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
2005-06-01 18:02:37 +00:00
jlam
7425b543e8 Note that gtar is required by the package. 2005-05-16 01:15:30 +00:00
magick
3801d08ec2 Xemacs and Xemacs-nox11 share the same PLIST but netbsd-x11 doesn't
install mule-x-init.elc which breaks "make package"
Fix this by uncommenting the entry for mule-x-init.elc in the
nox11 package as suggested by the submitter of pr 30020.
This fixes pr 30020
2005-04-25 17:23:50 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
uebayasi
94e9002d02 * Correct PLIST when !defined(PKG_OPTIONS.xemacs:Mcanna).
* Move library/header path configurations from xemacs/Makefile.common
  to xemacs/Makefile and xemacs-nox11/Makefile.  Don't add X-related
  paths for -nox11.  Fix build failure reported by bulk builds.
2005-03-03 16:16:03 +00:00
uebayasi
8c89663d00 Update xemacs to 21.4.17.
Fix the movemail.c format string vulnerability.  Other changes are
mostly build & documentation fixes.

In pkgsrc, pass ${LOCALBASE} and ${X11BASE} as the --site-includes
/ --sith-libraries / --site-runtime-libraries to configure more
correctly.  No visible change.
2005-02-28 16:20:09 +00:00
agc
01907502f3 Add RMD160 digests in addition to the SHA1 ones. 2005-02-23 17:15:09 +00:00
minskim
7239360b44 xemacs and gnuserv have many common files in PLIST. Make them
conflict.

Bump PKGREVISIONs.
2005-01-31 00:10:12 +00:00
reed
e117eda090 Bump PKGREVISIONs due to libtiff update.
Some BUILDLINK_RECOMMENDED bumps done also.

(If I missed any, please let me know -- and let me know a good
way to automate this.)
2004-12-28 23:18:15 +00:00
jlam
650b62997d Remove support for some variables that are supposed to go away after
pkgsrc-2004Q4 is branched.
2004-12-22 21:46:24 +00:00
xtraeme
b0758c553d Convert to use bsd.options.mk, the following options are available:
ldap xface canna

# XXX Support for the following variables will be removed after the
# XXX pkgsrc-2004Q4 branch is released:
# XXX
# XXX USE_OPENLDAP
# XXX USE_XFACE
# XXX XEMACS_USE_CANNA
2004-11-25 21:34:59 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
snj
099d31cd3a s/buildlink2/buildlink3/ in comments. 2004-05-02 00:23:40 +00:00
cube
536a13d16b USE_LDAP -> USE_OPENLDAP 2004-04-21 20:50:41 +00:00
xtraeme
6cfe5f95ad bl3ify 2004-04-12 15:14:55 +00:00
minskim
30244379ce Let xemacs and xemacs-nox11 share xemacs/Makefile.common. This
synchornizes xemacs and xemace-nox11 again.
2004-02-15 02:58:46 +00:00
minskim
6d713b3afb Update xemacs to 21.4.15. Approved by uebayasi@.
Changes in this version:
 	* etc/OXYMORONS: Inserted "Corporate Culture" for 21.4.15.
	* etc/package-index.LATEST.gpg: New, replaces
	`package-index.LATEST.pgp'.
	* etc/package-index.LATEST.pgp: Removed, replaced with
	`package-index.LATEST.gpg'.
	* configure.in: The icc compiler pretends to be gcc.  It isn't.
	* etc/PACKAGES (ERC): new.
	* configure.usage (--with-widgets): widgets now defaults to
	--with-widgets=no.  Patch inspired by Jim Schumacher.
	* etc/PACKAGES (riece): New package.
	* etc/PACKAGES (liece): Mark as deprecated.
	* configure.in: Add Intel C++ compiler detection to compiler
	version reporting.
	* configure.in: record additional info about compiler and libc
	versions, to assist in debugging.
	* configure.in (line 3573):
	(Mule input methods):
	Deprecate Motif for Linux.
	(Installation): Report when LessTif is used.
	* configure.in: installexe.sh is under srcdir, not blddir.
	* aclocal.m4: Add icc (Intel compiler) support.
	* configure.in: Ditto.
	* configure.in (OS_RELEASE): Add support for SunOS 5.10.
	On current OSes produced by Sun, `uname -r' prints "5.9".
	It seems likely that on future OSes, `uname -r' will print "5.10".
	We need to accept multi-digit release numbers.
	* PROBLEMS: Propose bash as an alternative to buggy Solaris
	/bin/sh.
	* configure.in: XEmacs failed to build on Solaris9.
2004-02-09 07:54:58 +00:00