Hello ports,

This should fix the build failures for oce on sparc64.

ok?

-- 

Tracey Emery

Index: Makefile
===================================================================
RCS file: /home/cvs/ports/cad/oce/Makefile,v
retrieving revision 1.8
diff -u -p -r1.8 Makefile
--- Makefile    25 Jan 2023 18:44:36 -0000      1.8
+++ Makefile    13 Feb 2023 20:58:51 -0000
@@ -7,7 +7,7 @@ GH_ACCOUNT =    tpaviot
 GH_PROJECT =   oce
 GH_COMMIT =    98a788062f0f30593880b0df1bcf967408212ba4
 DISTNAME =     oce-7.6.0
-REVISION =     0
+REVISION =     1
 
 .for LIB in TKBO TKBRep TKBin TKBinL TKBinTObj TKBinXCAF TKBool TKCAF TKCDF \
        TKDCAF TKDraw TKFeat TKFillet TKG2d TKG3d TKGeomAlgo TKGeomBase TKHLR \
@@ -50,7 +50,14 @@ BITS=64
 .else
 BITS=32
 .endif
-SUBST_VARS += BITS
+
+.if ${PROPERTIES:Mclang}
+COMP=clang
+.else
+COMP=gcc
+.endif
+
+SUBST_VARS += BITS COMP
 
 # fix bash and make installed script names less generic
 pre-configure:
Index: pkg/PLIST
===================================================================
RCS file: /home/cvs/ports/cad/oce/pkg/PLIST,v
retrieving revision 1.4
diff -u -p -r1.4 PLIST
--- pkg/PLIST   11 Mar 2022 18:24:30 -0000      1.4
+++ pkg/PLIST   13 Feb 2023 20:47:23 -0000
@@ -1,7 +1,7 @@
 bin/DRAWEXE
 @bin bin/DRAWEXE-7.6.0
 bin/oce_custom.sh
-bin/oce_custom_clang_${BITS}.sh
+bin/oce_custom_${COMP}_${BITS}.sh
 bin/oce_draw.sh
 bin/oce_env.sh
 include/opencascade/

Reply via email to