$OpenBSD: patch-extensions_Library_npsoplugin_mk,v 1.2 2013/05/31 14:50:12 robert Exp $
--- extensions/Library_npsoplugin.mk.orig.port	Thu May  2 17:55:29 2013
+++ extensions/Library_npsoplugin.mk	Sun May 12 12:52:22 2013
@@ -44,9 +44,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))
 
