summaryrefslogtreecommitdiff
path: root/graphics/mgl
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/mgl')
-rw-r--r--graphics/mgl/Makefile8
-rw-r--r--graphics/mgl/files/md53
-rw-r--r--graphics/mgl/files/patch-sum3
-rw-r--r--graphics/mgl/patches/patch-ai17
4 files changed, 27 insertions, 4 deletions
diff --git a/graphics/mgl/Makefile b/graphics/mgl/Makefile
index 04f7c0f8231..2cc49d51de5 100644
--- a/graphics/mgl/Makefile
+++ b/graphics/mgl/Makefile
@@ -1,10 +1,14 @@
-# $NetBSD: Makefile,v 1.3 2000/11/09 12:37:40 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2000/12/15 04:12:20 wiz Exp $
DISTNAME= mgl2-alpha-019
PKGNAME= mgl-0.1.9a
CATEGORIES= graphics
MASTER_SITES= http://at.sakura.ne.jp/~suz/arc/
+PATCH_SITES= http://at.sakura.ne.jp/~suz/arc/
+PATCHFILES= mgl2-alpha-019-for-netbsd15.patch.gz
+PATCH_DIST_STRIP= -p1
+
MAINTAINER= fk200329@fsinet.or.jp
HOMEPAGE= http://www.netbsd.org/Ports/hpcmips/mgl2.html
@@ -33,7 +37,7 @@ ONLY_FOR_PLATFORM= *-*-i386 *-*-mipsel
.include "../../mk/bsd.prefs.mk"
-pre-build:
+post-configure:
.if ${MACHINE_ARCH} == "mipsel"
@${MV} -f ${WRKSRC}/conf/config.mk-hpcmips ${WRKSRC}/conf/config.mk.tmp
.else
diff --git a/graphics/mgl/files/md5 b/graphics/mgl/files/md5
index 8633c070cb7..6a690c277a0 100644
--- a/graphics/mgl/files/md5
+++ b/graphics/mgl/files/md5
@@ -1,3 +1,4 @@
-$NetBSD: md5,v 1.1.1.1 2000/11/01 16:25:09 hubertf Exp $
+$NetBSD: md5,v 1.2 2000/12/15 04:12:20 wiz Exp $
MD5 (mgl2-alpha-019.tar.gz) = 349c75f751db1c141ea7ce00b13df950
+MD5 (mgl2-alpha-019-for-netbsd15.patch.gz) = ad212ed811233db939504fa6edb25611
diff --git a/graphics/mgl/files/patch-sum b/graphics/mgl/files/patch-sum
index 8eb0fc522e4..bf8e5415c5d 100644
--- a/graphics/mgl/files/patch-sum
+++ b/graphics/mgl/files/patch-sum
@@ -1,4 +1,4 @@
-$NetBSD: patch-sum,v 1.1.1.1 2000/11/01 16:25:09 hubertf Exp $
+$NetBSD: patch-sum,v 1.2 2000/12/15 04:12:20 wiz Exp $
MD5 (patch-aa) = f3a2cde5f6f52ec3b3cc60c72c6d7b3c
MD5 (patch-ab) = 1d739194ec89cc45f159c32bb3564c29
@@ -8,3 +8,4 @@ MD5 (patch-ae) = 4fcd0efe9e621b4d40bf1855ba58452c
MD5 (patch-af) = 3ecec22e87bc414bf469c4b827b98437
MD5 (patch-ag) = 3c2eb8da5eeca9f499ec011320d720c8
MD5 (patch-ah) = 45ca383512ad3b919937d60d3fc49ac4
+MD5 (patch-ai) = a10964ca09fbb816a86093ae7361b02e
diff --git a/graphics/mgl/patches/patch-ai b/graphics/mgl/patches/patch-ai
new file mode 100644
index 00000000000..2f43a29d196
--- /dev/null
+++ b/graphics/mgl/patches/patch-ai
@@ -0,0 +1,17 @@
+$NetBSD: patch-ai,v 1.1 2000/12/15 04:12:20 wiz Exp $
+
+--- mgterm/mdate.c.orig Thu Aug 31 14:06:47 2000
++++ mgterm/mdate.c
+@@ -633,9 +633,10 @@
+ #include <sys/swap.h>
+ #include <sys/param.h>
+ #include <sys/sysctl.h>
+-#include <vm/vm_param.h>
+-#ifdef UVM
++#if __NetBSD_Version__ > 105009900
+ #include <uvm/uvm_extern.h>
++#else
++#include <vm/vm_param.h>
+ #endif
+ #include <errno.h>
+