openbsd-ports/comms/gnokii/patches/patch-configure
ajacoutot 7f25d3f6c0 - link with -pthread, not -lpthread
- regen WANTLIB and PLISTs while here

"go ahead" robert@
2009-01-26 10:59:14 +00:00

33 lines
1.2 KiB
Plaintext

$OpenBSD: patch-configure,v 1.2 2009/01/26 10:59:14 ajacoutot Exp $
--- configure.orig Mon Aug 28 00:37:13 2006
+++ configure Mon Jan 26 11:47:19 2009
@@ -27413,7 +27413,7 @@ fi;
USE_LIBICAL="no"
OLD_LIBS="$LIBS"
OLD_CFLAGS="$CFLAGS"
-LIBS="$LIBS $ICAL_LIBS -lpthread -lical"
+LIBS="$LIBS $ICAL_LIBS -pthread -lical"
CFLAGS="$CFLAGS $ICAL_CFLAGS"
echo "$as_me:$LINENO: checking whether libical is installed" >&5
echo $ECHO_N "checking whether libical is installed... $ECHO_C" >&6
@@ -32748,7 +32748,7 @@ s,@LIBOBJS@,$LIBOBJS,;t t
s,@SET_RELOCATABLE@,$SET_RELOCATABLE,;t t
s,@RELOCATABLE_VIA_LD_TRUE@,$RELOCATABLE_VIA_LD_TRUE,;t t
s,@RELOCATABLE_VIA_LD_FALSE@,$RELOCATABLE_VIA_LD_FALSE,;t t
-s,@LIBICONV@,$LIBICONV,;t t
+s,@LIBICONV@,$LTLIBICONV,;t t
s,@LTLIBICONV@,$LTLIBICONV,;t t
s,@SET_MAKE@,$SET_MAKE,;t t
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
@@ -32774,8 +32774,8 @@ s,@INSTOBJEXT@,$INSTOBJEXT,;t t
s,@GENCAT@,$GENCAT,;t t
s,@INTLOBJS@,$INTLOBJS,;t t
s,@INTL_LIBTOOL_SUFFIX_PREFIX@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t
-s,@INTLLIBS@,$INTLLIBS,;t t
-s,@LIBINTL@,$LIBINTL,;t t
+s,@INTLLIBS@,$LTLIBINTL,;t t
+s,@LIBINTL@,$LTLIBINTL,;t t
s,@LTLIBINTL@,$LTLIBINTL,;t t
s,@POSUB@,$POSUB,;t t
s,@acx_pthread_config@,$acx_pthread_config,;t t