databases/grass updating and I18N support

Laurent COURTY laurent_courty at yahoo.fr
Sat Nov 19 07:09:12 PST 2005


Hello,

I'm trying to update the grass port to v6. The configure end with no 
error but the build process give the following :

[...]
gmake[1]: Leaving directory 
`/usr/ports/databases/grass/work/grass-6.0.1/man'
if [ 1 -eq 1 ] ; then gmake -C locale; fi
gmake[1]: Entering directory 
`/usr/ports/databases/grass/work/grass-6.0.1/locale'
Creating translations (= 'make mo')
"../include/Make/Grass.make", line 245: Missing dependency operator
"../include/Make/Grass.make", line 319: Need an operator
"../include/Make/Grass.make", line 334: Need an operator
"../include/Make/Grass.make", line 337: Need an operator
"../include/Make/Module.make", line 7: Need an operator
"../include/Make/Module.make", line 9: Need an operator
"../include/Make/Module.make", line 11: Need an operator
"../include/Make/Module.make", line 13: Need an operator
"../include/Make/Rules.make", line 8: Need an operator
"../include/Make/Rules.make", line 10: Need an operator
Error expanding embedded variable.
gmake[1]: *** [default] Erreur 2
gmake[1]: Leaving directory 
`/usr/ports/databases/grass/work/grass-6.0.1/locale'
gmake: *** [default] Erreur 2
*** Error code 2

Stop in /usr/ports/databases/grass.


It seems make is used instead of gmake. When I try "gmake mo" in locale/ 
directory, things works fine, but with make, I have the same error.

Here is the Makefile :

PORTNAME=	grass
PORTVERSION=	6.0.1
PORTREVISION=	0
PORTEPOCH=	2
CATEGORIES=	databases
MASTER_SITES=	http://grass.itc.it/grass60/source/ \
		http://www.dinama.gub.uy/grass/grass60/source/ \
                 http://www.geog.uni-hannover.de/grass/grass60/source/ \
                 http://grass.baylor.edu//grass60/source/

DISTNAME=	${PORTNAME}-${PORTVERSION}

MAINTAINER=	ports at FreeBSD.org
COMMENT=	An open source Geographical Information System (GIS)

LIB_DEPENDS=	tiff.4:${PORTSDIR}/graphics/tiff \
		png.5:${PORTSDIR}/graphics/png \
		jpeg.9:${PORTSDIR}/graphics/jpeg \
		fftw.2:${PORTSDIR}/math/fftw \
		freetype.9:${PORTSDIR}/print/freetype2 \
		lapack.3:${PORTSDIR}/math/lapack
BUILD_DEPENDS=	tclsh8.4:${PORTSDIR}/lang/tcl84 \
		wish8.4:${PORTSDIR}/x11-toolkits/tk84 \
                 proj:${PORTSDIR}/graphics/proj \
                 gdal-config:${PORTSDIR}/graphics/gdal \
                 fftw-wisdom:${PORTSDIR}/math/fftw
RUN_DEPENDS=	tclsh8.4:${PORTSDIR}/lang/tcl84 \
		wish8.4:${PORTSDIR}/x11-toolkits/tk84 \
                 proj:${PORTSDIR}/graphics/proj \
                 gdal-config:${PORTSDIR}/graphics/gdal \
                 fftw-wisdom:${PORTSDIR}/math/fftw

USE_XLIB=	yes
USE_GMAKE=	yes
GNU_CONFIGURE=  yes
USE_GETTEXT=    yes
ALL_TARGET=
CONFIGURE_ARGS=	--with-includes=${LOCALBASE}/include \
		--with-libs=${LOCALBASE}/lib \
		--with-tcltk-includes="${LOCALBASE}/include/tcl8.4 \
       					${LOCALBASE}/include/tk8.4" \
		--with-freetype \
		--with-freetype-includes=${LOCALBASE}/include/freetype2 \
		--enable-largefile \
		--with-cxx \
		--with-fftw \
		--with-nls

.include <bsd.port.mk>


Did you know how to force the use of gmake during the *.mo build ?

Thanks,

Laurent


More information about the freebsd-ports mailing list