=================================================================== RCS file: /cvs/ports/geo/navit/Makefile,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ports/geo/navit/Makefile 2009/09/10 19:11:24 1.1 +++ ports/geo/navit/Makefile 2009/09/16 22:43:00 1.2 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2009/09/10 18:11:24 yason Exp $ +# $OpenBSD: Makefile,v 1.2 2009/09/16 21:43:00 yason Exp $ #ONLY_FOR_ARCHS = ??? #NOT_FOR_ARCHS = ??? #SHARED_ONLY = ??? @@ -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,19 +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 +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" #FLAVORS = 1 2 3 a b #FLAVOR ?=