Commit graph

31 commits

Author SHA1 Message Date
joerg
c569c6a51f Mark packages as MAKE_JOBS_SAFE=no that failed in a bulk build with
MAKE_JOBS=2 and worked without.
2009-06-30 00:07:09 +00:00
joerg
3b0d97b0de Add DESTDIR support. 2008-06-20 01:09:05 +00:00
joerg
d26cf36e57 - fine grained X11 dependencies for packages which have either USE_IMAKE
or USE_X11BASE set, but don't include mk/x11.buildlink3.mk directly or
  via buildlink3.mks
- introduce BUILDLINK_PREFIX.libXpm as alias for BUILDLINK_PREFIX.xpm
  in the !modular case
- fix some cases where the check for libX11 couldn't work at all by using
  C++ for compilation without including the proper headers

Verified using a full X11_TYPE=xorg bulk build without additional
breakage. Discussed with salo@, wiz@ and send to packages@ for feedback.
2006-12-27 13:37:35 +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
tron
d82db97703 Fix build with GCC 4.x:
- Use "stdlib.h" to get prototype for alloca() under NetBSD.
- Remove bogus "extern" declaration for a variable which is declared
  "static" later.
- Fix bad lvalue constructs.
2006-06-30 22:14:49 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
joerg
402af24d35 Use alloca from stdlib.h on DragonFly and FreeBSD. 2006-01-12 20:58:56 +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
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
459a5bb28d Add RMD160 digests to the SHA1 ones 2005-02-23 18:49:17 +00:00
snj
69749ccab8 Convert to buildlink3. 2004-04-11 08:36:43 +00:00
tron
a6df86ab6f Fix GCC 3.3.1 related build problem. 2003-09-30 17:47:44 +00:00
grant
4083b24390 s/netbsd.org/NetBSD.org/ 2003-07-17 21:31:04 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
wiz
b4f8836f24 Convert to buildlink2. 2002-10-20 13:37:17 +00:00
tron
15e4e111a5 Fix build problem on systems running XFree86 3.3.x in conjuction with the
"xpkgwedge" package.
2001-11-01 12:21:38 +00:00
zuntum
d038a73ebd Move pkg/ files into package's toplevel directory 2001-10-31 22:52:58 +00:00
agc
841fee062e Move a one-liner post-extract script to be a standard package Makefile
target, and remove the now unnecessary script file.
2001-10-25 21:04:32 +00:00
agc
7e2fedb405 Move to sha1 digests, and add distfile sizes. 2001-04-20 10:49:52 +00:00
agc
d7d36b3561 + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 10:57:56 +00:00
wiz
311d465268 Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 18:38:11 +00:00
wiz
26d51239d9 Add three patches supplied by Dieter Baron <dillo@giga.or.at>:
- When pilot is off, don't redraw contents of screen, clear it
- bind hardware buttons to keys (F9-F12 Applications, pgup/pgdown,
  ESC (power))
- make cursor keys work (left/right, next/previous field)
XXX: homepage (== main download site) doesn't seem to exist any more.
2001-02-12 14:09:24 +00:00
fredb
5378397b19 Remove redundant DEPENDS on xpm; USE_XPM covers that. 2000-09-11 03:44:02 +00:00
tron
f0b9164cf1 Use "USE_XPM" option instead of direct dependence on the "xpm" package. 2000-08-23 23:14:21 +00:00
abs
df05aef71f Strip trailing '.', and/or leading '(a|an) ' 2000-01-05 15:37:50 +00:00
tron
2e5729deb0 Initialize variable "pilot.threads" to "0" so that shared memory handling
works. Patch supplied by Nagae Hidetake in PR pkg/8400.
1999-09-13 21:31:51 +00:00
agc
a910a6fd62 Add package patch-sum files 1999-07-09 13:50:05 +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
simonb
933c508f7b Add / to rc directory name after stat() not before.
Patch has been sent to maintainer.
1999-03-15 13:54:24 +00:00
nathanw
f0bc35c243 Remove mc68k/custom.c from distribution after unpacking. It's a generated
file that only applies on i386. Let the build system rebuild it for
the current platform.
Tweak the fab_custom build rule.
1999-02-23 23:56:32 +00:00
nathanw
d230a89bd3 Initial import of XCopilot package, a PalmPilot (tm) emulator. 1999-02-05 07:38:14 +00:00