Kicad diff attached. WANTLIB is happy, but portcheck is complaining:

the following libraries in WANTLIB look like masked by RUN_DEPENDS: all
the wxWidgets libraries.

> > KiCad
> 
> The version number goes backwards, so we need to set EPOCH=0.
> 
> Should use the official homepage, http://www.kicad-pcb.org/.
> 
> Most of those dependencies need to be LIB_DEPENDS, not BUILD_DEPENDS.

Sigh: this has been problem the whole time ^^^^^^^^^
        * bangs head against wall *

> Please ensure the output of "make port-lib-depends-check" is clean.
> 
> 
> oce is still building and I'm very short on time, so I'd appreciate if
> you could revise the oce, libngspice, and kicad ports based on my
> comments above.
> 
> In the meantime I think my attached kicad-share ports are fine to go in.
> Any developers willing to provide an ok?
> 
> -- 
> Anthony J. Bentley

-- 

Tracey Emery

diff -ru cad/kicad.orig/Makefile cad/kicad/Makefile
--- cad/kicad.orig/Makefile     Wed Oct  2 09:55:23 2019
+++ cad/kicad/Makefile  Wed Oct  2 12:38:04 2019
@@ -3,49 +3,49 @@
 V =                    5.1.4
 COMMENT =              schematic and PCB editing software
 DISTNAME =             kicad-${V}
+EPOCH =                        0
 
 SHARED_LIBS +=         kicad_3dsg                0.0 # 2.0
 
 CATEGORIES =           cad
 
-HOMEPAGE =             https://github.com/KiCad/kicad-source-mirror
+HOMEPAGE =             http://www.kicad-pcb.org
 
 #GPLv3
 PERMIT_PACKAGE =       Yes
 
 WANTLIB += GL GLU ICE SM X11 Xext c crypto freetype m pixman-1
-WANTLIB += ssl
-# WANTLIB += GLEW PTKernel TKBO TKBRep TKBin TKBinL TKBinXCAF TKBool
-# WANTLIB += TKCAF TKCDF TKFillet TKG2d TKG3d TKGeomAlgo TKGeomBase
-# WANTLIB += TKHLR TKIGES TKLCAF TKMath TKMesh TKOffset TKPCAF TKPLCAF
-# WANTLIB += TKPShape TKPrim TKSTEP TKSTEP209 TKSTEPAttr TKSTEPBase
-# WANTLIB += TKService TKShHealing TKTopAlgo TKV3d TKXCAF TKXDEIGES
-# WANTLIB += TKXDESTEP TKXSBase TKernel
-# WANTLIB += boost_atomic-mt boost_chrono-mt boost_context-mt
-# WANTLIB += boost_date_time-mt boost_system-mt boost_thread-mt
-# WANTLIB += cairo curl ngspice
-# WANTLIB += wx_baseu-3.0 wx_baseu_net-3.0 wx_gtk3u_adv-3.0 wx_gtk3u_aui-3.0
-# WANTLIB += wx_gtk3u_core-3.0 wx_gtk3u_gl-3.0 wx_gtk3u_html-3.0
-# WANTLIB += wx_baseu_xml-3.0 wx_gtk3u_stc-3.0
+WANTLIB += ssl ${COMPILER_LIBCXX}
+WANTLIB += GLEW PTKernel TKBO TKBRep TKBin TKBinL TKBinXCAF TKBool
+WANTLIB += TKCAF TKCDF TKFillet TKG2d TKG3d TKGeomAlgo TKGeomBase
+WANTLIB += TKHLR TKIGES TKLCAF TKMath TKMesh TKOffset TKPCAF TKPLCAF
+WANTLIB += TKPShape TKPrim TKSTEP TKSTEP209 TKSTEPAttr TKSTEPBase
+WANTLIB += TKService TKShHealing TKTopAlgo TKV3d TKXCAF TKXDEIGES
+WANTLIB += TKXDESTEP TKXSBase TKernel
+WANTLIB += boost_atomic-mt boost_chrono-mt boost_context-mt
+WANTLIB += boost_date_time-mt boost_system-mt boost_thread-mt
+WANTLIB += cairo curl ngspice
+WANTLIB += wx_baseu-3.0 wx_baseu_net-3.0 wx_gtk3u_adv-3.0 wx_gtk3u_aui-3.0
+WANTLIB += wx_gtk3u_core-3.0 wx_gtk3u_gl-3.0 wx_gtk3u_html-3.0
+WANTLIB += wx_baseu_xml-3.0 wx_gtk3u_stc-3.0
 
 MASTER_SITES =         https://launchpad.net/kicad/5.0/${V}/+download/
 
 EXTRACT_SUFX =         .tar.xz
 
-BUILD_DEPENDS =                cad/libngspice \
-                       cad/ngspice \
-                       cad/oce \
-                       devel/boost \
-                       devel/cmake \
-                       devel/doxygen \
-                       devel/ninja \
+BUILD_DEPENDS =                devel/doxygen \
                        devel/re2c \
                        devel/swig \
-                       graphics/cairo \
                        graphics/freeglut \
-                       graphics/glew \
                        graphics/glm \
-                       misc/shared-mime-info \
+                       misc/shared-mime-info
+
+LIB_DEPENDS =          cad/libngspice \
+                       cad/oce \
+                       devel/boost \
+                       devel/boost,-md \
+                       graphics/cairo \
+                       graphics/glew \
                        net/curl \
                        x11/wxWidgets
 
@@ -58,7 +58,7 @@
                        misc/shared-mime-info \
                        x11/gtk+3,-guic
 
-COMPILER =             ports-clang
+COMPILER =             base-clang ports-clang
 
 MODULES =              devel/cmake \
                        lang/python

Reply via email to