diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-07-29 10:42:54 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-07-29 10:42:54 +0800 |
commit | defa5cb679733acb455b972db777ace95ae65927 (patch) | |
tree | c1a374f1c312f773f8490ce54d0d60adfa38089d | |
parent | 7d4d7f0801def4618ea9e2e15a5a8c515cfae9ee (diff) | |
download | marcuscom-ports-defa5cb679733acb455b972db777ace95ae65927.tar marcuscom-ports-defa5cb679733acb455b972db777ace95ae65927.tar.gz marcuscom-ports-defa5cb679733acb455b972db777ace95ae65927.tar.bz2 marcuscom-ports-defa5cb679733acb455b972db777ace95ae65927.tar.lz marcuscom-ports-defa5cb679733acb455b972db777ace95ae65927.tar.xz marcuscom-ports-defa5cb679733acb455b972db777ace95ae65927.tar.zst marcuscom-ports-defa5cb679733acb455b972db777ace95ae65927.zip |
- Rework the way we disable/enable SVG support since configure
does not have a knob to turn it off. Detect ${LOCALBASE}/lib/libsvg-cairo.a
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4352 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r-- | graphics/py-cairo/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/graphics/py-cairo/Makefile b/graphics/py-cairo/Makefile index 501a14eb8..b9b44ad7e 100644 --- a/graphics/py-cairo/Makefile +++ b/graphics/py-cairo/Makefile @@ -3,7 +3,7 @@ # Whom: Michael Johnson <ahze@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/graphics/py-cairo/Makefile,v 1.8 2005/07/23 01:43:48 ahze Exp $ +# $MCom: ports/graphics/py-cairo/Makefile,v 1.9 2005/07/28 22:49:31 ahze Exp $ # PORTNAME= cairo @@ -30,11 +30,11 @@ CONFIGURE_ARGS= --without-pygtk .include <bsd.port.pre.mk> -.if !defined(WITHOUT_SVG) -LIB_DEPENDS+= svg-cairo.1:${PORTSDIR}/graphics/libsvg-cairo -PLIST_SUB+= SVG="" +.if defined(WITHOUT_SVG) && !exists(${LOCALBASE}/lib/libsvg-cairo.a) +PLIST_SUB+= SVG="@comment " .else PLIST_SUB+= SVG="@comment " +LIB_DEPENDS+= svg-cairo.1:${PORTSDIR}/graphics/libsvg-cairo .endif pre-everything:: |