summaryrefslogtreecommitdiffstats
path: root/graphics/gliv/files
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2001-03-17 16:35:37 +0000
committervanilla <vanilla@FreeBSD.org>2001-03-17 16:35:37 +0000
commitd7ab5086e32ee2979160c2a0c792e5dd84036952 (patch)
treeba9ac31c9afecb87545fc45e2b7e18aa76cdcdd1 /graphics/gliv/files
parent6080ef750440ed579628eabf651ff586d0ee07f6 (diff)
downloadFreeBSD-ports-d7ab5086e32ee2979160c2a0c792e5dd84036952.zip
FreeBSD-ports-d7ab5086e32ee2979160c2a0c792e5dd84036952.tar.gz
GLiv is an image viewer that uses Imlib2 and OpenGL.
PR: ports/25861 Submitted by: Jeremy Norris <ishmael27@home.com>
Diffstat (limited to 'graphics/gliv/files')
-rw-r--r--graphics/gliv/files/patch-configure49
1 files changed, 49 insertions, 0 deletions
diff --git a/graphics/gliv/files/patch-configure b/graphics/gliv/files/patch-configure
new file mode 100644
index 0000000..5cf2db3
--- /dev/null
+++ b/graphics/gliv/files/patch-configure
@@ -0,0 +1,49 @@
+--- configure.orig Thu Mar 15 14:09:08 2001
++++ configure Fri Mar 16 07:44:44 2001
+@@ -1067,8 +1067,8 @@
+
+ echo -n checking for Imlib2...
+ if imlib2-config --version &> /dev/null;then
+-CFLAGS="-pipe -O3 -funroll-loops -fforce-addr -fomit-frame-pointer -Wall $CFLAGS `imlib2-config --cflags`"
+-LDFLAGS="-Wl,-O1 $LDFLAGS `imlib2-config --libs`"
++CFLAGS="$CFLAGS `imlib2-config --cflags`"
++LDFLAGS="$LDFLAGS `imlib2-config --libs`"
+ echo " found (version `imlib2-config --version`)"
+ else
+ echo " not found"
+@@ -1081,14 +1081,14 @@
+ exit 1
+ fi
+
+-echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
+-echo "configure:1086: checking for pthread_create in -lpthread" >&5
++echo $ac_n "checking for pthread_create in -pthread""... $ac_c" 1>&6
++echo "configure:1086: checking for pthread_create in -pthread" >&5
+ ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ ac_save_LIBS="$LIBS"
+-LIBS="-lpthread $LIBS"
++LIBS="-pthread $LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 1094 "configure"
+ #include "confdefs.h"
+@@ -1122,7 +1122,7 @@
+ #define $ac_tr_lib 1
+ EOF
+
+- LIBS="-lpthread $LIBS"
++ LIBS="-pthread $LIBS"
+
+ else
+ echo "$ac_t""no" 1>&6
+@@ -1132,7 +1132,7 @@
+ echo It seems you do not have libpthread or it does not work.
+ exit 1
+ fi
+-LDFLAGS="$LDFLAGS -lpthread"
++LDFLAGS="$LDFLAGS -pthread"
+
+ unset mdl_cv_have_OpenGL
+ echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
OpenPOWER on IntegriCloud