configure tries to detect isnan() as a function in libm to work out
whether it should include it. isnan is now a macro so this fails. upstream configure.ac _should_ be rewritten to use pkg-config but, for the sake of expediency, workaround by adding to LDFLAGS for now, as was already done to fix the libvorbis test. fixes the build. ok naddy@
This commit is contained in:
parent
08a7c8d5ae
commit
67ffc6eb54
@ -1,8 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2008/07/04 21:15:23 jasper Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2008/07/28 22:47:30 sthen Exp $
|
||||
|
||||
COMMENT= record desktop sessions to an Ogg-Theora-Vorbis file
|
||||
|
||||
DISTNAME= recordmydesktop-0.3.7.3
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
|
||||
WANTLIB= ICE SM X11 Xdamage Xext Xfixes c m ogg ossaudio pthread z
|
||||
|
||||
@ -15,6 +16,6 @@ CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ARGS+= --enable-oss=yes \
|
||||
--enable-jack=no
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib -logg -lossaudio"
|
||||
LDFLAGS="-L${LOCALBASE}/lib -logg -lossaudio -lm"
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user