Date: Sun, 4 Nov 2007 09:40:49 +0100 (CET) From: Roland Smith <rsmith@xs4all.nl> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/117805: [PATCH] graphics/autotrace: make dependencies on ming and pstoedit OPTIONS. Message-ID: <20071104084049.40DC1B82D@slackbox.xs4all.nl> Resent-Message-ID: <200711040900.lA4908Z9042314@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 117805 >Category: ports >Synopsis: [PATCH] graphics/autotrace: make dependencies on ming and pstoedit OPTIONS. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Nov 04 09:00:08 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Roland Smith >Release: FreeBSD 7.0-BETA1 amd64 >Organization: >Environment: System: FreeBSD slackbox.xs4all.nl 7.0-BETA1 FreeBSD 7.0-BETA1 #0: Fri Oct 26 17:00:53 CEST 2007 rsmith@slackbox.xs4all.nl:/usr/obj/usr/src/sys/RFS amd64 >Description: Autotrace depends on ming and pstoedit, but it works without them (with less available output formats, of course). >How-To-Repeat: Build autotrace, see it pull in ming and pstoedit. >Fix: The following patch makes the dependancies on ming and pstoedit OPTIONS. Portlint says: 'looks fine'. ---------------- graphics/autotrace/Makefile patch ---------------- --- Makefile.orig 2007-11-04 09:19:01.000000000 +0100 +++ Makefile 2007-11-04 09:26:35.000000000 +0100 @@ -2,7 +2,7 @@ # Date created: 12 April 2001 # Whom: KANOU Hiroki <kanou@mil.allnet.ne.jp> # -# $FreeBSD: ports/graphics/autotrace/Makefile,v 1.36 2007/06/15 13:10:58 pav Exp $ +# $FreeBSD$ # PORTNAME= autotrace @@ -15,10 +15,7 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Convert bitmap to vector graphics -LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \ - ming.4:${PORTSDIR}/graphics/ming \ - Magick.10:${PORTSDIR}/graphics/ImageMagick \ - pstoedit.0:${PORTSDIR}/graphics/pstoedit +LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png USE_AUTOTOOLS= libtool:15 USE_LDCONFIG= yes @@ -29,6 +26,17 @@ MAN1= autotrace.1 +OPTIONS= MING "Enable swf interface" on \ + PSTOEDIT "Convert postscript to other formats" on + +.if defined (WITH_MING) +LIB_DEPENDS+= ming.4:${PORTSDIR}/graphics/ming +.endif + +.if defined (WITH_PSTOEDIT) +LIB_DEPENDS+= pstoedit.0:${PORTSDIR}/graphics/pstoedit +.endif + post-patch: @${REINPLACE_CMD} -e \ 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|' \ ---------------- graphics/autotrace/Makefile patch ---------------- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071104084049.40DC1B82D>