pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

navit: Fixed undefined PLT symbol



Module Name:	pkgsrc-wip
Committed By:	FeZ <fekete.zoltan%minux.hu@localhost>
Pushed By:	fez
Date:		Mon May 28 11:02:06 2018 +0000
Changeset:	d1eb1e928db174b1fc7a2b265d58351f013e06d4

Modified Files:
	navit/Makefile
	navit/PLIST

Log Message:
navit: Fixed undefined PLT symbol

Runtime error udefined PLT symbol was caused by the wrong library
search path. This fix solves the problem.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d1eb1e928db174b1fc7a2b265d58351f013e06d4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 navit/Makefile | 35 ++++++++++++++++++++++++++---------
 navit/PLIST    | 28 ++++------------------------
 2 files changed, 30 insertions(+), 33 deletions(-)

diffs:
diff --git a/navit/Makefile b/navit/Makefile
index c4ea7911c0..ec87a9a2e4 100644
--- a/navit/Makefile
+++ b/navit/Makefile
@@ -1,34 +1,51 @@
 # $NetBSD$
 
-DISTNAME=	navit-0.5.1
+GITHUB_PROJECT=	navit
+DISTNAME=	v0.5.1
+PKGNAME=	${GITHUB_PROJECT}-${DISTNAME}
+PKGREVISION=    1
 CATEGORIES=	geography
 MASTER_SITES=	${MASTER_SITE_GITHUB:=navit-gps/}
-GITHUB_TAG=	v${PKGVERSION_NOREV}
+DIST_SUBDIR=	${GITHUB_PROJECT}
 
 MAINTAINER=	fekete.zoltan%minux.hu@localhost
 HOMEPAGE=	https://github.com/navit-gps/navit/
 COMMENT=	GPS car navigation system
 LICENSE=	gnu-gpl-v2
 
+WRKSRC=		${WRKDIR}/navit-0.5.1
 USE_CMAKE=	yes
 USE_LANGUAGES=	c c++
 
 #USE_LIBTOOL=		yes
 #USE_PKGLOCALEDIR=	yes
-USE_TOOLS+=		cmake gettext
+USE_TOOLS+=		cmake pkg-config
 
-# LIBS.Linux+= -ldl
+CMAKE_ARGS+=    -DLIB_DIR=${PREFIX}/lib/navit \
+                -DMAN_DIR=${PREFIX}/man \
+		-DUSE_PLUGINS=0 \
+		-DSAMPLE_MAP=0 \
+		-DSVG2PNG=0 \
+		-DUSE_NATIVE_LANGUAGE_SUPPORT=0
+		
+
+# DEPENDS+=       gettext-lib-[0-9]*:../../devel/gettext-lib
+DEPENDS+=       png>=1.6:../../graphics/png
+DEPENDS+=       freetype2>=2.9:../../graphics/freetype2
+DEPENDS+=       glib2>=2.0:../../devel/glib2
+DEPENDS+=       python27-[0-9]*:../../lang/python27
+DEPENDS+=       gtk2-[0-9]*:../../x11/gtk2
+DEPENDS+=       librsvg-[2-9]*:../../graphics/librsvg
+DEPENDS+=       imlib-[0-9]*:../../graphics/imlib2
 
-BUILD_DEPENDS+=gettext-lib-[0-9]*:../../devel/gettext-lib
 
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
-BUILDLINK_API_DEPENDS.png+=	png>=1.6
 .include "../../graphics/png/buildlink3.mk"
+.include "../../graphics/imlib2/buildlink3.mk"
+.include "../../graphics/librsvg/buildlink3.mk"
 .include "../../lang/python27/buildlink3.mk"
-BUILDLINK_API_DEPENDS.freetype2+=	freetype2>=2.9
 .include "../../graphics/freetype2/buildlink3.mk"
-.include "../../devel/gettext-lib/buildlink3.mk"
-BUILDLINK_API_DEPENDS.glib2+=	glib2>=2.0
+# .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../devel/glib2/buildlink3.mk"
 .include "../../x11/gtk2/buildlink3.mk"
 .include "../../mk/dlopen.buildlink3.mk"
diff --git a/navit/PLIST b/navit/PLIST
index 9f228df9b0..bf8d2fa74e 100644
--- a/navit/PLIST
+++ b/navit/PLIST
@@ -1,28 +1,10 @@
 @comment $NetBSD$
 bin/maptool
 bin/navit
-lib64/navit/binding/libbinding_python.so
-lib64/navit/font/libfont_freetype.so
-lib64/navit/graphics/libgraphics_gtk_drawing_area.so
-lib64/navit/graphics/libgraphics_null.so
-lib64/navit/graphics/libgraphics_opengl.so
-lib64/navit/gui/libgui_gtk.so
-lib64/navit/gui/libgui_internal.so
-lib64/navit/libfib.a
-lib64/navit/libsupport_shapefile.a
-lib64/navit/map/libmap_binfile.so
-lib64/navit/map/libmap_csv.so
-lib64/navit/map/libmap_filter.so
-lib64/navit/map/libmap_mg.so
-lib64/navit/map/libmap_shapefile.so
-lib64/navit/map/libmap_textfile.so
-lib64/navit/osd/libosd_core.so
-lib64/navit/speech/libspeech_cmdline.so
-lib64/navit/vehicle/libvehicle_demo.so
-lib64/navit/vehicle/libvehicle_file.so
-lib64/navit/vehicle/libvehicle_pipe.so
-lib64/navit/vehicle/libvehicle_serial.so
-lib64/navit/vehicle/libvehicle_socket.so
+lib/navit/libfib.a
+lib/navit/libsupport_shapefile.a
+man/maptool.1
+man/navit.1
 share/applications/navit.desktop
 share/icons/hicolor/108x108/apps/navit.png
 share/icons/hicolor/128x128/apps/navit.png
@@ -106,8 +88,6 @@ share/locale/vi/LC_MESSAGES/navit.mo
 share/locale/zh_CN/LC_MESSAGES/navit.mo
 share/locale/zh_HK/LC_MESSAGES/navit.mo
 share/locale/zh_TW/LC_MESSAGES/navit.mo
-share/man/man1/maptool.1
-share/man/man1/navit.1
 share/navit/icons/airport.svg
 share/navit/icons/atm.svg
 share/navit/icons/attraction.svg


Home | Main Index | Thread Index | Old Index