ports/166511: [PATCH] graphics/mapserver add cairo support

Joris Dedieu joris.dedieu at gmail.com
Fri Mar 30 10:30:10 UTC 2012


>Number:         166511
>Category:       ports
>Synopsis:       [PATCH] graphics/mapserver add cairo support
>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:   Fri Mar 30 10:30:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Joris Dedieu
>Release:        8.1-RELEASE-p6
>Organization:
>Environment:
FreeBSD entente2.nfrance.com 8.1-RELEASE-p6 FreeBSD 8.1-RELEASE-p6 #1: Tue Oct 11 18:17:37 CEST 2011     root at entente2.nfrance.com:/usr/obj/usr/src/sys/NFDEDIE_2_0_PF  amd64

>Description:
This patch add an option to enable cairo support in mapserver
>How-To-Repeat:

>Fix:
--- graphics/mapserver/Makefile.orig    2012-03-30 11:52:01.000000000 +0200
+++ graphics/mapserver/Makefile 2012-03-30 12:18:20.000000000 +0200
@@ -32,6 +32,7 @@
 MAKE_JOBS_UNSAFE=      yes
 
 OPTIONS=               AGG "Support for AGG image rendering (req: FreeType)" off \
+                       CAIRO "SVG/PDF support via Cairo" off \
                        TIFF "Support for TIFF (but not GeoTIFF) files" off \
                        PDF "Support for PDF output via pdflib" off \
                        GDAL "Support for a number of input raster formats" on \
@@ -55,6 +56,11 @@
 CONFIGURE_ARGS+=       --with-agg=${LOCALBASE} --with-freetype=${LOCALBASE}
 .endif
 
+.if defined(WITH_CAIRO)
+LIB_DEPENDS+=          cairo.2:${PORTSDIR}/graphics/cairo
+CONFIGURE_ARGS+=       --with-cairo=yes
+.endif
+
 .if defined(WITH_TIFF)
 .if !defined(WITH_GDAL)
 LIB_DEPENDS+=          tiff.4:${PORTSDIR}/graphics/tiff


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list