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
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 30 10:30:09 UTC 2012
>Originator:     Joris Dedieu
>Release:        8.1-RELEASE-p6
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

This patch add an option to enable cairo support in mapserver

--- 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 @@
 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}
+.if defined(WITH_CAIRO)
+LIB_DEPENDS+=          cairo.2:${PORTSDIR}/graphics/cairo
+CONFIGURE_ARGS+=       --with-cairo=yes
 .if defined(WITH_TIFF)
 .if !defined(WITH_GDAL)
 LIB_DEPENDS+=          tiff.4:${PORTSDIR}/graphics/tiff


More information about the freebsd-ports-bugs mailing list