diff options
author | jlam <jlam@pkgsrc.org> | 2005-01-09 21:34:41 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-01-09 21:34:41 +0000 |
commit | 801a9ccd7fd94725370bd6846f067d391bffaffd (patch) | |
tree | db94f46ca10d576cec5f7dab569beb3bbf80b304 /graphics/tiff | |
parent | fff2b6daee017b6c6ce2b60776526e00ddfb6975 (diff) | |
download | pkgsrc-801a9ccd7fd94725370bd6846f067d391bffaffd.tar.gz |
Note that this package requires C++. Also, convert to use the
bsd.options.mk framework. The USE_GIF option is now called "lzw" and
is enabled by default.
Diffstat (limited to 'graphics/tiff')
-rw-r--r-- | graphics/tiff/Makefile | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/graphics/tiff/Makefile b/graphics/tiff/Makefile index bf57bccd90b..4584a6a77e0 100644 --- a/graphics/tiff/Makefile +++ b/graphics/tiff/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.61 2004/12/28 23:10:10 reed Exp $ +# $NetBSD: Makefile,v 1.62 2005/01/09 21:34:41 jlam Exp $ DISTNAME= tiff-3.7.1 CATEGORIES= graphics @@ -11,20 +11,32 @@ COMMENT= Library and tools for reading and writing TIFF data files EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} -BUILD_DEFS+= USE_GIF - PKG_INSTALLATION_TYPES= overwrite pkgviews +USE_LANGUAGES= c c++ USE_BUILDLINK3= yes USE_LIBTOOL= yes -GNU_CONFIGURE= yes +GNU_CONFIGURE= yes CONFIGURE_ARGS+= --enable-rpath +CONFIGURE_ARGS+= --enable-c++ .include "../../mk/bsd.prefs.mk" -.if !defined(USE_GIF) || !empty(USE_GIF:M[Nn][Oo]) -# disable support for LZW algorithm +.if defined(USE_GIF) && !empty(USE_GIF:M[yY][eE][sS]) +PKG_DEFAULT_OPTIONS+= lzw +.endif + +PKG_OPTIONS_VAR= PKG_OPTIONS.tiff +PKG_SUPPORTED_OPTIONS= lzw +.include "../../mk/bsd.options.mk" + +### +### LZW compression support +### +.if !empty(PKG_OPTIONS:Mlzw) +CONFIGURE_ARGS+= --enable-lzw +.else CONFIGURE_ARGS+= --disable-lzw .endif |