Don't link pthread and libm globally.
OK jasper@
This commit is contained in:
parent
8836c64046
commit
15b08c2c36
@ -1,10 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.33 2010/07/17 16:37:33 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.34 2010/09/14 20:29:56 edd Exp $
|
||||
|
||||
COMMENT = base binaries for TeXLive typesetting distribution
|
||||
|
||||
DISTNAME = texlive-${DIST_V}-source
|
||||
PKGNAME = texlive_base-${V}
|
||||
REVISION = 4
|
||||
REVISION = 5
|
||||
SHARED_LIBS = kpathsea 2.0
|
||||
|
||||
WANTLIB = m X11 ICE freetype Xt c Xext fontconfig Xpm SM Xmu z \
|
||||
@ -29,7 +29,7 @@ LIB_DEPENDS = t1.>=4::devel/t1lib \
|
||||
CONFIGURE_STYLE = gnu
|
||||
|
||||
# Don't put ${PREFIX}/include in CPPFLAGS or system icu .h's are picked up
|
||||
CONFIGURE_ENV += TL_MAKE=${GMAKE} LDFLAGS="-lm -lpthread" \
|
||||
CONFIGURE_ENV += TL_MAKE=${GMAKE} \
|
||||
CPPFLAGS=-I/usr/local/include/poppler
|
||||
|
||||
WRKBUILD = ${WRKSRC}/Work # Can't build in same dir
|
||||
|
@ -1,12 +1,24 @@
|
||||
$OpenBSD: patch-configure,v 1.2 2009/12/12 17:48:34 edd Exp $
|
||||
--- configure.orig Sat Jul 4 17:27:52 2009
|
||||
+++ configure Sat Jul 4 17:42:02 2009
|
||||
@@ -20683,7 +20683,7 @@ else
|
||||
$OpenBSD: patch-configure,v 1.3 2010/09/14 20:29:56 edd Exp $
|
||||
--- configure.orig Sat Oct 10 13:05:04 2009
|
||||
+++ configure Fri Sep 10 13:42:00 2010
|
||||
@@ -20460,7 +20460,7 @@ fi
|
||||
if test "x$with_libpng_includes" != x && test "x$with_libpng_includes" != xyes; then
|
||||
LIBPNG_INCLUDES="-I$with_libpng_includes"
|
||||
fi
|
||||
-LIBPNG_LIBS="-lpng"
|
||||
+LIBPNG_LIBS="-lpng -lm"
|
||||
if test "x$with_libpng_libdir" != x && test "x$with_libpng_libdir" != xyes; then
|
||||
LIBPNG_LIBS="-L$with_libpng_libdir $LIBPNG_LIBS"
|
||||
fi
|
||||
@@ -20683,9 +20683,9 @@ else
|
||||
fi
|
||||
|
||||
if $PKG_CONFIG poppler --atleast-version=0.10; then
|
||||
- POPPLER_VERSION='-DPOPPLER_VERSION=\"'`$PKG_CONFIG poppler --modversion`'\"'
|
||||
+ POPPLER_VERSION='-DPOPPLER_VERSION="'`$PKG_CONFIG poppler --modversion`'"'
|
||||
XPDF_INCLUDES="$POPPLER_VERSION `$PKG_CONFIG poppler --cflags`"
|
||||
XPDF_LIBS=`$PKG_CONFIG poppler --libs`
|
||||
- XPDF_LIBS=`$PKG_CONFIG poppler --libs`
|
||||
+ XPDF_LIBS=`$PKG_CONFIG poppler --libs` -pthread
|
||||
elif test "x$need_xpdf:$with_system_xpdf" = 'xyes:yes'; then
|
||||
{ { $as_echo "$as_me:$LINENO: error: did not find poppler-0.10 or better" >&5
|
||||
$as_echo "$as_me: error: did not find poppler-0.10 or better" >&2;}
|
||||
|
Loading…
Reference in New Issue
Block a user