I am working to get cad/oce compiling on Darwin, which it now does after some work (see all the patches below). One change in the Makefile is the following, which only changes the suffix of the files to fix up. +.if !empty(OPSYS:MDarwin) +SUBST_SED.prefix= -e "s|${BUILDLINK_DIR}/lib/lib\([0-9a-zA-Z_-]*\)\.dylib|\1|g" +.else SUBST_SED.prefix= -e "s|${BUILDLINK_DIR}/lib/lib\([0-9a-zA-Z_-]*\)\.so|\1|g" +.endif It seems that there should be some make variable for the platform-specific suffix (i.e., .so versus .dylib), but I cannot find what it is. Please advise on this and any other aspect of the attached patch. Thanks a lot. Cheers, Brook
Attachment:
oce.diff
Description: Binary data