aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/libGLw
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/libGLw')
-rw-r--r--graphics/libGLw/Makefile9
-rw-r--r--graphics/libGLw/distinfo6
-rw-r--r--graphics/libGLw/files/patch-glw-GLwDrawA.c11
-rw-r--r--graphics/libGLw/pkg-plist2
4 files changed, 8 insertions, 20 deletions
diff --git a/graphics/libGLw/Makefile b/graphics/libGLw/Makefile
index 691d6bb4a341..b08d22647935 100644
--- a/graphics/libGLw/Makefile
+++ b/graphics/libGLw/Makefile
@@ -15,13 +15,10 @@ BUILD_DEPENDS+= makedepend:${PORTSDIR}/devel/makedepend
LIB_DEPENDS+= Xm.3:${PORTSDIR}/x11-toolkits/open-motif
USE_GL= gl
-USE_XORG= xt
+USE_XORG= glproto xt x11 xext xxf86vm xdamage xfixes
-CFLAGS+= -D__GLX_MOTIF=1
-SRCDIR= glw
-
-HEADERS= GLwDrawA.h GLwDrawAP.h GLwMDrawA.h GLwMDrawAP.h
-HEADERSDIR= src/glw
+do-install:
+ cd ${WRKSRC}/src/glw; ${GMAKE} install
.include "${.CURDIR}/../../graphics/libGL/bsd.mesalib.mk"
.include <bsd.port.mk>
diff --git a/graphics/libGLw/distinfo b/graphics/libGLw/distinfo
index c5fcdf9d65c2..da68c3af0e8a 100644
--- a/graphics/libGLw/distinfo
+++ b/graphics/libGLw/distinfo
@@ -1,3 +1,3 @@
-MD5 (MesaLib-7.0.3.tar.bz2) = e6e6379d7793af40a6bc3ce1bace572e
-SHA256 (MesaLib-7.0.3.tar.bz2) = ebdf3448eac8abb56bbfc0b7c015efce8e5d88f10ee3123dcc62c1ff47b62d22
-SIZE (MesaLib-7.0.3.tar.bz2) = 3389327
+MD5 (MesaLib-7.2.tar.bz2) = 04d379292e023df0b0266825cb0dbde5
+SHA256 (MesaLib-7.2.tar.bz2) = a9cc62ab760afeebcb1319a193508734a2d470cab8effab2776a2d3c65bd9cd2
+SIZE (MesaLib-7.2.tar.bz2) = 3341919
diff --git a/graphics/libGLw/files/patch-glw-GLwDrawA.c b/graphics/libGLw/files/patch-glw-GLwDrawA.c
deleted file mode 100644
index fac6f15b4823..000000000000
--- a/graphics/libGLw/files/patch-glw-GLwDrawA.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/glw/GLwDrawA.c.orig Tue Mar 13 21:11:41 2007
-+++ src/glw/GLwDrawA.c Tue Mar 13 21:12:38 2007
-@@ -668,7 +668,7 @@
- #endif
-
-
--#ifndef __GLX_MOTIF
-+#ifdef __GLX_MOTIF
-
- /* Make context current */
- void GLwDrawingAreaMakeCurrent(Widget w,GLXContext ctx){
diff --git a/graphics/libGLw/pkg-plist b/graphics/libGLw/pkg-plist
index a3105d8fd45f..211b58674677 100644
--- a/graphics/libGLw/pkg-plist
+++ b/graphics/libGLw/pkg-plist
@@ -4,3 +4,5 @@ include/GL/GLwMDrawA.h
include/GL/GLwMDrawAP.h
lib/libGLw.so
lib/libGLw.so.1
+libdata/pkgconfig/glw.pc
+@dirrmtry include/GL