freebsd-ports/graphics/gdal-grass/Makefile
Antoine Brodin a0e3a12b6e Mark broken: Fails to configure
user supplied gdal-config (/usr/local/bin/gdal-config)
using /usr/local/lib/gdalplugins as GDAL shared library autoload directory
checking for G_asprintf in -lgrass_gis... no
configure: error: --with-grass=/usr/local/grass-6.4.2 requested, but libraries not found!  Perhaps you need to set LD_LIBRARY_PATH to include /usr/local/grass-6.4.2/lib?
===>  Script "configure" failed unexpectedly.

Note:		bumping from 6.4.2 to 6.4.3 or 6.4.3/lib doesn't fix
With hat:	portmgr
2014-04-13 07:29:23 +00:00

42 lines
958 B
Makefile

# Created by: Laurent Courty
# $FreeBSD$
PORTNAME= gdal-grass
PORTVERSION= 1.4.3
PORTREVISION= 13
CATEGORIES= graphics
MASTER_SITES= http://download.osgeo.org/gdal/
MAINTAINER= ports@FreeBSD.org
COMMENT= GDAL drivers for GRASS raster and vector files
BROKEN= Fails to configure
BUILD_DEPENDS= grass>6:${PORTSDIR}/databases/grass
LIB_DEPENDS= libgdal.so:${PORTSDIR}/graphics/gdal
RUN_DEPENDS= grass>6:${PORTSDIR}/databases/grass
GRASS_INST_DIR= grass-6.4.2
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USES= gmake
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-gdal=${LOCALBASE}/bin/gdal-config \
--with-grass=${LOCALBASE}/${GRASS_INST_DIR} \
--with-autoload=${GDAL_AUTOLOAD_DIR}
ALL_TARGET=
NO_STAGE= yes
.include <bsd.port.pre.mk>
pre-install:
${MKDIR} ${PREFIX}/share/gdal
.if !defined(GDAL_AUTOLOAD_DIR)
GDAL_AUTOLOAD_DIR=${PREFIX}/lib/gdalplugins
.endif
.if !defined (GRASS_INST_DIR)
GRASS_INST_DIR= grass
.endif
.include <bsd.port.post.mk>