This is related to the linphone-base port, which has its own
problems, but still...
I am trying to enable video support for it, and the first
problem is that its configure script does not detect SDL
unless i put an additiona -lpthread in CFLAGS (because libSDL
requires some pthread functions). The following patch does the job:
USE_AUTOTOOLS= libtool:15
LIBTOOLFILES= configure oRTP/configure
-CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+CONFIGURE_ENV= CFLAGS="${CFLAGS} -lpthread" CPPFLAGS="${CPPFLAGS}"
LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS=--disable-ipv6 --disable-gtk-doc --enable-gnome_ui=no \
--disable-ewarning --without-ilbc --disable-strict \
--with-speex=${LOCALBASE} --with-osip=${LOCALBASE} \
+ --enable-video --with-sdl=${LOCALBASE} \
--with-html-dir=${DOCSDIR}
but if i just add -lpthread to LDFLAGS the linking (during configure)
fails. Any ideas why ?
cheers
luigi
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"