$OpenBSD: patch-extensions_Library_npsoplugin_mk,v 1.1 2012/10/31 08:34:12 robert Exp $
--- extensions/Library_npsoplugin.mk.orig.port	Mon Oct  8 15:20:32 2012
+++ extensions/Library_npsoplugin.mk	Mon Oct  8 15:30:00 2012
@@ -39,9 +39,13 @@ $(eval $(call gb_Library_use_static_libraries,npsoplug
 
 ifeq ($(GUI),UNX)
 
+ifeq ($(filter $(OS),FREEBSD NETBSD OPENBSD DRAGONFLY),)
+
 $(eval $(call gb_Library_add_libs,npsoplugin,\
 	-ldl \
 ))
+
+endif
 
 $(eval $(call gb_Library_use_external,npsoplugin,gtk))
 
