openbsd-ports/www/gecko-mediaplayer/patches/patch-configure
2011-07-12 08:12:28 +00:00

22 lines
1.0 KiB
Plaintext

$OpenBSD: patch-configure,v 1.8 2011/07/12 08:12:29 dcoppa Exp $
Use '-pthread' instead of '-lpthread' for libpthread linkage
Remove -ldl
Fix GECKO_CFLAGS and GECKO_LIBS
--- configure.orig Thu Apr 21 16:59:11 2011
+++ configure Tue Apr 26 16:26:20 2011
@@ -7364,8 +7364,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 -pthread"
# Check whether --enable-new-libxul was given.
if test "${enable_new_libxul+set}" = set; then :
enableval=$enable_new_libxul; usenewlibxul=$enableval