Commit graph

7 commits

Author SHA1 Message Date
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
sno
4fb17a69f1 add dependency to devel/libgetopt for platforms without getoptlong 2009-03-01 21:51:22 +00:00
drochner
c303bc2cbd modify check of __STDC__ to accept a "0" value as positive,
fixes build error with Sun Studio Compiler reported by
Joern Clausen per PR pkg/40660
2009-02-16 18:05:44 +00:00
tnn
ffc27bb08c Update to libpaper-1.1.23 due to missing distfile (asked by joerg@)
Changes:
* Use defaultpapername() if systempapername() fails, as suggested
  in lib/paper.h. This makes paperconf return a default papersize
  instead of failing if /etc/papersize doesn't exist.
  Closes: #376346.
* Added hungarian translation: Closes: #433726.
2008-03-08 14:20:12 +00:00
joerg
6b0729e116 DESTDIR clean. 2008-03-08 13:58:09 +00:00
joerg
01462e9e9c Don't use malloc.h. 2007-09-14 11:21:43 +00:00
drochner
0df3df3af0 import the Debian libpaper-1.1.22, a library to supply information about
paper sizes
2007-09-04 20:10:12 +00:00