- Fix build after databases/grass update
PR: ports/161583 Submitted by: Bartoletti <coder@tuxfamily.org>
This commit is contained in:
parent
f038eaba73
commit
c41cb4c2b3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=283955
2 changed files with 1 additions and 12 deletions
|
@ -46,7 +46,7 @@ BROKEN= does not compile on 7.X
|
|||
.endif
|
||||
|
||||
.if defined(WITH_GRASS)
|
||||
CMAKE_ARGS+= -DWITH_GRASS:BOOL=TRUE
|
||||
CMAKE_ARGS+= -DWITH_GRASS:BOOL=TRUE -DGRASS_PREFIX=${LOCALBASE}/grass-6.4.1
|
||||
RUN_DEPENDS+= ${LOCALBASE}/lib/gdalplugins/gdal_GRASS.so:${PORTSDIR}/graphics/gdal-grass
|
||||
.else
|
||||
CMAKE_ARGS+= -DWITH_GRASS:BOOL=FALSE
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
--- cmake/FindGRASS.cmake.orig 2011-08-08 10:51:01.000000000 +0800
|
||||
+++ cmake/FindGRASS.cmake 2011-08-08 10:52:58.000000000 +0800
|
||||
@@ -44,7 +44,7 @@
|
||||
# search for grass installations
|
||||
|
||||
# list of paths which to search - user's choice as first
|
||||
-SET (GRASS_PATHS ${GRASS_PREFIX} /usr/lib/grass /usr/lib64/grass64 /usr/lib/grass64 c:/msys/local /opt/grass $ENV{GRASS_PREFIX})
|
||||
+SET (GRASS_PATHS ${GRASS_PREFIX} %%PREFIX%%/grass-6.4.0 /usr/lib/grass /usr/lib64/grass64 /usr/lib/grass64 c:/msys/local /opt/grass $ENV{GRASS_PREFIX})
|
||||
|
||||
# mac-specific path
|
||||
IF (APPLE)
|
Loading…
Reference in a new issue