Like the other use flags, jasper is not mandatory so I added a jpeg2k use flag for it.
Created attachment 101391 [details, diff] Patch against netpbm-10.36.ebuild
Looks fine, please commit =)
that isnt how it works ... netpbm will use the bundled jasper version of you set that value to NONE and that certainly is not correct
(In reply to comment #3) > that isnt how it works ... netpbm will use the bundled jasper version of you > set that value to NONE and that certainly is not correct > Please read converter/other/jpeg2000/Makefile again. Relevant code: ifneq ($(JASPERHDR_DIR),NONE) ifneq ($(JASPERLIB_USE),NONE) BINARIES = pamtojpeg2k jpeg2ktopam endif endif
(In reply to comment #3) > that isnt how it works ... netpbm will use the bundled jasper version of you > set that value to NONE and that certainly is not correct > I verified this with rm -r libjasper and ebuild netpbm-10.36.ebuild compile worked just fine. install had problems because of the SUBDIRS variable. I could of course send a patch upstream that disables the libjasper SUBDIR when jasper support is off and then we can just rm the internal copy. Any way this bug can be marked fixed.w