Commit graph

51 commits

Author SHA1 Message Date
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
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
wiz
e8e0488c1e Convert to bl3, untested. 2005-04-05 10:34:19 +00:00
wiz
7a15edcb43 Wildcard depends. 2004-10-28 11:54:12 +00:00
minskim
2827f5b2d8 Enable tk84 and replace x11/tk with x11/tk83. Packages compatible
with 8.4 will be updated to depend on x11/tk after Tk update.
2004-03-08 20:27:13 +00:00
agc
3ad1bdbf06 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:18:15 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
agc
1cf87833d6 When constructing the WRKSRC definition, use ${PKGNAME_NOREV} rather than
${PKGNAME}, so that the WRKSRC definition is immune from any subsequent
PKGREVISION changes. With thanks to jmc for the nudge.
2003-06-18 09:22:14 +00:00
wiz
f559940468 Add configure patch to remove autoconf dependency. 2002-10-02 22:47:35 +00:00
tron
a68a277b43 Use wildcard dependence on "autoconf" package. 2001-08-27 14:35:04 +00:00
jlam
c4e71c5e7a CPPFLAGS is now passed to MAKE_ENV and CONFIGURE_ENV by bsd.pkg.mk, so
adapt by moving CPPFLAGS settings to top-level, and removing explicit
inclusion of CPPFLAGS into MAKE_ENV and CONFIGURE_ENV.
2001-06-11 06:34:17 +00:00
jlam
022d07a536 Mechanical changes of tk DEPENDS:
tk-8.3.2  -> tk>=8.3.2
	tk-[0-9]* -> tk>=8.0
	tk-8.*    -> tk>=8.0
2001-05-05 19:51:13 +00:00
hubertf
e32afb6fea Change BUILD_DEPENDS semantics:
first component is now a package name+version/pattern, no more
executable/patchname/whatnot.

While there, introduce BUILD_USES_MSGFMT as shorthand to pull in
devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current).

Patch by Alistair Crooks <agc@netbsd.org>
2001-03-27 03:19:43 +00:00
wiz
a13ea108bb Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:52:59 +00:00
fredb
f8363e87f7 Fix a few more paste-o's. 2001-02-07 05:16:39 +00:00
tron
f2d262e0be Use full pathname "${LOCALBASE}/bin/auto..." in dependences and make
targets. This includes a fix for PR pkg/12125 by Tomasz Luchowski.
2001-02-05 09:00:54 +00:00
mycroft
f78bb31186 Make this build on Alpha. 2000-12-03 06:30:05 +00:00
jwise
7396ba7c20 `mbone / I'm in mbone / and my heart it swells, so I can hardly speak'
Adapt this package to tk-8.3.2.
2000-09-08 00:39:02 +00:00
jwise
fe4b4bfbb2 Mark remaining packages which need to be updated to work with tcl-8.3.2
with

	BROKEN=	This package has not yet been updated to work with tcl-8.3.2.

in order to make bulk builds quieter.  These packages will be updated over the
weekend.
2000-09-01 17:58:02 +00:00
wiz
7b4c3ce8e1 We don't need BUILD_DEPENDS and DEPENDS for the same package,
but we need an autoconf dependency if we use it.
2000-08-24 00:46:13 +00:00
wiz
d734f7e4ba Fix dependency on gsm, as noted by Michael Eriksson
<eramore@era-t.ericsson.se> in pkg/10381.
2000-06-16 22:40:04 +00:00
hubertf
7978eb002b Ask for a properly installed gsm package to build with, nothing
half-baked.
2000-04-07 17:20:40 +00:00
jlam
de304fed60 Remove unnecessary post-install target. 2000-01-26 22:16:47 +00:00
jlam
76c0406bcb * Get -lgsm from ${PREFIX}/lib
* Get Tcl and Tk build variables from tcl/tkConfig.sh instead of pawing
  through directory trees.
2000-01-26 22:14:18 +00:00
wiz
188035c823 use DISTNAME and PKGNAME instead of directly setting DISTFILES 2000-01-09 01:39:14 +00:00
mycroft
950970c339 Add a generous dose of -Wl,-R so this builds on ELF platforms. 1999-06-04 15:11:27 +00:00
tv
5c60ed5794 Change {ONLY,NOT}_FOR_{ARCH,OPSYS} format to {ONLY,NOT}_FOR_PLATFORM
pattern match format.  Minor pkglint along the way.
1999-05-24 20:39:35 +00:00
hubertf
a6bf6a96c1 use GSM_DIR 1999-04-05 03:36:42 +00:00
hubertf
150f8d5545 There is no package in ${WRKOBJDIR}. 1999-04-05 03:24:06 +00:00
agc
363146f85e Update to tk version 8.0.5. This seems to be primarily a bug-fix release. 1999-04-01 13:38:43 +00:00
agc
49ad04f369 Move the definition of BUILD_ROOT into bsd.pkg.mk, from the individual
package Makefiles which need it.
1999-03-22 09:38:22 +00:00
tron
8742706ab7 Add "pre-clean" target to do "make clean" in "audio/gsm". 1998-12-30 01:07:07 +00:00
frueauf
93b1705e3d pkglint: move NOT_FOR_ARCHS where it belongs. 1998-11-13 01:26:58 +00:00
garbled
384c07a72e add NOT_FOR_ARCHS= alpha for all of these pkgs which are *known* to fail
on alpha.  There may be more, but I haven't seen them yet.
1998-09-22 06:11:35 +00:00
agc
aaf5955178 Modifications for a read-only pkgsrc (but writable WRKOBJDIR). 1998-09-15 17:05:04 +00:00
tsarna
6bd0d65c65 The Grand Homepagification:
- New, optional Makefile variable HOMEPAGE, specifies a URL for
	  the home page of the software if it has one.
	- The value of HOMEPAGE is used to add a link from the
	  README.html files.
	- pkglint updated to know about it.  The "correct" location for
	  HOMEPAGE in the Makefile is after MAINTAINER, in that same
	  section.
1998-08-20 15:16:34 +00:00
agc
daa3dd519a Update package Makefiles for automatic manual page handling. 1998-06-22 12:44:29 +00:00
tv
92d0556067 Fix --host= rule to use a three part architecture, and fix GNU pkgs to use
the new automatic --host= setting.  Now all GNU pkgs should work on all
archs (including arm32), except emacs/xemacs, which I'll fix soon.
1998-05-23 15:42:58 +00:00
frueauf
0851be7c5a Mostly cosmetic changes to shut up portlint. Little bugfix for apache. 1998-05-09 15:24:42 +00:00
hubertf
477f7f7932 relative dirs are evil 1998-05-08 21:25:00 +00:00
agc
6e7b5cf644 Move to relative paths in the pkgsrc tree. 1998-04-24 09:20:33 +00:00
agc
1f4495b33e Remove the old deprecated DEPENDS definition from bsd.pkg.mk.
Implement a new DEPENDS definition, which looks for an installed
package, building it if not present, and use it in preference to
LIB_DEPENDS.  This should make the package collection more useful on
NetBSD ELF ports.
1998-04-22 14:22:39 +00:00
agc
258b808c9f Use the bsd.pkg.mk and bsd.pkg.subdir.mk files in the pkgsrc tree.
Remove redundant (and sometimes erroneous) comments.
1998-04-15 10:38:15 +00:00
mycroft
862736cbb7 Clean this up a little. 1998-03-16 08:01:58 +00:00
hubertf
45909ef880 put DISTFILES back 1998-01-26 07:24:11 +00:00
hubertf
1d7041bcb2 portlint: fix RCS ID, remove unnecessary DISTFILES definition 1998-01-24 20:46:51 +00:00
agc
3beb06c1a2 Fix this another way for OBJMACHINE - use Hubert's ${WRKDIR:T}
construction to specify the work directory here.
1998-01-20 17:55:14 +00:00
chopps
1806bbe130 make work with OBJMACHINE 1998-01-15 18:38:21 +00:00
hubertf
fdcbd53f04 Configure as ${MACHINE_ARCH}--netbsd; this closes PR pkg/4726
by Steven R. Allen <wormey@eskimo.com>.
1997-12-21 23:41:43 +00:00