=================================================================== RCS file: /cvs/ports/geo/navit/Makefile,v retrieving revision 1.1 retrieving revision 1.3 diff -u -r1.1 -r1.3 --- ports/geo/navit/Makefile 2009/09/10 19:11:24 1.1 +++ ports/geo/navit/Makefile 2009/09/18 22:09:29 1.3 @@ -1,9 +1,9 @@ -# $OpenBSD: Makefile,v 1.1 2009/09/10 18:11:24 yason Exp $ +# $OpenBSD: Makefile,v 1.3 2009/09/18 21:09:29 yason Exp $ #ONLY_FOR_ARCHS = ??? #NOT_FOR_ARCHS = ??? #SHARED_ONLY = ??? #COMES_WITH = ??? -#BROKEN = reason +#BROKEN = GNU getline suxx COMMENT = car navigation system with routing engine @@ -27,10 +27,14 @@ MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=navit/} -MODULES = textproc/intltool -#BUILD_DEPENDS = ??? +MODULES = devel/gettext \ + textproc/intltool +BUILD_DEPENDS = ::x11/gnome/librsvg #RUN_DEPENDS = ??? -#LIB_DEPENDS = ??? +LIB_DEPENDS = ::graphics/freeglut \ + ::graphics/quesoglc \ + ::devel/sdl-image \ + ::misc/gpsd #REGRESS_DEPENDS = ??? #MAKE_FLAGS = ??? @@ -38,41 +42,15 @@ #FAKE_FLAGS = ??? #REGRESS_FLAGS = ??? -#SEPARATE_BUILD = concurrent (build simultaneously on all arches) -#SEPARATE_BUILD = simple (configure/build still recreates files in source) -#USE_X11 = Yes -#USE_GMAKE = Yes -# Programs that uses libtool should use this option, -# unless there is a really good reason not to. -#USE_LIBTOOL = Yes +USE_X11 = Yes +USE_GMAKE = Yes +USE_LIBTOOL = Yes CONFIGURE_STYLE = gnu -#CONFIGURE_SCRIPT = ??? (if other than configure) -#CONFIGURE_ARGS += ${CONFIGURE_SHARED} -CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" - -#REGRESS_IS_INTERACTIVE = Yes - -#FLAVORS = 1 2 3 a b -#FLAVOR ?= -# grab multiple choice value -#CHOICE = ${FLAVOR:L:Na:Nb} -# check that CHOICE is 1 OR 2 OR 3, or error out -#.if ${CHOICE} == "1" -# code for 1 -#.elif ${CHOICE} == "2" -# code for 2 -#.elif ${CHOICE} == "3" -# code for 3 -#.else -#ERRORS += "Fatal: Conflicting flavor: ${FLAVOR}" -#.endif -# check for switches -#.if ${FLAVOR:L:Ma} -# code for a -#.endif -#.if ${FLAVOR:L:Mb} -# code for b -#.endif +CONFIGURE_ARGS += --enable-threads=posix \ + --disable-samplemap \ + ${CONFIGURE_SHARED} +CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" #NO_REGRESS = Yes