Disable sse, sse2 and altivec.
Use -pthread, not -lpthread. Regen WANTLIB. ok jasper@
This commit is contained in:
parent
fc822f7dee
commit
07362965aa
@ -1,8 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.9 2010/01/11 15:04:49 jasper Exp $
|
||||
# $OpenBSD: Makefile,v 1.10 2010/01/12 08:40:37 ajacoutot Exp $
|
||||
|
||||
COMMENT = canvas API for X
|
||||
DISTNAME = evas-0.9.9.061
|
||||
PKGNAME = ${DISTNAME}v0
|
||||
PKGNAME = ${DISTNAME}v0p0
|
||||
|
||||
SHARED_LIBS += evas 0.0 \
|
||||
evas-ver-svn-02 0.0
|
||||
@ -18,7 +18,7 @@ USE_X11 = Yes
|
||||
USE_LIBTOOL = Yes
|
||||
|
||||
WANTLIB += GL GLU X11 Xau Xdmcp Xext Xrender crypto eina expat
|
||||
WANTLIB += fontconfig freetype jpeg m pixman-1 pthread pthread-stubs
|
||||
WANTLIB += fontconfig freetype jpeg m pixman-1 pthread-stubs
|
||||
WANTLIB += ssl xcb xcb-image xcb-render xcb-shm z
|
||||
|
||||
LIB_DEPENDS = png::graphics/png \
|
||||
@ -31,6 +31,9 @@ LIB_DEPENDS = png::graphics/png \
|
||||
CONFIGURE_ARGS += --disable-fribidi \
|
||||
--disable-image-loader-svg \
|
||||
--disable-image-loader-edb \
|
||||
--disable-cpu-sse \
|
||||
--disable-cpu-sse2 \
|
||||
--disable-cpu-altivec \
|
||||
--enable-image-loader-jpeg \
|
||||
--enable-image-loader-png \
|
||||
--enable-image-loader-gif \
|
||||
|
@ -1,6 +1,6 @@
|
||||
$OpenBSD: patch-configure,v 1.2 2010/01/11 15:49:25 jasper Exp $
|
||||
--- configure.orig Mon Jan 11 16:27:05 2010
|
||||
+++ configure Mon Jan 11 16:27:31 2010
|
||||
$OpenBSD: patch-configure,v 1.3 2010/01/12 08:40:38 ajacoutot Exp $
|
||||
--- configure.orig Mon Jun 15 06:39:54 2009
|
||||
+++ configure Mon Jan 11 22:10:55 2010
|
||||
@@ -1962,8 +1962,8 @@ cat <<_ASUNAME
|
||||
|
||||
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
||||
@ -21,3 +21,64 @@ $OpenBSD: patch-configure,v 1.2 2010/01/11 15:49:25 jasper Exp $
|
||||
;;
|
||||
esac
|
||||
|
||||
@@ -24236,7 +24236,7 @@ if test "x${have_dep}" = "xyes" ; then
|
||||
x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext"
|
||||
fi
|
||||
evas_engine_gl_x11_cflags="-I/usr/include ${x_cflags}"
|
||||
- evas_engine_gl_x11_libs="${x_libs} -lGL -lGLU -lpthread"
|
||||
+ evas_engine_gl_x11_libs="${x_libs} -lGL -lGLU -pthread"
|
||||
fi
|
||||
|
||||
|
||||
@@ -28161,7 +28161,7 @@ _ACEOF
|
||||
fi
|
||||
|
||||
if test "x$have_evas_engine_gl_x11" = "xyes" ; then
|
||||
- evas_engine_gl_common_libs="-lGL -lGLU -lpthread"
|
||||
+ evas_engine_gl_common_libs="-lGL -lGLU -pthread"
|
||||
fi
|
||||
|
||||
if test "x$have_evas_engine_gl_glew" = "xyes" ; then
|
||||
@@ -30560,13 +30560,13 @@ if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
||||
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
||||
_ACEOF
|
||||
|
||||
- { echo "$as_me:$LINENO: checking for pthread_attr_setaffinity_np in -lpthread" >&5
|
||||
-echo $ECHO_N "checking for pthread_attr_setaffinity_np in -lpthread... $ECHO_C" >&6; }
|
||||
+ { echo "$as_me:$LINENO: checking for pthread_attr_setaffinity_np in -pthread" >&5
|
||||
+echo $ECHO_N "checking for pthread_attr_setaffinity_np in -pthread... $ECHO_C" >&6; }
|
||||
if test "${ac_cv_lib_pthread_pthread_attr_setaffinity_np+set}" = set; then
|
||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
else
|
||||
ac_check_lib_save_LIBS=$LIBS
|
||||
-LIBS="-lpthread $LIBS"
|
||||
+LIBS="-pthread $LIBS"
|
||||
cat >conftest.$ac_ext <<_ACEOF
|
||||
/* confdefs.h. */
|
||||
_ACEOF
|
||||
@@ -30623,13 +30623,13 @@ fi
|
||||
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_attr_setaffinity_np" >&6; }
|
||||
if test $ac_cv_lib_pthread_pthread_attr_setaffinity_np = yes; then
|
||||
|
||||
- { echo "$as_me:$LINENO: checking for pthread_barrier_wait in -lpthread" >&5
|
||||
-echo $ECHO_N "checking for pthread_barrier_wait in -lpthread... $ECHO_C" >&6; }
|
||||
+ { echo "$as_me:$LINENO: checking for pthread_barrier_wait in -pthread" >&5
|
||||
+echo $ECHO_N "checking for pthread_barrier_wait in -pthread... $ECHO_C" >&6; }
|
||||
if test "${ac_cv_lib_pthread_pthread_barrier_wait+set}" = set; then
|
||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
else
|
||||
ac_check_lib_save_LIBS=$LIBS
|
||||
-LIBS="-lpthread $LIBS"
|
||||
+LIBS="-pthread $LIBS"
|
||||
cat >conftest.$ac_ext <<_ACEOF
|
||||
/* confdefs.h. */
|
||||
_ACEOF
|
||||
@@ -30861,7 +30861,7 @@ if test "x$need_pthreads" = "xyes"; then
|
||||
{ echo "$as_me:$LINENO: result: yes" >&5
|
||||
echo "${ECHO_T}yes" >&6; }
|
||||
pthread_cflags=""
|
||||
- pthread_libs="-lpthread"
|
||||
+ pthread_libs="-pthread"
|
||||
else
|
||||
{ echo "$as_me:$LINENO: result: no" >&5
|
||||
echo "${ECHO_T}no" >&6; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user