summaryrefslogtreecommitdiff
path: root/graphics/Mesa-glx
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1999-10-01 18:43:18 +0000
committertron <tron@pkgsrc.org>1999-10-01 18:43:18 +0000
commit30de413d1a0e5f51715c2482d941fa6507eced85 (patch)
tree4eff70640f870ec81e45871e8a9370f37596561a /graphics/Mesa-glx
parent14a23855adb22ab4b818cd95dfbfd519f8ac8a59 (diff)
downloadpkgsrc-30de413d1a0e5f51715c2482d941fa6507eced85.tar.gz
Add missing build dependences on "perl" package and use correct path
"${LOCALBASE}/bin/perl" to execute the binary. Problem noted by Mario Kemper in private e-mail.
Diffstat (limited to 'graphics/Mesa-glx')
-rw-r--r--graphics/Mesa-glx/Makefile13
-rw-r--r--graphics/Mesa-glx/files/patch-sum3
-rw-r--r--graphics/Mesa-glx/patches/patch-ab13
3 files changed, 23 insertions, 6 deletions
diff --git a/graphics/Mesa-glx/Makefile b/graphics/Mesa-glx/Makefile
index 6e9fa1d58a4..27c6039ee89 100644
--- a/graphics/Mesa-glx/Makefile
+++ b/graphics/Mesa-glx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 1999/09/29 22:44:16 tron Exp $
+# $NetBSD: Makefile,v 1.2 1999/10/01 18:43:18 tron Exp $
DISTNAME= glx-19990804
PKGNAME= Mesa-${DISTNAME:S/-/-${GLX_CHIPSET}-/}
@@ -9,12 +9,16 @@ EXTRACT_SUFX= .tar.bz2
MAINTAINER= tron@netbsd.org
HOMEPAGE= http://glx.on.openprojects.net/
-BUILD_DEPENDS+= ${TCLSH}:../../lang/tcl80 \
+BUILD_DEPENDS+= ${PERL}:../../lang/perl5 \
+ ${TCLSH}:../../lang/tcl80 \
${MESA_WRKSRC}/lib/libMesaGL.a:${MESA_PKGDIR}:build
CONFLICTS+= Mesa-*
ONLY_FOR_PLATFORM= NetBSD-*-i386
+# Either "mga" (Matrox MGA 200 and 400) or "tnt" (Riva TNT and TNT 2)
+GLX_CHIPSET?= mga
+
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
@@ -24,13 +28,12 @@ CONFIGURE_ARGS+= --with-mmx-asm=no --with-3dnow-asm=no \
--with-mesa=${MESA_WRKSRC}
CONFIGURE_ENV+= TCLSH=${TCLSH}
-# Either "mga" (Matrox MGA 200 and 400) or "tnt" (Riva TNT and TNT 2)
-GLX_CHIPSET?= mga
-
BUILD_DEFS+= GLX_CHIPSET
+MAKE_ENV+= PERL=${PERL}
MESA_PKGDIR= ../Mesa
MESA_VERSION= 3.0
MESA_WRKSRC= ${BUILD_ROOT}/graphics/Mesa/${WRKDIR:T}/Mesa-${MESA_VERSION}
+PERL= ${LOCALBASE}/bin/perl
PLIST_SRC= ${WRKDIR}/PLIST
TCLSH= ${LOCALBASE}/bin/tclsh8.0
diff --git a/graphics/Mesa-glx/files/patch-sum b/graphics/Mesa-glx/files/patch-sum
index ada5bf98859..7935aae520b 100644
--- a/graphics/Mesa-glx/files/patch-sum
+++ b/graphics/Mesa-glx/files/patch-sum
@@ -1,3 +1,4 @@
-$NetBSD: patch-sum,v 1.1.1.1 1999/09/29 22:44:17 tron Exp $
+$NetBSD: patch-sum,v 1.2 1999/10/01 18:43:18 tron Exp $
MD5 (patch-aa) = 4d3b5b65223089784b40564da47e7f24
+MD5 (patch-ab) = 5b2cae1a7ef546ebcd36a7d3e8f9fc4b
diff --git a/graphics/Mesa-glx/patches/patch-ab b/graphics/Mesa-glx/patches/patch-ab
new file mode 100644
index 00000000000..84ec844d60e
--- /dev/null
+++ b/graphics/Mesa-glx/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 1999/10/01 18:43:18 tron Exp $
+
+--- servGL/hwglx/mga/Makefile.in.orig Sat Jul 31 09:07:55 1999
++++ servGL/hwglx/mga/Makefile.in Fri Oct 1 19:43:02 1999
+@@ -80,7 +80,7 @@
+ # -------------
+
+ mgaregs.h : mgaregs.pl
+- ./mgaregs.pl
++ ${PERL} ./mgaregs.pl
+
+ #tritmpl.h : tmplgen.sh
+ # ./tmplgen.sh triangle.tmpl