openbsd-ports/www/minimo/patches/patch-nsprpub_configure_in
2005-07-13 04:49:56 +00:00

21 lines
720 B
Plaintext

$OpenBSD: patch-nsprpub_configure_in,v 1.2 2005/07/13 04:49:56 jolan Exp $
--- nsprpub/configure.in.orig Fri Jul 1 20:57:07 2005
+++ nsprpub/configure.in Tue Jul 12 22:06:58 2005
@@ -1615,7 +1615,7 @@ mips-sony-newsos*)
AC_DEFINE(HAVE_SOCKLEN_T)
CFLAGS="$CFLAGS -ansi -Wall"
CXXFLAGS="$CXXFLAGS -ansi -Wall"
- DLL_SUFFIX=so.1.0
+ DLL_SUFFIX=so.${SO_VERSION}
DSO_CFLAGS=-fPIC
MDCPUCFG_H=_openbsd.cfg
PR_MD_CSRCS=openbsd.c
@@ -2343,6 +2343,7 @@ if test -n "$USE_PTHREADS"; then
*-openbsd*)
if test "$ac_cv_have_dash_pthread" = "yes"; then
_PTHREAD_LDFLAGS=-pthread
+ LDFLAGS="${_PTHREAD_LDFLAGS} ${LDFLAGS}"
fi
;;
*-linux*)