$OpenBSD$

OpenBSD has strndup(3)

--- sope-mime/NGMime/GNUmakefile.preamble.orig	Thu May  5 19:10:39 2011
+++ sope-mime/NGMime/GNUmakefile.preamble	Thu May  5 19:10:49 2011
@@ -10,7 +10,7 @@ ADDITIONAL_CPPFLAGS += \
         -DHAVE_STRNDUP
 endif
 
-ifneq ($(findstring openbsd, $(GNUSTEP_TARGET_OS)), openbsd)
+ifeq ($(findstring openbsd, $(GNUSTEP_TARGET_OS)), openbsd)
 	ADDITIONAL_CPPFLAGS += -DHAVE_STRNDUP
 endif
 
