openbsd-ports/x11/kde/pim3/patches/patch-configure_in
ajacoutot 3a8eeb33a9 - fix libmal detection
noticed by STeve Andre <andres at msu dot edu>
- bump PKGNAME (could build under some circumstances)
2007-01-22 12:02:27 +00:00

23 lines
667 B
Plaintext

$OpenBSD: patch-configure_in,v 1.2 2007/01/22 12:02:27 ajacoutot Exp $
--- configure.in.orig Mon Oct 2 20:50:32 2006
+++ configure.in Mon Jan 22 09:38:08 2007
@@ -671,7 +671,8 @@ if test "$HAVE_PISOCK" = "1" ; then
],
[-lsocket]
)
- ]
+ ],
+ -pthread
)
fi
fi
@@ -809,7 +810,7 @@ if test "x$with_mal" = "xCHECK" ; then
mal_libdir)
if test -r $mal_libdir/libmal.$ext ; then
if test "x$mal_libdir" != "x/usr/lib$kdelibsuff" ; then
- MAL_LIB="-L$mal_libdir "
+ MAL_LIB="-pthread -L$mal_libdir "
test "$USE_RPATH" = yes && MAL_RPATH="-R $mal_libdir"
fi
MAL_LIB="${MAL_LIB}-lmal"