On Fri Feb 18, 2022 at 06:32:33PM -0800, Andrew Hewus Fresh wrote:
> I tried to run openscad on my PineBook Pro and it said:
> 
> ld.so: openscad: can't load library 'libQt5Gamepad.so.1.0'
> 
> pkg_add qtgamepad seemed to fix it, so I assume adding a LIB_DEPENDS on
> qtgamepad should resolve it, although I'm not entirely sure what part of
> openscad has gamepad support.
> 
> I haven't actually finished rebuilding it on this laptop yet, but it's
> going.
> 
> Comments, OK?
> 
> 
> Index: cad/openscad/Makefile
> ===================================================================
> RCS file: /cvs/ports/cad/openscad/Makefile,v
> retrieving revision 1.41
> diff -u -p -r1.41 Makefile
> --- cad/openscad/Makefile     2 Nov 2021 00:00:15 -0000       1.41
> +++ cad/openscad/Makefile     18 Feb 2022 21:01:22 -0000
> @@ -5,7 +5,7 @@ BROKEN-sparc64=       SIGILL on src/cgalutils.
>  
>  V =                  2021.01
>  DISTNAME =           openscad-${V}
> -REVISION =           0
> +REVISION =           1
>  
>  CATEGORIES =         cad
>  
> @@ -43,6 +43,7 @@ LIB_DEPENDS =               archivers/libzip \
>                       graphics/glew \
>                       graphics/opencsg \
>                       math/double-conversion \
> +                     x11/qt5/qtgamepad \
>                       x11/qt5/qtmultimedia
>  
>  RUN_DEPENDS =                devel/desktop-file-utils \
> 

With WANTLIB adjustment OK rsadowski

Index: Makefile
===================================================================
RCS file: /cvs/ports/cad/openscad/Makefile,v
retrieving revision 1.41
diff -u -p -r1.41 Makefile
--- Makefile    2 Nov 2021 00:00:15 -0000       1.41
+++ Makefile    19 Feb 2022 06:17:53 -0000
@@ -5,7 +5,7 @@ BROKEN-sparc64= SIGILL on src/cgalutils.
 
 V =                    2021.01
 DISTNAME =             openscad-${V}
-REVISION =             0
+REVISION =             1
 
 CATEGORIES =           cad
 
@@ -15,12 +15,12 @@ HOMEPAGE =          https://www.openscad.org/
 PERMIT_PACKAGE =       Yes
 
 WANTLIB += ${COMPILER_LIBCXX} GL GLEW GLU Qt5Concurrent Qt5Core
-WANTLIB += Qt5DBus Qt5Gui Qt5Multimedia Qt5Network Qt5PrintSupport
-WANTLIB += Qt5Widgets X11 boost_filesystem-mt boost_program_options-mt
-WANTLIB += boost_regex-mt boost_system-mt boost_thread-mt c cairo
-WANTLIB += double-conversion fontconfig freetype glib-2.0 gmp
-WANTLIB += harfbuzz intl m mpfr opencsg qscintilla2_qt5 xml2 z
-WANTLIB += zip
+WANTLIB += Qt5DBus Qt5Gamepad Qt5Gui Qt5Multimedia Qt5Network
+WANTLIB += Qt5PrintSupport Qt5Widgets X11 boost_filesystem-mt
+WANTLIB += boost_program_options-mt boost_regex-mt boost_system-mt
+WANTLIB += boost_thread-mt c cairo double-conversion fontconfig
+WANTLIB += freetype glib-2.0 gmp harfbuzz intl m mpfr opencsg
+WANTLIB += qscintilla2_qt5 xml2 z zi
 
 MASTER_SITES =         https://files.openscad.org/
 EXTRACT_SUFX =         .src.tar.gz
@@ -43,6 +43,7 @@ LIB_DEPENDS =         archivers/libzip \
                        graphics/glew \
                        graphics/opencsg \
                        math/double-conversion \
+                       x11/qt5/qtgamepad \
                        x11/qt5/qtmultimedia
 
 RUN_DEPENDS =          devel/desktop-file-utils \

Reply via email to