Commit graph

12 commits

Author SHA1 Message Date
jmmv
9e51a554c3 Update to 1.1.24:
- Our patches have been merged upstream.
- One minor fix in a manual page to respect sysconfdir.
2010-04-24 15:56:46 +00:00
jmmv
8284d95412 Fix build when libpaper is not yet installed.
My previous changes added a call to paperconfig during the build stage to
generate a sample configuration file.  The paperconfig script needs to run
paperconf and relies on the path to do so.  But, if it is not yet installed,
the call fails.  Fix this by pointing the script to the correct place.

Problem reported by wiz@.
2010-04-23 12:45:01 +00:00
jmmv
569053d920 Fix pkglint warnings: add PAPERSIZE to BUILD_DEFS and do not hide a
post-build command.
2010-04-23 11:33:06 +00:00
jmmv
15ad24c7d0 Add references to the upstream bug numbers that host these patches. 2010-04-23 11:31:57 +00:00
jmmv
2a8ccd3e42 Generate the sample configuration file during the build stage and install
it as any other configuration file, instead of creating it in-place during
package installation.

This makes the configuration file go away upon package deinstallation,
unless it was modified by the administrator.

Bump PKGREVISION to 1.
2010-04-22 11:58:51 +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
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