aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2003-03-06 01:23:18 +0000
committerEric Anholt <anholt@FreeBSD.org>2003-03-06 01:23:18 +0000
commit3be986061212fd5b5ff69d85d037a1eddd1e0dee (patch)
treecf2bff21fbff0d12f5ddb01878e74a77a7f909de
parentdb303857e8aea518cd9a13dee40d65e2cfbd21b6 (diff)
downloadports-3be986061212fd5b5ff69d85d037a1eddd1e0dee.tar.gz
ports-3be986061212fd5b5ff69d85d037a1eddd1e0dee.zip
Notes
-rw-r--r--x11-servers/driglide/Makefile29
-rw-r--r--x11-servers/driglide/distinfo2
-rw-r--r--x11-servers/driglide/files/patch-configure_in25
-rw-r--r--x11-servers/driglide/files/patch-h3-fxglide_h16
-rw-r--r--x11-servers/driglide/files/patch-h3-gglide_c_dri110
-rw-r--r--x11-servers/driglide/files/patch-h3-glide_h40
-rw-r--r--x11-servers/driglide/files/patch-h3-gsst_c_dri138
-rw-r--r--x11-servers/driglide/files/patch-h3-minihwc-makefile12
-rw-r--r--x11-servers/driglide/files/patch-h3-src-makefile70
-rw-r--r--x11-servers/driglide/files/patch-h3-xdraw_inc_S12
-rw-r--r--x11-servers/driglide/files/patch-h5-fxglide_h16
-rw-r--r--x11-servers/driglide/files/patch-h5-gdebug_c21
-rw-r--r--x11-servers/driglide/files/patch-h5-gdebug_h25
-rw-r--r--x11-servers/driglide/files/patch-h5-glfb_c11
-rw-r--r--x11-servers/driglide/files/patch-h5-glide_h40
-rw-r--r--x11-servers/driglide/files/patch-h5-minihwc-makefile12
-rw-r--r--x11-servers/driglide/files/patch-h5-src-makefile67
-rw-r--r--x11-servers/driglide/files/patch-h5-xdraw2_inc_s12
-rw-r--r--x11-servers/driglide/files/patch-make-3dfx_linux_mak32
-rw-r--r--x11-servers/driglide/files/patch-make-3dfx_mak32
-rw-r--r--x11-servers/driglide/files/patch-make-makefile33
-rw-r--r--x11-servers/driglide/pkg-comment1
-rw-r--r--x11-servers/driglide/pkg-descr8
-rw-r--r--x11-servers/driglide/pkg-plist18
24 files changed, 19 insertions, 763 deletions
diff --git a/x11-servers/driglide/Makefile b/x11-servers/driglide/Makefile
index e5e13e494913..645e5fc7acc4 100644
--- a/x11-servers/driglide/Makefile
+++ b/x11-servers/driglide/Makefile
@@ -5,23 +5,16 @@
# $FreeBSD$
#
-PORTNAME= glide3
-PORTVERSION= 20020113
-CATEGORIES= graphics
-MASTER_SITES= http://people.freebsd.org/~anholt/dri/files/
-.ifdef WITH_VOODOO3
-PKGNAMESUFFIX= -v3
-.else
-PKGNAMESUFFIX= -v5
-.endif
-DISTNAME= Glide3-FreeBSD-${PORTVERSION}
-EXTRACT_SUFX= .tar.bz2
-#The distfile is CVS Glide3-FreeBSD branch with */glide3/tests/* removed
+PORTNAME= driglide
+PORTVERSION= 0.9.1
+CATEGORIES= x11-servers
+MASTER_SITES= ${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR= anholt/driglide/
MAINTAINER= anholt@freebsd.org
+COMMENT= Libraries to support 3dfx Voodoo3/4/5/Banshee with the DRI
USE_BZIP2= yes
-WRKSRC= ${WRKDIR}/Glide3
USE_X_PREFIX= yes
XFREE86_VERSION= 4
INSTALLS_SHLIB= yes
@@ -29,18 +22,10 @@ USE_LIBTOOL= yes
USE_AUTOMAKE_VER= 14
AUTOMAKE_ARGS= -a
USE_GMAKE= yes
-MAKEFILE= makefile.autoconf
-#Glide3 DOES NOT work with CFLAGS greater than -O2
+# Glide DOES NOT work with CFLAGS greater than -O2
CFLAGS+= -O
-.ifdef WITH_VOODOO3
-CONFIGURE_ARGS+= --enable-fx-glide-hw=h3
-.else
-pre-everything::
- @${ECHO_MSG} "Use make -DWITH_VOODOO3 if you have a Voodoo3 or Banshee card"
-.endif
-
post-extract:
cd $(WRKSRC) && ${ACLOCAL} -I ${LOCALBASE}/share/aclocal
diff --git a/x11-servers/driglide/distinfo b/x11-servers/driglide/distinfo
index 70e1a2e4129a..8b9ce307f8ad 100644
--- a/x11-servers/driglide/distinfo
+++ b/x11-servers/driglide/distinfo
@@ -1 +1 @@
-MD5 (Glide3-FreeBSD-20020113.tar.bz2) = 99edbbbc47bc53e4309f1d903f352db8
+MD5 (driglide-0.9.1.tar.bz2) = d4c8cb810bf1c7d4aa90b8a64a2cf684
diff --git a/x11-servers/driglide/files/patch-configure_in b/x11-servers/driglide/files/patch-configure_in
deleted file mode 100644
index 3145e4a05d10..000000000000
--- a/x11-servers/driglide/files/patch-configure_in
+++ /dev/null
@@ -1,25 +0,0 @@
---- configure.in.orig Thu May 31 12:05:51 2001
-+++ configure.in Fri May 10 19:45:32 2002
-@@ -25,6 +25,10 @@
- AM_INIT_AUTOMAKE(glide, 3.0)
- AM_CONFIG_HEADER(swlibs/include/config.h)
- AC_PREFIX_DEFAULT([/usr])
-+
-+AC_PATH_X
-+AC_SUBST(x_includes)
-+
- includedir='${prefix}/include/glide3'
- #
- # Variables local to the build.
-@@ -168,6 +172,11 @@
- ;;
- esac],[FX_GLIDE_BUILD_ARCHITECTURE=`uname -m`])
- AC_SUBST(FX_GLIDE_BUILD_ARCHITECTURE)
-+
-+# Appease automake1.5 about assembly targets
-+ASFLAGS=
-+AC_SUBST(ASFLAGS)
-+
- #
- # Various tests needed at points in the build
- # First, we set defaults.
diff --git a/x11-servers/driglide/files/patch-h3-fxglide_h b/x11-servers/driglide/files/patch-h3-fxglide_h
deleted file mode 100644
index 1a55276f044f..000000000000
--- a/x11-servers/driglide/files/patch-h3-fxglide_h
+++ /dev/null
@@ -1,16 +0,0 @@
-diff -ru ../Glide3.orig/h3/glide3/src/fxglide.h ./h3/glide3/src/fxglide.h
---- ../Glide3.orig/h3/glide3/src/fxglide.h Thu May 31 12:05:52 2001
-+++ ./h3/glide3/src/fxglide.h Sun Jan 13 15:35:42 2002
-@@ -2133,7 +2133,11 @@
- #if defined(GLIDE_SANITY_ASSERT)
- #define GR_ASSERT(exp) ((void)((!(exp)) ? (_grAssert(#exp, __FILE__, __LINE__),0) : 0xFFFFFFFF))
- #else
--#define GR_ASSERT(exp) ((void)(0 && ((FxU32)(exp))))
-+# ifdef __GNUC__
-+# define GR_ASSERT(exp) ((void) 0)
-+# else
-+# define GR_ASSERT(exp) ((void)(0 && ((FxU32)(exp))))
-+# endif
- #endif
-
- #define INTERNAL_CHECK(__name, __cond, __msg, __fatalP) \
diff --git a/x11-servers/driglide/files/patch-h3-gglide_c_dri b/x11-servers/driglide/files/patch-h3-gglide_c_dri
deleted file mode 100644
index 6eb669df7a65..000000000000
--- a/x11-servers/driglide/files/patch-h3-gglide_c_dri
+++ /dev/null
@@ -1,110 +0,0 @@
-diff -ru ../Glide3.orig/h3/glide3/src/gglide.c.dri ./h3/glide3/src/gglide.c.dri
---- ../Glide3.orig/h3/glide3/src/gglide.c.dri Fri Nov 24 10:38:46 2000
-+++ ./h3/glide3/src/gglide.c.dri Sun Jan 13 17:32:04 2002
-@@ -448,7 +448,7 @@
- #include "fxcmd.h"
- #include "fxinline.h"
-
--#ifdef __linux__
-+#ifdef DRI_BUILD
- #include <lindri.h>
- #endif
-
-@@ -483,12 +483,12 @@
-
- alphamode = gc->state.shadow.alphaMode;
- if (alpha_sf != GR_BLEND_ONE && alpha_sf != GR_BLEND_ZERO) {
-- GR_CHECK_W(myName, 1, "unsupported alpha source blend function");
-+ /*GR_CHECK_W(myName, 1, "unsupported alpha source blend function");*/
- alpha_sf = GR_BLEND_ONE;
- }
-
- if (alpha_df != GR_BLEND_ONE && alpha_df != GR_BLEND_ZERO) {
-- GR_CHECK_W(myName, 1, "unsupported alpha destination blend function");
-+ /*GR_CHECK_W(myName, 1, "unsupported alpha destination blend function");*/
- alpha_df = GR_BLEND_ZERO;
- }
-
-@@ -917,7 +917,7 @@
-
- REG_GROUP_BEGIN(BROADCAST_ID, colBufferAddr, 2, 0x3);
- REG_GROUP_SET(hw, colBufferAddr,gc->buffers[gc->grColBuf]);
--#ifdef __linux__
-+#ifdef DRI_BUILD
- REG_GROUP_SET(hw, colBufferStride, (!gc->curBuffer)? driInfo.stride :
- gc->state.shadow.auxBufferStride);
- #else
-@@ -951,7 +951,7 @@
- REG_GROUP_BEGIN(BROADCAST_ID, colBufferAddr, 2, 0x3);
- REG_GROUP_SET(hw, colBufferAddr, gc->buffers[gc->windowed ? 0 : gc->curBuffer]);
-
--#ifdef __linux__
-+#ifdef DRI_BUILD
- REG_GROUP_SET(hw, colBufferStride, (!gc->curBuffer) ? driInfo.stride :
- gc->state.shadow.colBufferStride);
- #else
-@@ -1923,7 +1923,7 @@
- ** grStippleMode
- */
-
--#ifdef __linux__
-+#ifdef DRI_BUILD
- GR_STATE_ENTRY(grStippleMode, void, (GrStippleMode_t mode))
- {
- #define FN_NAME "_grStippleMode"
-@@ -1957,7 +1957,7 @@
- #endif /* !GLIDE3 */
- #undef FN_NAME
- } /* grStippleMode */
--#endif /* __linux__ */
-+#endif /* DRI_BUILD */
-
- /*---------------------------------------------------------------------------
- ** grDitherMode
-@@ -2325,7 +2325,7 @@
- ** and the only drawbuffer modes supported by the fbzMode register are 0
- ** (back) and 1 (front)
- */
--#ifndef __linux__
-+#ifndef DRI_BUILD
- GR_STATE_ENTRY(grRenderBuffer, void, (GrBuffer_t buffer))
- {
- #define FN_NAME "_grRenderBuffer"
-@@ -2352,7 +2352,7 @@
- GR_END();
- #undef FN_NAME
- } /* grRenderBuffer */
--#else /* __linux__ */
-+#else /* DRI_BUILD */
- GR_STATE_ENTRY(grRenderBuffer, void, (GrBuffer_t buffer))
- {
- #define FN_NAME "_grRenderBuffer"
-diff -ru ../Glide3.orig/h3/glide3/src/glfb.c.dri ./h3/glide3/src/glfb.c.dri
---- ../Glide3.orig/h3/glide3/src/glfb.c.dri Wed Aug 30 01:47:03 2000
-+++ ./h3/glide3/src/glfb.c.dri Sun Jan 13 17:35:08 2002
-@@ -217,7 +217,7 @@
- #include "fxglide.h"
- #include "fxcmd.h"
-
--#ifdef __linux__
-+#ifdef DRI_BUILD
- #include <lindri.h>
- #endif
-
-@@ -456,7 +456,7 @@
- }
-
- if (rv) {
--#ifdef __linux__
-+#ifdef DRI_BUILD
- if (!colBufferIndex)
- info->strideInBytes = driInfo.stride;
- else
-@@ -487,7 +487,7 @@
- GR_CHECK_SIZE();
-
- info->lfbPtr = (void *)gc->lfb_ptr;
--#ifdef __linux__
-+#ifdef DRI_BUILD
- info->strideInBytes = 0x1000;
- #endif
diff --git a/x11-servers/driglide/files/patch-h3-glide_h b/x11-servers/driglide/files/patch-h3-glide_h
deleted file mode 100644
index 8fc5ee8cbc10..000000000000
--- a/x11-servers/driglide/files/patch-h3-glide_h
+++ /dev/null
@@ -1,40 +0,0 @@
-diff -ru ../Glide3.orig/h3/glide3/src/glide.h ./h3/glide3/src/glide.h
---- ../Glide3.orig/h3/glide3/src/glide.h Thu May 31 12:05:52 2001
-+++ ./h3/glide3/src/glide.h Sun Jan 13 14:46:12 2002
-@@ -52,9 +52,7 @@
- typedef FxU32 GrColor_t;
- typedef FxU8 GrAlpha_t;
- typedef FxU32 GrMipMapId_t;
--#if defined(DRI_BUILD)
- typedef FxU32 GrStipplePattern_t;
--#endif
- typedef FxU8 GrFog_t;
- typedef AnyPtr GrContext_t;
- typedef int (FX_CALL *GrProc)();
-@@ -253,12 +251,10 @@
- #define GR_DITHER_2x2 0x1
- #define GR_DITHER_4x4 0x2
-
--#if defined(DRI_BUILD)
- typedef FxI32 GrStippleMode_t;
- #define GR_STIPPLE_DISABLE 0x0
- #define GR_STIPPLE_PATTERN 0x1
- #define GR_STIPPLE_ROTATE 0x2
--#endif /* DRI_BUILD */
-
- typedef FxI32 GrFogMode_t;
- #define GR_FOG_DISABLE 0x0
-@@ -709,13 +705,11 @@
- FX_ENTRY void FX_CALL
- grDitherMode( GrDitherMode_t mode );
-
--#if defined(DRI_BUILD)
- FX_ENTRY void FX_CALL
- grStippleMode( GrStippleMode_t mode );
-
- FX_ENTRY void FX_CALL
- grStipplePattern( GrStipplePattern_t mode );
--#endif /* DRI_BUILD */
-
- FX_ENTRY void FX_CALL
- grFogColorValue( GrColor_t fogcolor );
diff --git a/x11-servers/driglide/files/patch-h3-gsst_c_dri b/x11-servers/driglide/files/patch-h3-gsst_c_dri
deleted file mode 100644
index 696a68e942dc..000000000000
--- a/x11-servers/driglide/files/patch-h3-gsst_c_dri
+++ /dev/null
@@ -1,138 +0,0 @@
-diff -ru ../Glide3.orig/h3/glide3/src/gsst.c.dri ./h3/glide3/src/gsst.c.dri
---- ../Glide3.orig/h3/glide3/src/gsst.c.dri Wed Aug 30 01:47:03 2000
-+++ ./h3/glide3/src/gsst.c.dri Sun Jan 13 17:33:57 2002
-@@ -534,7 +534,7 @@
- #include <windows.h>
- #endif
-
--#ifdef __linux__
-+#ifdef DRI_BUILD
- #include <lindri.h>
- #endif
-
-@@ -746,7 +746,7 @@
- GDBG_INFO(95, FN_NAME"(0x%X)\n", gc);
-
- /* Setup the indices of the logical buffers */
--#ifdef __linux__
-+#ifdef DRI_BUILD
- gc->curBuffer = (gc->grColBuf > 1) ? 1 : 0;
- gc->frontBuffer = 0;
- #else
-@@ -939,7 +939,7 @@
- struct cmdTransportInfo *gcFifo = 0;
- GrContext_t retVal = 0;
-
--#ifndef __linux__
-+#ifndef DRI_BUILD
- if (!hWnd)
- GrErrorCallback("grSstWinOpen: need to use a valid window handle",
- FXTRUE);
-@@ -977,7 +977,7 @@
- ? GR_RESOLUTION_640x480
- : resolution;
-
--#ifdef __linux__
-+#ifdef DRI_BUILD
- gc->state.screen_width = driInfo.screenWidth;
- gc->state.screen_height = driInfo.screenHeight;
- #else
-@@ -1059,7 +1059,7 @@
- gc->hwInitP = FXTRUE;
- }
-
--#ifdef __linux__
-+#ifdef DRI_BUILD
- vInfo->xRes = driInfo.w;
- vInfo->yRes = driInfo.h;
- #else
-@@ -1118,7 +1118,7 @@
- /* This actually gets taken in hwcInitVideo */
- gc->contextP = FXTRUE;
-
--#ifndef __linux__
-+#ifndef DRI_BUILD
- /* CSR - Set up flag for display driver to tell us that context was lost */
- if ( !gc->open ) /* If we already have a context open, then lets not
- re-initialize the pointers */
-@@ -1400,7 +1400,7 @@
- gcFifo->fifoPtr = gcFifo->fifoStart;
- gcFifo->fifoRead = HW_FIFO_PTR( FXTRUE );
-
--#ifndef __linux__
-+#ifndef DRI_BUILD
- if ( (void*)gcFifo->fifoPtr != (void*)gcFifo->fifoRead ) {
- #ifdef GLIDE_INIT_HWC
- hwcRestoreVideo( bInfo );
-@@ -1442,7 +1442,7 @@
- gcFifo->fifoSize,
- gcFifo->fifoPtr );
-
--#ifdef __linux__
-+#ifdef DRI_BUILD
- _grImportFifo((AnyPtr)*driInfo.fifoPtr, (AnyPtr)*driInfo.fifoRead);
- #endif
-
-@@ -1496,7 +1496,7 @@
- REG_GROUP_BEGIN(BROADCAST_ID, colBufferAddr, 4, 0xf);
- {
- REG_GROUP_SET(hw, colBufferAddr, gc->state.shadow.colBufferAddr);
--#ifdef __linux__
-+#ifdef DRI_BUILD
- REG_GROUP_SET(hw, colBufferStride, (!gc->curBuffer) ? driInfo.stride :
- gc->state.shadow.colBufferStride);
- #else
-@@ -1510,7 +1510,7 @@
-
- GDBG_INFO( gc->myLevel, " Setting all Glide state\n" );
- assertDefaultState();
--#ifdef __linux__
-+#ifdef DRI_BUILD
- if (nColBuffers>1)
- grRenderBuffer(GR_BUFFER_BACKBUFFER);
- else
-@@ -1578,7 +1578,7 @@
- GrGC* gc = (GrGC*)context;
- GDBG_INFO(80, FN_NAME"(0x%X)\n", context);
-
--#ifndef __linux__
-+#ifndef DRI_BUILD
- if (gc->lostContext) {
- if (*gc->lostContext)
- return 0;
-@@ -1626,7 +1626,7 @@
- * safe everywhere.
- */
- GDBG_INFO(gc->myLevel, " Restore Video");
--#ifndef __linux__
-+#ifndef DRI_BUILD
- if (!*gc->lostContext)
- #endif
- hwcRestoreVideo(gc->bInfo);
-@@ -1657,7 +1657,7 @@
- }
- _GlideRoot.windowsInit--;
-
--#ifndef __linux__
-+#ifndef DRI_BUILD
- if ( gc->bInfo->osNT )
- hwcUnmapMemory();
- else
-@@ -1731,7 +1731,7 @@
- GR_ASSERT((gc >= _GlideRoot.GCs) &&
- (gc <= _GlideRoot.GCs + MAX_NUM_SST));
-
--#if defined( GLIDE_INIT_HWC ) && !defined(__linux__)
-+#if defined( GLIDE_INIT_HWC ) && !defined(DRI_BUILD)
- gc->contextP = hwcQueryContext(gc->bInfo);
- #else
- gc->contextP = 1;
-@@ -1882,7 +1882,7 @@
-
- grFlush();
- if ( gc->windowed ) {
--#if defined( GLIDE_INIT_HWC ) && !defined( __linux__ )
-+#if defined( GLIDE_INIT_HWC ) && !defined( DRI_BUILD )
- struct cmdTransportInfo*
- gcFifo = &gc->cmdTransportInfo;
-
diff --git a/x11-servers/driglide/files/patch-h3-minihwc-makefile b/x11-servers/driglide/files/patch-h3-minihwc-makefile
deleted file mode 100644
index 4d04b2e64d4c..000000000000
--- a/x11-servers/driglide/files/patch-h3-minihwc-makefile
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ru ../Glide3.orig/h3/minihwc/makefile.autoconf.am ./h3/minihwc/makefile.autoconf.am
---- ../Glide3.orig/h3/minihwc/makefile.autoconf.am Wed Jul 26 19:39:18 2000
-+++ ./h3/minihwc/makefile.autoconf.am Sun Jan 13 16:19:03 2002
-@@ -23,6 +23,8 @@
- #
- # First, the variable defs.
- #
-+LCFLAGS = -I@x_includes@
-+
- if GLIDE_DEBUG
- GLIDE_DEBUG_VDEFS = -DGDBG_INFO_ON
- endif
diff --git a/x11-servers/driglide/files/patch-h3-src-makefile b/x11-servers/driglide/files/patch-h3-src-makefile
deleted file mode 100644
index ddfb8ef632ba..000000000000
--- a/x11-servers/driglide/files/patch-h3-src-makefile
+++ /dev/null
@@ -1,70 +0,0 @@
---- h3/glide3/src/makefile.autoconf.am.orig Fri Oct 27 04:20:00 2000
-+++ h3/glide3/src/makefile.autoconf.am Fri May 10 19:53:18 2002
-@@ -101,7 +101,7 @@
- endif
-
- if GL_AMD3D
--GL_AMD3D_SRC = xtexdl_3dnow.S xdraw2_3dnow.S xdraw3_3dnow.S
-+GL_AMD3D_SRC = xtexdl_3dnow.S xdraw2_3dnow.S xdraw3_3dnow.S xdraw2_def.S xdraw3_def.S
- endif
-
- VDEFS = $(FX_CHRIS_DENIS_ANTHONY_HACK_VDEFS) \
-@@ -138,41 +138,40 @@
- #
- # Special rules for assembly files.
- #
--PREPROCESSOR=/lib/cpp -$$ -I.
--xdraw2.o : xdraw2.S xdraw2.inc.S fxgasm.h
-- $(CC) $(AFLAGS) -c -o $@ xdraw2.S
-+PREPROCESSOR=/usr/libexec/cpp0 -$$ -I.
-+xdraw2.lo : xdraw2.S xdraw2.inc.S fxgasm.h
-+ libtool --mode=compile $(CC) $(AFLAGS) -c -o $@ xdraw2.S
-
--xdraw3.o : xdraw3.S fxgasm.h
-- $(CC) $(AFLAGS) -c -o $@ xdraw3.S
-+xdraw3.lo : xdraw3.S fxgasm.h
-+ libtool --mode=compile $(CC) $(AFLAGS) -c -o $@ xdraw3.S
-
- # 3DNow!(tm) dependencies
- # XXX_def.obj targets are the default targets
-
- if GL_AMD3D
--else
--xdraw2_def.o: xdraw2.S xdraw2.inc.S fxgasm.h
-- $(CC) $(AFLAGS) -c -o $@ xdraw2.S
-+xdraw2_def.lo: xdraw2.S xdraw2.inc.S fxgasm.h
-+ libtool --mode=compile $(CC) $(AFLAGS) -c -o $@ xdraw2.S
-
--xdraw2_3dnow.o: xdraw2.S xdraw2.inc.S fxgasm.h
-- $(CC) $(AFLAGS) -DGL_AMD3D -DUSE_PACKET_FIFO=1 -c -o $@ xdraw2.S
-+xdraw2_3dnow.lo: xdraw2.S xdraw2.inc.S fxgasm.h
-+ libtool --mode=compile $(CC) $(AFLAGS) -DGL_AMD3D -DUSE_PACKET_FIFO=1 -c -o $@ xdraw2.S
-
--xdraw3_def.o: xdraw3.S fxgasm.h
-- $(CC) $(AFLAGS) -c -o $@ xdraw3.S
-+xdraw3_def.lo: xdraw3.S fxgasm.h
-+ libtool --mode=compile $(CC) $(AFLAGS) -c -o $@ xdraw3.S
-
--xdraw3_3dnow.o: xdraw3.S fxgasm.h
-- $(CC) $(AFLAGS) -DGL_AMD3D -DUSE_PACKET_FIFO=1 -c -o $@ xdraw3.S
-+xdraw3_3dnow.lo: xdraw3.S fxgasm.h
-+ libtool --mode=compile $(CC) $(AFLAGS) -DGL_AMD3D -DUSE_PACKET_FIFO=1 -c -o $@ xdraw3.S
-
--xtexdl_3dnow.o: xtexdl.S fxgasm.h
-- $(CC) $(AFLAGS) -DGL_AMD3D -DUSE_PACKET_FIFO=1 -c -o $@ xtexdl.S
-+xtexdl_3dnow.lo: xtexdl.S fxgasm.h
-+ libtool --mode=compile $(CC) $(AFLAGS) -DGL_AMD3D -DUSE_PACKET_FIFO=1 -c -o $@ xtexdl.S
-
- endif
-
- if FX_GLIDE_C_CPU_DETECT
- CPUSOURCES = cpudtect.c
- else
--CPUSOURCES = cpudtect.S
-+CPUSOURCES = cpudtect_asm.S
-
--cpudtect.o cpudtect.lo: cpudtect.S
-+cpudtect_asm.o cpudtect_asm.lo: cpudtect.S
- $(PREPROCESSOR) -DUSE_PACKET_FIFO=1 $< > $*.tmp.s
- $(CC) $(AFLAGS) -c -o $*.o $*.tmp.s
- $(CP) $*.o $*.lo
diff --git a/x11-servers/driglide/files/patch-h3-xdraw_inc_S b/x11-servers/driglide/files/patch-h3-xdraw_inc_S
deleted file mode 100644
index d07de188ee00..000000000000
--- a/x11-servers/driglide/files/patch-h3-xdraw_inc_S
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ru ../Glide3.orig/h3/glide3/src/xdraw2.inc.S ./h3/glide3/src/xdraw2.inc.S
---- ../Glide3.orig/h3/glide3/src/xdraw2.inc.S Tue Nov 14 06:11:19 2000
-+++ ./h3/glide3/src/xdraw2.inc.S Sun Jan 13 14:57:41 2002
-@@ -249,7 +249,7 @@
- push %edi /* save caller's register variable */
- push %esi /* save caller's register variable */
-
-- mov %edx , gc /* gc in edx from caller */
-+ mov _gc-8(%esp) , gc /* gc on stack (NOT!!! in edx) from caller */
- push %ebx /* save caller's register variable */
-
- push %ebp /* save frame pointer */
diff --git a/x11-servers/driglide/files/patch-h5-fxglide_h b/x11-servers/driglide/files/patch-h5-fxglide_h
deleted file mode 100644
index a56accb7f4e6..000000000000
--- a/x11-servers/driglide/files/patch-h5-fxglide_h
+++ /dev/null
@@ -1,16 +0,0 @@
-diff -ru ../Glide3.orig/h5/glide3/src/fxglide.h ./h5/glide3/src/fxglide.h
---- ../Glide3.orig/h5/glide3/src/fxglide.h Thu May 31 12:05:52 2001
-+++ ./h5/glide3/src/fxglide.h Sun Jan 13 15:35:48 2002
-@@ -2992,7 +2992,11 @@
- #if defined(GLIDE_SANITY_ASSERT)
- #define GR_ASSERT(exp) ((void)((!(exp)) ? (_grAssert(#exp, __FILE__, __LINE__),0) : 0xFFFFFFFF))
- #else
--#define GR_ASSERT(exp) ((void)(0 && ((FxU32)(exp))))
-+# ifdef __GNUC__
-+# define GR_ASSERT(exp) ((void) 0)
-+# else
-+# define GR_ASSERT(exp) ((void)(0 && ((FxU32)(exp))))
-+# endif
- #endif
-
- #define INTERNAL_CHECK(__name, __cond, __msg, __fatalP) \
diff --git a/x11-servers/driglide/files/patch-h5-gdebug_c b/x11-servers/driglide/files/patch-h5-gdebug_c
deleted file mode 100644
index fb60a9bd4f7e..000000000000
--- a/x11-servers/driglide/files/patch-h5-gdebug_c
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -ru ../Glide3.orig/h5/minihwc/gdebug.c ./h5/minihwc/gdebug.c
---- ../Glide3.orig/h5/minihwc/gdebug.c Sat Nov 18 08:00:35 2000
-+++ ./h5/minihwc/gdebug.c Sun Jan 13 17:36:02 2002
-@@ -86,7 +86,7 @@
- * and one for the dynamic dfn. For linux they are different.
- * For Windows they are the same.
- */
--#ifdef __linux__
-+#if defined(__linux__) || defined(__FreeBSD__)
- #define INITIAL_STATIC_GDBG_MSGFILE NULL
- #define INITIAL_GDBG_MSGFILE stderr
- #else
-@@ -189,7 +189,7 @@
- SIOUXSettings.asktosaveonclose = false;
- #endif
-
--#ifdef __linux__
-+#if defined(__linux__) || defined(__FreeBSD__)
- gdbg_msgfile = INITIAL_GDBG_MSGFILE;
- #endif
-
diff --git a/x11-servers/driglide/files/patch-h5-gdebug_h b/x11-servers/driglide/files/patch-h5-gdebug_h
deleted file mode 100644
index db7e55f6c35d..000000000000
--- a/x11-servers/driglide/files/patch-h5-gdebug_h
+++ /dev/null
@@ -1,25 +0,0 @@
-diff -ru ../Glide3.orig/h5/incsrc/gdebug.h ./h5/incsrc/gdebug.h
---- ../Glide3.orig/h5/incsrc/gdebug.h Sat Nov 18 08:00:33 2000
-+++ ./h5/incsrc/gdebug.h Sun Jan 13 16:20:49 2002
-@@ -67,12 +67,21 @@
- #pragma disable_message (111, 201, 302)
- #endif /* defined(__WATCOMC__) || defined(__WATCOM_CPLUSPLUS__) */
-
-+#ifdef __GNUC__
-+# define GDBG_INFO(x...)
-+# define GDBG_INFO_MORE(x...)
-+# define GDBG_PRINTF(x...)
-+
-+# define GDBG_ERROR_SET_CALLBACK(x...)
-+# define GDBG_ERROR_CLEAR_CALLBACK(x...)
-+#else
- #define GDBG_INFO 0 && (unsigned long)
- #define GDBG_INFO_MORE 0 && (unsigned long)
- #define GDBG_PRINTF 0 && (unsigned long)
-
- #define GDBG_ERROR_SET_CALLBACK 0 && (unsigned long)
- #define GDBG_ERROR_CLEAR_CALLBACK 0 && (unsigned long)
-+#endif
-
- #define GDBG_GET_DEBUGLEVEL(x) 0
- #define GDBG_SET_DEBUGLEVEL(a,b)
diff --git a/x11-servers/driglide/files/patch-h5-glfb_c b/x11-servers/driglide/files/patch-h5-glfb_c
deleted file mode 100644
index b39d81d56ed2..000000000000
--- a/x11-servers/driglide/files/patch-h5-glfb_c
+++ /dev/null
@@ -1,11 +0,0 @@
---- h5/glide3/src/glfb.c.orig Fri May 10 17:43:21 2002
-+++ h5/glide3/src/glfb.c Fri May 10 17:43:36 2002
-@@ -700,7 +700,7 @@
- }
- #endif
- else {
--#ifdef defined(DRI_BUILD)
-+#if defined(DRI_BUILD)
- /*
- * For Linux, we just return the correct address and
- * stride.
diff --git a/x11-servers/driglide/files/patch-h5-glide_h b/x11-servers/driglide/files/patch-h5-glide_h
deleted file mode 100644
index 0cb23c16bdc5..000000000000
--- a/x11-servers/driglide/files/patch-h5-glide_h
+++ /dev/null
@@ -1,40 +0,0 @@
-diff -ru ../Glide3.orig/h5/glide3/src/glide.h ./h5/glide3/src/glide.h
---- ../Glide3.orig/h5/glide3/src/glide.h Thu May 31 12:05:52 2001
-+++ ./h5/glide3/src/glide.h Sun Jan 13 14:44:34 2002
-@@ -53,9 +53,7 @@
- typedef FxU32 GrColor_t;
- typedef FxU8 GrAlpha_t;
- typedef FxU32 GrMipMapId_t;
--#ifdef DRI_BUILD
- typedef FxU32 GrStipplePattern_t;
--#endif /* DRI_BUILD */
- typedef FxU8 GrFog_t;
- typedef AnyPtr GrContext_t;
- typedef int (FX_CALL *GrProc)();
-@@ -244,12 +242,10 @@
- #define GR_DITHER_2x2 0x1
- #define GR_DITHER_4x4 0x2
-
--#ifdef DRI_BUILD
- typedef FxI32 GrStippleMode_t;
- #define GR_STIPPLE_DISABLE 0x0
- #define GR_STIPPLE_PATTERN 0x1
- #define GR_STIPPLE_ROTATE 0x2
--#endif /* DRI_BUILD */
-
- typedef FxI32 GrFogMode_t;
- #define GR_FOG_DISABLE 0x0
-@@ -745,13 +741,11 @@
- FX_ENTRY void FX_CALL
- grDepthRange( FxFloat n, FxFloat f );
-
--#ifdef DRI_BUILD
- FX_ENTRY void FX_CALL
- grStippleMode( GrStippleMode_t mode );
-
- FX_ENTRY void FX_CALL
- grStipplePattern( GrStipplePattern_t mode );
--#endif /* DRI_BUILD */
-
- FX_ENTRY void FX_CALL
- grViewport( FxI32 x, FxI32 y, FxI32 width, FxI32 height );
diff --git a/x11-servers/driglide/files/patch-h5-minihwc-makefile b/x11-servers/driglide/files/patch-h5-minihwc-makefile
deleted file mode 100644
index b4dfa3501058..000000000000
--- a/x11-servers/driglide/files/patch-h5-minihwc-makefile
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ru ../Glide3.orig/h5/minihwc/makefile.autoconf.am ./h5/minihwc/makefile.autoconf.am
---- ../Glide3.orig/h5/minihwc/makefile.autoconf.am Wed Jul 26 19:39:18 2000
-+++ ./h5/minihwc/makefile.autoconf.am Sun Jan 13 16:40:05 2002
-@@ -23,6 +23,8 @@
- #
- # First, the variable defs.
- #
-+LCFLAGS = -I@x_includes@
-+
- if GLIDE_DEBUG
- GLIDE_DEBUG_VDEFS=-DGDBG_INFO_ON
- endif
diff --git a/x11-servers/driglide/files/patch-h5-src-makefile b/x11-servers/driglide/files/patch-h5-src-makefile
deleted file mode 100644
index 29e4c66344a5..000000000000
--- a/x11-servers/driglide/files/patch-h5-src-makefile
+++ /dev/null
@@ -1,67 +0,0 @@
---- h5/glide3/src/makefile.autoconf.am.orig Sat Nov 18 08:00:26 2000
-+++ h5/glide3/src/makefile.autoconf.am Fri May 10 20:10:23 2002
-@@ -152,46 +152,40 @@
- #
- # Special rules for assembly files.
- #
--PREPROCESSOR=/lib/cpp -$$ -I.
-+PREPROCESSOR=/usr/libexec/cpp0 -$$ -I.
- xdraw2_def.o xdraw2_def.lo: xdraw2.s xdraw2.inc.s fxgasm.h
- $(PREPROCESSOR) $< > $*.tmp.s
-- $(CC) $(AFLAGS) -c -o $*.o $*.tmp.s
-- $(CP) $*.o $*.lo
-+ libtool --mode=compile $(CC) $(AFLAGS) -c -o $*.o $*.tmp.s
- $(RM) -f $*.tmp.s
-
- xdraw2_3dnow.o xdraw2_3dnow.lo: xdraw2.s xdraw2.inc.s fxgasm.h
- $(PREPROCESSOR) -DGL_AMD3D -DUSE_PACKET_FIFO=1 $< > $*.tmp.s
-- $(CC) $(AFLAGS) -c -o $*.o $*.tmp.s
-- $(CP) $*.o $*.lo
-+ libtool --mode=compile $(CC) $(AFLAGS) -c -o $*.o $*.tmp.s
- $(RM) -f $*.tmp.s
-
- xdraw3_def.o xdraw3_def.lo: xdraw3.s fxgasm.h
- $(PREPROCESSOR) $< > $*.tmp.s
-- $(CC) $(AFLAGS) -c -o $*.o $*.tmp.s
-- $(CP) $*.o $*.lo
-+ libtool --mode=compile $(CC) $(AFLAGS) -c -o $*.o $*.tmp.s
- $(RM) -f $*.tmp.s
-
- xdraw3_3dnow.o xdraw3_3dnow.lo: xdraw3.s fxgasm.h
- $(PREPROCESSOR) -DGL_AMD3D -DUSE_PACKET_FIFO=1 $< > $*.tmp.s
-- $(CC) $(AFLAGS) -c -o $*.o $*.tmp.s
-- $(CP) $*.o $*.lo
-+ libtool --mode=compile $(CC) $(AFLAGS) -c -o $*.o $*.tmp.s
- $(RM) -f $*.tmp.s
-
- xtexdl_3dnow.o xtexdl_3dnow.lo: xtexdl.s fxgasm.h
- $(PREPROCESSOR) -DGL_AMD3D -DUSE_PACKET_FIFO=1 $< > $*.tmp.s
-- $(CC) $(AFLAGS) -c -o $*.o $*.tmp.s
-- $(CP) $*.o $*.lo
-+ libtool --mode=compile $(CC) $(AFLAGS) -c -o $*.o $*.tmp.s
- $(RM) -f $*.tmp.s
-
- if FX_GLIDE_C_CPU_DETECT
- CPUSOURCES = cpudtect.c
- else
--CPUSOURCES = cpudtect.s
-+CPUSOURCES = cpudtect_asm.s
-
--cpudtect.o cpudtect.lo: cpudtect.s
-+cpudtect_asm.o cpudtect_asm.lo: cpudtect.s
- $(PREPROCESSOR) -DUSE_PACKET_FIFO=1 $< > $*.tmp.s
-- $(CC) $(AFLAGS) -c -o $*.o $*.tmp.s
-- $(CP) $*.o $*.lo
-+ libtool --mode=compile $(CC) $(AFLAGS) -c -o $*.o $*.tmp.s
- $(RM) -f $*.tmp.s
- endif
-
-@@ -202,7 +196,7 @@
- FX_GLIDE_CTRISETUP_SRC = gxdraw.c
- else
- if GL_AMD3D
--FX_GLIDE_CTRISETUP_SRC = xdraw2_3dnow.s xdraw3_3dnow.s
-+FX_GLIDE_CTRISETUP_SRC = xdraw2_3dnow.s xdraw3_3dnow.s xtexdl_3dnow.s xdraw2_def.s xdraw3_def.s
- else
- FX_GLIDE_CTRISETUP_SRC = xdraw2_def.s xdraw3_def.s
- endif
diff --git a/x11-servers/driglide/files/patch-h5-xdraw2_inc_s b/x11-servers/driglide/files/patch-h5-xdraw2_inc_s
deleted file mode 100644
index 3589ef4a6bdb..000000000000
--- a/x11-servers/driglide/files/patch-h5-xdraw2_inc_s
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ru ../Glide3.orig/h5/glide3/src/xdraw2.inc.s ./h5/glide3/src/xdraw2.inc.s
---- ../Glide3.orig/h5/glide3/src/xdraw2.inc.s Sat Nov 18 08:00:27 2000
-+++ ./h5/glide3/src/xdraw2.inc.s Sun Jan 13 15:00:14 2002
-@@ -288,7 +288,7 @@
- push %edi /* save caller's register variable */
- push %esi /* save caller's register variable */
-
-- mov %edx , gc /* gc in edx from caller */
-+ mov _gc-8(%esp) , gc /* gc on stack (NOT!!! in edx) from caller */
- push %ebx /* save caller's register variable */
-
- push %ebp /* save frame pointer */
diff --git a/x11-servers/driglide/files/patch-make-3dfx_linux_mak b/x11-servers/driglide/files/patch-make-3dfx_linux_mak
deleted file mode 100644
index 4370982bf09b..000000000000
--- a/x11-servers/driglide/files/patch-make-3dfx_linux_mak
+++ /dev/null
@@ -1,32 +0,0 @@
-diff -ru ../Glide3.orig/swlibs/include/make/3dfx.linux.mak ./swlibs/include/make/3dfx.linux.mak
---- ../Glide3.orig/swlibs/include/make/3dfx.linux.mak Wed Jul 12 14:35:28 2000
-+++ ./swlibs/include/make/3dfx.linux.mak Sun Jan 13 16:14:11 2002
-@@ -82,15 +82,11 @@
- GCPTS := $(GCOPTS) -fPIC -DPIC
- endif
-
--#
--# BIG_OPT Indicates O3(?) or better is being used. It changes the
--# assembly language in grDrawTriangle. Larger optimization removes
--# an extra push in the calling sequence.
--#
--CNODEBUG = -O6 -m486 -fomit-frame-pointer -funroll-loops \
-- -fexpensive-optimizations -ffast-math -DBIG_OPT
-+# Set CNODEBUG and CDEBUG to nothing to respect CFLAGS
-+
-+CNODEBUG =
-+CDEBUG =
-
--CDEBUG = -g -O
- GLDOPTS = -L$(BUILD_ROOT_SWLIBS)/lib -L/usr/lib
- # Profiling
- #CDEBUG = -pg -g -O
-@@ -115,7 +111,7 @@
- LCFLAGS = $(LCINCS) $(LCDEFS) $(LCOPTS)
- VCFLAGS = $(VCINCS) $(VCDEFS) $(VCOPTS)
-
--CFLAGS = $(CDEBUG) $(GCFLAGS) $(LCFLAGS) $(VCFLAGS)
-+CFLAGS += $(CDEBUG) $(GCFLAGS) $(LCFLAGS) $(VCFLAGS)
-
- #--------------------------------------------------------------------------
- # build up global linker flags (LDFLAGS) and libraries (LDLIBS)
diff --git a/x11-servers/driglide/files/patch-make-3dfx_mak b/x11-servers/driglide/files/patch-make-3dfx_mak
deleted file mode 100644
index 9f1758498f15..000000000000
--- a/x11-servers/driglide/files/patch-make-3dfx_mak
+++ /dev/null
@@ -1,32 +0,0 @@
-diff -ru ../Glide3.orig/swlibs/include/make/3dfx.mak ./swlibs/include/make/3dfx.mak
---- ../Glide3.orig/swlibs/include/make/3dfx.mak Sat Nov 18 08:00:37 2000
-+++ ./swlibs/include/make/3dfx.mak Sun Jan 13 16:13:53 2002
-@@ -133,15 +133,11 @@
- ifeq "$(OS)" "FreeBSD"
- GCINCS = -I. -I$(BUILD_ROOT_SWLIBS)/include -I$(BUILD_ROOT_HW)/include -I/usr/X11R6/include
- GCOPTS = -Wall
--#
--# BIG_OPT Indicates O3(?) or better is being used. It changes the
--# assembly language in grDrawTriangle. Larger optimization removes
--# an extra push in the calling sequence.
--#
--CNODEBUG = -O6 -m486 -fomit-frame-pointer -funroll-loops \
-- -fexpensive-optimizations -ffast-math -DBIG_OPT
-
--CDEBUG = -g -O
-+# Set CNODEBUG and CDEBUG to nothing to respect CFLAGS
-+
-+CNODEBUG =
-+CDEBUG =
- # Profiling
- #CDEBUG = -pg -g -O
- #GCDEFS =
-@@ -166,7 +162,7 @@
- LCFLAGS = $(LCINCS) $(LCDEFS) $(LCOPTS)
- VCFLAGS = $(VCINCS) $(VCDEFS) $(VCOPTS)
-
--CFLAGS = $(CDEBUG) $(GCFLAGS) $(LCFLAGS) $(VCFLAGS)
-+CFLAGS += $(CDEBUG) $(GCFLAGS) $(LCFLAGS) $(VCFLAGS)
-
- #--------------------------------------------------------------------------
- # build up global linker flags (LDFLAGS) and libraries (LDLIBS)
diff --git a/x11-servers/driglide/files/patch-make-makefile b/x11-servers/driglide/files/patch-make-makefile
deleted file mode 100644
index 26a9492f710f..000000000000
--- a/x11-servers/driglide/files/patch-make-makefile
+++ /dev/null
@@ -1,33 +0,0 @@
-diff -ru ../Glide3.orig/swlibs/include/make/makefile.autoconf.bottom ./swlibs/include/make/makefile.autoconf.bottom
---- ../Glide3.orig/swlibs/include/make/makefile.autoconf.bottom Thu May 31 12:05:53 2001
-+++ ./swlibs/include/make/makefile.autoconf.bottom Sun Jan 13 16:13:13 2002
-@@ -32,7 +32,7 @@
- CPPFLAGS = $(GCPPFLAGS) $(LCPPFLAGS) $(VCPPFLAGS)
- DEFS = $(GDEFS) $(LDEFS) $(VDEFS)
- INCLUDES = $(GINCLUDES) $(LINCLUDES) $(VINCLUDES)
--CFLAGS = $(GCFLAGS) $(LCFLAGS) $(VCFLAGS)
-+CFLAGS += $(GCFLAGS) $(LCFLAGS) $(VCFLAGS)
-
- AFLAGS = $(GAFLAGS) $(LAFLAGS) $(VAFLAGS)
- ADEFS = $(GADEFS) $(LADEFS) $(VADEFS)
-@@ -48,7 +48,7 @@
- # Global CFLAGS
- #
- ifeq ("@GLIDE_DEBUG@","true")
--GLIDE_DEBUG_GCFLAGS = -g -O
-+GLIDE_DEBUG_GCFLAGS = -g
- GLIDE_DEBUG_GDEFS = -DGDBG_INFO_ON -DGLIDE_DEBUG
- else
- ifeq ("@FX_GLIDE_BUILD_ARCHITECTURE@","alpha")
-@@ -61,9 +61,8 @@
- GLIDE_DEBUG_GDEFS = -fomit-frame-pointer \
- -fexpensive-optimizations -ffast-math -DBIG_OPT
- else
--GLIDE_DEBUG_GCFLAGS = -O2
--GLIDE_DEBUG_GDEFS = -fomit-frame-pointer -funroll-loops \
-- -fexpensive-optimizations -ffast-math -DBIG_OPT
-+GLIDE_DEBUG_GCFLAGS =
-+GLIDE_DEBUG_GDEFS =
- endif
- endif
- endif
diff --git a/x11-servers/driglide/pkg-comment b/x11-servers/driglide/pkg-comment
deleted file mode 100644
index 25954ca506ad..000000000000
--- a/x11-servers/driglide/pkg-comment
+++ /dev/null
@@ -1 +0,0 @@
-Library to support 3dfx Voodoo3/4/5/Banshee with the DRI
diff --git a/x11-servers/driglide/pkg-descr b/x11-servers/driglide/pkg-descr
index ca36402f129c..271bd8fe548b 100644
--- a/x11-servers/driglide/pkg-descr
+++ b/x11-servers/driglide/pkg-descr
@@ -1,5 +1,7 @@
-This library is used by the 3dfx DRI module (lib/modules/dri/tdfx_dri.so) to
-provide 3d hardware accelerated OpenGL for 3dfx Voodoo3/4/5/Banshee cards.
+These libraries are used by the 3dfx DRI module (lib/modules/dri/tdfx_dri.so)
+to provide 3d hardware accelerated OpenGL for 3dfx Voodoo3/4/5/Banshee cards.
This does not support applications requiring the Glide library.
-WWW: http://gladstone.uoregon.edu/~eanholt/dri/
+WWW: http://people.freebsd.org/~anholt/dri/
+- Eric Anholt
+anholt@FreeBSD.org
diff --git a/x11-servers/driglide/pkg-plist b/x11-servers/driglide/pkg-plist
index 790cc62d4578..943434394368 100644
--- a/x11-servers/driglide/pkg-plist
+++ b/x11-servers/driglide/pkg-plist
@@ -1,12 +1,6 @@
-lib/libglide3.so.13
-lib/libglide3.so
-lib/libglide3.a
-include/glide3/3dfx.h
-include/glide3/linutil.h
-include/glide3/texus.h
-include/glide3/sst1vid.h
-include/glide3/g3ext.h
-include/glide3/glide.h
-include/glide3/glideutl.h
-include/glide3/glidesys.h
-@dirrm include/glide3
+lib/libglide3-v3.so.13
+lib/libglide3-v3.so
+lib/libglide3-v3.a
+lib/libglide3-v5.so.13
+lib/libglide3-v5.so
+lib/libglide3-v5.a