$OpenBSD: patch-configure,v 1.12 2012/10/31 13:23:04 dcoppa Exp $

Remove -ldl

Fix GECKO_CFLAGS and GECKO_LIBS

--- configure.orig	Mon Oct  8 15:16:57 2012
+++ configure	Mon Oct 15 15:17:26 2012
@@ -7385,8 +7385,8 @@ fi
 if test "${with_xulrunner_sdk+set}" = set; then :
   withval=$with_xulrunner_sdk;
 	XULRUNNER_SDK_PREFIX=$with_xulrunner_sdk
-	GECKO_CFLAGS="-I$XULRUNNER_SDK_PREFIX/include -I$XULRUNNER_SDK_PREFIX/include/plugin -I$XULRUNNER_SDK_PREFIX/include/nspr -I$XULRUNNER_SDK_PREFIX/include/xpcom -I$XULRUNNER_SDK_PREFIX/include/string -I$XULRUNNER_SDK_PREFIX/include/java"
-	GECKO_LIBS="-L$XULRUNNER_SDK_PREFIX/lib -lxpcomglue_s -lxul -lxpcom -lplds4 -lplc4 -lnspr4 -lpthread -ldl"
+	GECKO_CFLAGS="-I$XULRUNNER_SDK_PREFIX/include -DOPENBSD"
+	GECKO_LIBS="-L$XULRUNNER_SDK_PREFIX -lxpcomglue_s -lxul -lxpcom -lplds4 -lplc4 -lnspr4 -lpthread"
 
 fi
 
