Commit graph

5 commits

Author SHA1 Message Date
joerg
f0cd2c0988 Allow buildling x11/libXpm with old X11_TYPE=native to replace
graphics/xpm.
2009-12-16 19:57:47 +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
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
da666b3986 Redirect to old xpm for !modular case. 2006-11-06 09:54:13 +00:00
joerg
d99dc2608f Import libXpm-3.5.6 from pkgsrc-wip:
XPM (X PixMap) is a format for storing and retrieving X pixmaps
to and from files.

This libXpm is from the modular Xorg X11.

This package includes the cxpm(1) tool for checking XPM files
and the sxpm(1) tool for viewing and conversions of XPM files.
2006-11-03 21:06:54 +00:00