Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Feb 2000 09:59:13 -0800
From:      "Andrey A. Chernov" <ache@freebsd.org>
To:        Satoshi - Ports Wraith - Asami <asami@FreeBSD.ORG>
Cc:        Akinori -Aki- MUSHA <knu@idaemons.org>, freebsd-ports@FreeBSD.ORG, jseger@FreeBSD.ORG
Subject:   Re: ports/16836: graphics/ImageMagick: configures with LZW enabled
Message-ID:  <20000221095912.A11407@freebsd.org>
In-Reply-To: <vqcema7gcjb.fsf@silvia.hip.berkeley.edu>; from asami@FreeBSD.ORG on Mon, Feb 21, 2000 at 12:55:35AM -0800
References:  <200002202020.MAA35148@freefall.freebsd.org> <86zosvqfjl.wl@archon.local.idaemons.org> <vqcema7gcjb.fsf@silvia.hip.berkeley.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 21, 2000 at 12:55:35AM -0800, Satoshi - Ports Wraith - Asami wrote:
>  * WITH_LZW (or HAVE_LZW_LICENSE) variable to decide whether LZW
>  * compression feature is to be built-in.
> 
> Users who sign LZW license (if there are any of those who also use
> FreeBSD) can edit the Makefiles by themselves.
> 
>  *   But the days before the freeze are numbered.  If no time to
>  * implement this, we'll have to simply disable it, so far.
> 
> Please disable it.

Why to talk about it so much? Here is simple patch to implement what I 
suggest (disabled by default, but optional).

--- Makefile.bak	Fri Jan 28 16:15:12 2000
+++ Makefile	Mon Feb 21 20:49:31 2000
@@ -34,7 +34,10 @@
 
 MAN3PREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
 HAS_CONFIGURE=	YES
-CONFIGURE_ARGS=	--prefix=${PREFIX} --enable-lzw --enable-shared --with-perl=${PERL5}
+CONFIGURE_ARGS= --prefix=${PREFIX} --enable-shared --with-perl=${PERL5}
+.if defined(HAVE_LZW_LICENSE)
+CONFIGURE_ARGS+= --enable-lzw
+.endif
 USE_PERL5=	YES
 CONFIGURE_ENV=  LDFLAGS="$(LDFLAGS) -L${WRKSRC}/magick/.libs"
 post-install:
--
Andrey A. Chernov
<ache@nagual.pp.ru>
http://nagual.pp.ru/~ache/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000221095912.A11407>