Commit graph

65 commits

Author SHA1 Message Date
joerg
9fe19b25ca 2.2.3 and 2.1.x are not compatible, force use of 2.2.3. 2005-12-12 19:57:52 +00:00
joerg
cd73234257 Update OpenMotif to 2.2.3. Too many changes to list here, but most
importantly no more imake usage.
2005-12-12 19:55:41 +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
erh
de1415b581 s/defineD/defined/ so openmotif actually compiles w/o errors. 2005-08-15 19:17:22 +00:00
wiz
98cbd5dbc1 openmotif needs x11 headers and libraries, so include mk/x11.buildlink3.mk. 2005-07-24 00:55:43 +00:00
wiz
486cf4cf3b Add DragonFly support (untested). Provided by Jörg Sonnenberger
in PR 30258.

While here, clean up pkglint warnings.
2005-06-27 14:08:15 +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
163b6e6c2b Remove USE_TBL from pkgsrc and replace with USE_TOOLS+=tbl. 2005-05-22 21:04:41 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
wiz
4c441c2ed3 Add patch to fix CAN-2005-0605. Bump PKGREVISION. 2005-03-10 16:00:31 +00:00
wiz
393af94024 Add RMD160 checksums to the SHA1 ones. 2005-02-23 17:36:09 +00:00
minskim
601eea5fc3 Enable pkgviews installation. 2004-12-25 22:22:00 +00:00
tron
fd63287501 Fix vulnerabilities reported in CAN-2004-0687 and CAN-2004-0688 by
applying a patch based on ICS's patch for OpenMotif 2.2.3.
2004-12-18 00:39:31 +00:00
wiz
6e02d7ee41 Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.
Suggested by Roland Illig, ok'd by various.
2004-12-03 15:14:50 +00:00
danw
f5915880ac fix up the darwin config files to deal with something that changed in
buildlink at some point
2004-08-31 03:10:16 +00:00
drochner
0ed83abfac just require "tbl", not necessarily the whole groff 2004-07-22 17:04:28 +00:00
drochner
3c718a82b3 depend on groff and use ${TBL} for tbl,
fixes PR pkg/23010 by Jeremy C. Reed
2004-07-09 12:34:53 +00:00
wiz
f4257e2c3a Unused. 2004-05-03 23:32:28 +00:00
xtraeme
e9d9e77dca bl3ify 2004-04-11 18:21:32 +00:00
danw
873317a06c add darwin support 2004-03-16 23:59:42 +00:00
reed
493728a085 Make sure the displayed output mentions "OpenMotif" so reader will
have some idea what is going on.
2004-03-12 02:03:25 +00:00
xtraeme
5f58933408 Same libraries were not installed in FreeBSD, so use PLIST_SUBST to
make the precompiled package.
2004-02-02 23:10:29 +00:00
agc
24a46ed346 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:28:26 +00:00
heinz
214f735e4d use 'test -d' for directories to improve portability (solves problem in http://mail-index.netbsd.org/tech-pkg/2003/11/19/0000.html) 2003-11-20 11:13:51 +00:00
martti
6e809ce2d4 Use GNU make in Linux 2003-09-09 12:23:28 +00:00
jlam
b2677a2cb0 Add definitions for DEINSTALL_EXTRA_TMPL and INSTALL_EXTRA_TMPL if
USE_PKGINSTALL is "YES".  bsd.pkg.install.mk will no longer automatically
pick up a INSTALL/DEINSTALL script in the package directory and assume that
you want it for the corresponding *_EXTRA_TMPL variable.
2003-08-30 22:51:11 +00:00
jlam
2920a32c71 Prepare for pkgviews by making sure that passing VIEW-INSTALL or
VIEW-DEINSTALL to the INSTALL/DEINSTALL scripts don't cause errors.
2003-08-30 20:22:49 +00:00
grant
eb46275523 improve COMMENT. 2003-08-08 09:25:16 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
fredb
d34ccddd00 Fix typo caught by gcc-3.3. 2003-06-14 20:31:33 +00:00
cjep
fc139a1628 Add NetBSD RCS tags 2003-06-13 10:55:25 +00:00
jschauma
26ecf01424 Apply one more patch to satisfy some GNU bison versions on Linux.
This closes PR pkg/19860.
2003-06-12 13:39:58 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
jschauma
50603c64bd Make this build and install under Linux:
Do not define USE_BYACC, since not all Linuxen have byacc.  Patch a grammar
file accordingly.  Use -Wl,-rpath flags where necessary.

This should close PR pkg/19860.
2003-05-19 19:43:16 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
cjep
0e6e9ca519 Add RCS tag 2003-04-21 20:31:54 +00:00
cjep
d7551b1053 Whitespace fix 2003-04-21 20:31:31 +00:00
jmmv
0916498c1b Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz. 2003-03-29 12:40:00 +00:00
jmmv
d63bbf356c Install missing header file BaseClassI.h. Bump PKGREVISION to 2.
Requested in PR pkg/20341 by Marc Recht.
2003-02-23 13:11:24 +00:00
jlam
d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
2003-01-28 22:03:00 +00:00
jlam
950843c223 Unused. 2002-10-08 12:55:49 +00:00
jlam
e2afa97f51 Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.  This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
2002-08-25 18:38:05 +00:00
jlam
78013a2fd3 Workaround a gcc codegen bug on sparc64 (surprise, surprise) by using no
optimization on sparc64.

Fix from pkg/15477 by Lloyd Parkes <lloyd@must-have-coffee.gen.nz>.
2002-06-22 04:38:31 +00:00
jlam
06fa2131c5 Update openmotif to 2.1.30nb1. Changes from version 2.1.30 are that we
no longer install all of the demo programs with openmotif (which are
largely just bloat), and we use bsd.pkg.install.mk to replace some of the
bloat in the package Makefile.
2002-01-10 12:10:45 +00:00
jlam
62c8745c95 Mirror changes to the NetBSD xsrc tree to deal with the new toolchain,
where /usr/libexec/cpp doesn't exist, by calling "cc -E" instead.
2001-12-06 19:09:16 +00:00
dmcmahill
122963b7a2 fix build problems on pmax (maybe others) by making the NetBSD.cf file
be the same as our patched one in the vnc package.  Problem pointed out
by Daniel Senderowicz <daniel@bicho.SynchroDS.COM> on port-pmax.  Thanks
to Johnny Lam for help in pointing me to the remaining bug.
2001-12-01 02:00:42 +00:00
zuntum
d3db18607d Move pkg/ files into package's toplevel directory 2001-10-31 22:03:21 +00:00
jlam
034112c3cd Copy some of the code from xpkgwedge's DEINSTALL/INSTALL scripts so that
if ${PREFIX}/lib/X11/config/host.def doesn't exist, it will be created
correctly nonetheless.
2001-09-28 08:54:56 +00:00
jlam
f79573370a Mechanical changes to 375 files to change dependency patterns of the form
foo-* to foo-[0-9]*.  This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net.  Also
change dependency examples in Packages.txt to reflect this.
2001-09-27 23:17:41 +00:00