aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2014-03-09 17:51:32 +0800
committermarino <marino@FreeBSD.org>2014-03-09 17:51:32 +0800
commita0bec0153d81996649101043ae783afcc1aa275c (patch)
tree7b8dc7a95186bad48f9b3947e3c30a2499e7e660 /graphics
parentc19bef033bc0eb83405fa4512c8a42c4409641fd (diff)
downloadfreebsd-ports-gnome-a0bec0153d81996649101043ae783afcc1aa275c.tar.gz
freebsd-ports-gnome-a0bec0153d81996649101043ae783afcc1aa275c.tar.zst
freebsd-ports-gnome-a0bec0153d81996649101043ae783afcc1aa275c.zip
graphics/mapnik: Attempted unbreak on FreeBSD 10+
PR: ports/186450 submitted by: Steven Lawrance approved by: maintainer (Aleksey Illarionov)
Diffstat (limited to 'graphics')
-rw-r--r--graphics/mapnik/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/graphics/mapnik/Makefile b/graphics/mapnik/Makefile
index fdae4260fc0a..58d9aea5b6d5 100644
--- a/graphics/mapnik/Makefile
+++ b/graphics/mapnik/Makefile
@@ -4,7 +4,7 @@
PORTNAME= mapnik
PORTVERSION= 2.2.0
DISTVERSIONPREFIX= v
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= graphics geography
MASTER_SITES= http://mapnik.s3.amazonaws.com/dist/v${PORTVERSION}/
@@ -116,6 +116,9 @@ MAKE_ARGS+= TIFF=False
IGNORE= does not install: runs out of virtual memory
.endif
+MAKE_ARGS+= CUSTOM_CFLAGS=-I${LOCALBASE}/include
+MAKE_ARGS+= CUSTOM_CXXFLAGS=-I${LOCALBASE}/include
+MAKE_ARGS+= CUSTOM_LDFLAGS=-L${LOCALBASE}/lib
MAKE_ARGS+= WARNING_CXXFLAGS=${WARNING_CXXFLAGS}
MAKE_ARGS+= INPUT_PLUGINS="`${ECHO} ${INPUT_PLUGINS} | ${TR} ' ' ,`"
MAKE_ARGS+= JOBS=${MAKE_JOBS_NUMBER}