tech-pkg archive

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


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"
 SUBST_SED.prefix=	-e "s|${BUILDLINK_DIR}/lib/lib\([0-9a-zA-Z_-]*\)\.so|\1|g"

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.


Attachment: oce.diff
Description: Binary data

Home | Main Index | Thread Index | Old Index