Commit graph

235 commits

Author SHA1 Message Date
dholland
f2e666298f Add upstream patch to fix build with new jpeg. Thanks to obache@ for
tracking it down. Fixes PR 41947.
2009-08-27 09:18:06 +00:00
sno
6f7368d4db bump revision because of graphics/jpeg update 2009-08-26 19:56:37 +00:00
tnn
324280b064 typo in previous 2009-07-21 12:40:54 +00:00
tnn
64a49df70b patch-az: MMX/SSE code is broken with GCC 4.3, disable it. 2009-07-21 12:39:54 +00:00
smb
ec897e292d Change getline() to get_line() 2009-07-18 03:04:41 +00:00
joerg
76039544d1 Remove @dirrm related logic. 2009-06-14 22:57:58 +00:00
abs
f6bc9be62a PKG_DESTDIR_SUPPORT seems to be working fine 2009-06-09 12:12:00 +00:00
hasso
4b49f91786 Make it build on DragonFly master. 2009-04-07 08:09:06 +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
wiz
4b90cb9ccb Comment out PKG_DESTDIR_SUPPORT.
PLIST generation in the post-install target is broken for destdir.
It tries to remove ${PREFIX}/bin et al.
2009-02-27 16:51:36 +00:00
dholland
967cafd9a8 Add destdir support, mostly from PR 38523 by Aleksey Cheusov. 2008-09-01 09:04:19 +00:00
joerg
3d8ef5a52d Second round of explicit pax dependencies. As reminded by tnn@,
many packages used to use ${PAX}. Use the common way of directly calling
pax, it is created as tool after all.
2008-05-26 02:13:14 +00:00
tnn
5c13124820 Fix more cases of non-chainable PKGSRC_COMPILER tests. 2008-02-08 10:34:19 +00:00
tnn
24d5b54409 Fix abusers of LOWER_OPSYS to check OPSYS or MACHINE_PLATFORM instead. 2007-10-16 23:48:58 +00:00
jlam
2761568ac2 Convert to use the features framework. 2007-09-08 21:57:57 +00:00
jlam
df7d10dbeb Convert all libnbcompat/buildlink3.mk references to inplace.mk. 2007-09-06 21:51:52 +00:00
tnn
a6fe439562 use .sl instead of .so on hpux 2007-04-22 09:58:10 +00:00
gdt
ee580fa5d6 Add MAKE_JOBS_SAFE=no (sometimes it builds, sometimes it doesn't). 2007-04-05 19:41:48 +00:00
rillig
a80659b46f Fixed the build on IRIX, which had been broken since about one year,
when the build on Solaris had been fixed, "not affecting other
platforms". ;)
2007-02-19 02:25:19 +00:00
wiz
e5b04d25c0 Very belatedly bump PKGREVISION for all jasper dependencies because
of the shlib name change (!) during the update to 1.900.0.

Noted by Robert Elz in PR 35431.
2007-01-17 23:47:18 +00:00
dmcmahill
2ade927b56 Use __inline__ instead of __inline. The former works with some non-gcc
compilers as well as gcc.
2007-01-13 01:16:17 +00:00
rillig
fa3ed72de0 Fixed PKGMANDIR. 2006-12-06 23:04:26 +00:00
reed
8936124c2c Use ${MKDIR} instead of "mkdir".
(From revision 1.147 change.)
2006-11-29 22:59:49 +00:00
tron
e9ce827252 Fix non-portable shell script "pcdovtoppm". 2006-11-19 15:50:59 +00:00
rillig
35bc5cddd5 Added some patches for Tru64 support, provided by Hrvoje Habjanic in
http://mail-index.netbsd.org/pkgsrc-users/2006/11/02/0003.html
2006-11-03 07:45:19 +00:00
rillig
d393ac4118 Fixed PKGMANDIR. 2006-10-22 21:11:15 +00:00
rillig
4b9cbf457e Fixed "test ==" and a few pkglint warnings. 2006-10-11 18:44:25 +00:00
schwarz
5d6e0bc093 added missing $NetBSD$ headers 2006-10-03 23:01:25 +00:00
schwarz
a4efb4c0c3 added support for IRIX 5 and in particular the SGI IDO cc.
patches were discussed with Bryan Henderson, maintainer of the netpbm
code.
2006-10-03 22:56:50 +00:00
obache
e896edb7fe Rename variable MAKEFILE to MAKE_FILE. 2006-09-09 02:41:53 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
adam
6ec6761023 This is a security update, which fixes a buffer overflow vulnerability.
Changes 10.34:
* Add pamthreshold, pamx, pamtoxvmini.
* pammasksharpen: Add -threshold.
* pnmtopng: make "N colors found" message verbose-only.
* pnmtopng: make "no room in palette" message non-verbose.
* picttoppm: Tolerate various PICT file corruptions.
* picttoppm: Don't issue warning message when file named
  'fontdir' doesn't exist.
* libnetpbm: Add ppmd_fill_path().
* ppmtobmp: Fix for PBM input.
* bmptopnm: Don't crash on BMP with no color map.
* bmptopnm: Fix wrong file name in error messages.
* ppmtogif: fix bug: always produces garbage output.
* ppmtompeg: fix input from Standard Input.
* pnmflip: fix bug: -rotate90, -rotate180, and -rotate270
  (and synonyms) don't work when followed by other rotation options.
* ppmtoilbm: Fig bug: generates more planes than necessary.
* pamtofits: fix buffer overflow in asembling header.
* picttoppm: fix bug - interprets some images wrong because of
  bogus "rowBytes" value.
* Redo asprintfN(), etc. so as not to use va_list in a way
  that doesn't work on some machines.
* cameratopam: remove definition of memmem() so it doesn't collide
  with same in some C libraries.  Add memmemN() and MEMEQ to libnetpbm.
* Fix build of filename.o.
2006-06-25 06:35:58 +00:00
minskim
25aed54419 Build .dylib instead of .so on Darwin. Bump PKGREVISION. 2006-06-18 16:18:11 +00:00
wiz
00d3efb978 Add patches for some issues from the known-bugs page, including
one that should fix PR 33347 by martijn (build on amd64).

Bump PKGREVISION.
2006-05-14 16:39:05 +00:00
jlam
c501569a32 On FreeBSD 4.x, <netinet/in.h> needs <sys/types.h> to be included first. 2006-05-10 17:19:00 +00:00
wiz
a76c4743d4 Use versioned png library. Bump PKGREVISION. 2006-04-19 20:52:29 +00:00
wiz
02f8f7c52d Bump BUILDLINK_ABI_DEPENDS.png and PKGREVISION for png-1.2.9nb2 update. 2006-04-17 13:45:57 +00:00
adam
2fc4f59354 Changes 10.33:
Add pamtosvg.

g3topbm: Add -width, -paper_size.

libnetpbm / most newer programs: Fix bug that produces
plain format output when it should be raw because
pnm_readpaminit() does not set 'plainformat' and most
programs just copy the input pam to the output pam.

pamflip: fix bug with left/right flip of PBM that has
width an even multiple of 8 plus something less than 8.

pnmquant: turn on autoflush when creating seekable file.

install: fix symbolic link pnmdepth -> pamdepth.

build: fix some importinc dependencies.
2006-04-17 08:11:17 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
tron
6e158978a7 Make last change work with IRIX's old fashioned "find" command. 2006-04-03 16:53:58 +00:00
tron
97e28a668b Make sure all documentation files are installed world readable. Bump
package revision because this change affects the binary package.
2006-04-03 16:46:51 +00:00
tron
ed8c6d4795 Fix bad shell code causing "make" warnings. 2006-04-03 16:39:04 +00:00
schwarz
8729aaecd9 added a workaround for a bug with Apple's gcc-4.0.0 2006-03-11 17:41:59 +00:00
ghen
a527d84ce0 Convert all packages using REPLACE_INTERPRETER to the new variable names
without underscores (REPLACE.*.old, REPLACE.*.new, and REPLACE_FILES.*).

Also convert REPLACE.*.new= ${SH:Q} back to ${SH}, as it should not be quoted
here, if at all.

Ok with rillig.
2006-03-11 10:07:49 +00:00
ghen
290ef7d98c Use REPLACE_INTERPRETER instead of SUBST. 2006-03-09 14:05:14 +00:00
adam
0edcdc89c0 Fixed symbolic link to pamdepth 2006-03-02 23:17:36 +00:00
adam
bf1c4d5003 Changes 10.32:
* Add rlatopam.
* Add pgmmake.
* bmptopnm: Understands RLE4/RLE8 compressed BMP.
* pnmgamma: Add -bt709tosrgb -srgbtobt709, -bt709tolinear,
  -lineartobt709, -gamma, -rgamma, -ggamma, -bgamma (gammma
  values were formerly specified as parameters).
* pnmgamma: Rename -cieramp to -bt709ramp.
* ppmdraw: work on multi-image streams.
* anytopnm: add mime time image/x-ms-bmp for BMP
* pamchannel: works on multi-image streams.
* pamstack: works on multi-image streams.
* Convert pnmdepth to pamdepth.  Add multi-image stream
  capability.
* pamcut: works on multi-image streams.
* pnmtops: allow -flate and -rle together.
* pnmtops: overhaul of -psfilter output.
* pnmrotate: fine adjustment to arithmetic (rounding,
  pixel quantization).
* pbmtopsg3: Put currentfile ... in exec block.
* pbmtopsg3: Add missing /EndOfBlock.
* pnmtops: Don't claim EPSF if using setpagedevice.
* giftopnm: do "reading image sequence N" message only if
  being verbose.
* ppmtobmp, bmptopnm: major speed improvement for PBM.
* other
2006-02-27 22:01:16 +00:00
wiz
b1c6231f13 Fix bug in xwdtopnm. Patch from Bryan Henderson via Jukka Salmi
on tech-pkg. Bump PKGREVISION.
2006-02-23 17:37:01 +00:00
adam
d2f3dde216 Fix build on FreeBSD 6 (PR-32234) 2006-02-14 21:57:44 +00:00