summaryrefslogtreecommitdiff
path: root/graphics/vertex
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-06-11 12:52:39 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-06-11 12:52:39 +0000
commit9b92d10536c8566ea6a3608a61531e80e2df1c4e (patch)
treeaa3c8c9c4e672252d8fb7c66e5f3bd3fbd951723 /graphics/vertex
parentPrevious commit to this file was incorrect - actually we do have (diff)
Fix with threaded Mesa.
Notes
Notes: svn path=/head/; revision=43845
Diffstat (limited to 'graphics/vertex')
-rw-r--r--graphics/vertex/Makefile1
-rw-r--r--graphics/vertex/files/patch-Makefile.Linux10
2 files changed, 7 insertions, 4 deletions
diff --git a/graphics/vertex/Makefile b/graphics/vertex/Makefile
index 969ac8b7dad6..61eb5a18ac3f 100644
--- a/graphics/vertex/Makefile
+++ b/graphics/vertex/Makefile
@@ -23,6 +23,7 @@ USE_BZIP2= yes
USE_X_PREFIX= yes
USE_MESA= yes
USE_GTK= yes
+MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}"
MAKEFILE= Makefile.Linux
.include <bsd.port.mk>
diff --git a/graphics/vertex/files/patch-Makefile.Linux b/graphics/vertex/files/patch-Makefile.Linux
index b31298ce3352..18e3737df39e 100644
--- a/graphics/vertex/files/patch-Makefile.Linux
+++ b/graphics/vertex/files/patch-Makefile.Linux
@@ -1,8 +1,8 @@
$FreeBSD$
---- Makefile.Linux 2001/06/01 17:04:37 1.1
-+++ Makefile.Linux 2001/06/01 17:20:49
+--- Makefile.Linux.orig Thu May 17 11:28:46 2001
++++ Makefile.Linux Mon Jun 11 15:44:54 2001
@@ -18,7 +18,7 @@
# You may modify any value as needed. Change only the ones you are
# absolutly sure that requires modification.
@@ -23,7 +23,7 @@ $FreeBSD$
CPPFLAGS = -D__cplusplus -Dc_plusplus
-@@ -86,9 +88,11 @@
+@@ -86,10 +88,12 @@
# to the LIB line depending on what you have set in the CFLAGS line
# farther above.
#
@@ -32,11 +32,13 @@ $FreeBSD$
LIB = -lm \
- -lImlib -lpng -ltiff -lgif -ljpeg \
- `gtk-config --libs` \
+- -lGLU -lGL \
+ $(IMLIB_LIBS) \
+ $(GTK_LIBS) \
- -lGLU -lGL \
++ -lGLU -lGL $(PTHREAD_LIBS) \
-lgtkgl \
-lz
+
@@ -121,8 +125,8 @@
#
include Makefile.srclist