mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
graphics/mapnik: fix build with graphics/agg is installed
PR: 189943 Submitted by: brfr (metrico.lu) Patch by: maintainer (Aleksey Illarionov)
This commit is contained in:
parent
79b72e7547
commit
ac72ad3f9b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361586
@ -4,7 +4,7 @@
|
||||
PORTNAME= mapnik
|
||||
PORTVERSION= 2.2.0
|
||||
DISTVERSIONPREFIX= v
|
||||
PORTREVISION= 8
|
||||
PORTREVISION= 9
|
||||
CATEGORIES= graphics geography
|
||||
MASTER_SITES= http://mapnik.s3.amazonaws.com/dist/v${PORTVERSION}/
|
||||
|
||||
@ -21,8 +21,7 @@ LIB_DEPENDS= libproj.so:${PORTSDIR}/graphics/proj \
|
||||
BUILD_DEPENDS= ${LOCALBASE}/bin/freetype-config:${PORTSDIR}/print/freetype2 \
|
||||
${PYTHON_PKGNAMEPREFIX}icu>=0.8.1:${PORTSDIR}/devel/py-icu
|
||||
|
||||
USE_BZIP2= yes
|
||||
USES= pkgconfig scons
|
||||
USES= pkgconfig scons tar:bzip2
|
||||
USE_GNOME= libxml2
|
||||
USE_PYTHON= yes
|
||||
USE_LDCONFIG= yes
|
||||
@ -116,9 +115,6 @@ 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}
|
||||
@ -137,6 +133,7 @@ pre-configure:
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's#/usr/local#${LOCALBASE}#g' \
|
||||
-e 's#/usr/include#${LOCALBASE}/include#g' \
|
||||
${WRKSRC}/SConstruct
|
||||
|
||||
post-install:
|
||||
|
Loading…
Reference in New Issue
Block a user