$OpenBSD: patch-j2sdk1_3_1_make_sun_cmm_Makefile,v 1.1 2005/06/03 17:27:54 kurt Exp $
--- j2sdk1.3.1/make/sun/cmm/Makefile.orig	Wed Apr 20 13:15:59 2005
+++ j2sdk1.3.1/make/sun/cmm/Makefile	Wed Apr 20 13:16:04 2005
@@ -88,7 +88,12 @@ OTHER_LDLIBS = -pthread $(LIBM)
 endif
 CFLAGS += -pthread
 else
+ifeq ($(TRUE_PLATFORM),OpenBSD)
+OTHER_LDLIBS = -pthread $(LIBM)
+CFLAGS      += -pthread
+else
 OTHER_LDLIBS = -lpthread $(LIBM)
+endif
 endif
 else
 OTHER_LDLIBS = $(LIBM)
