summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2004-06-04 17:34:36 +0000
committerjschauma <jschauma@pkgsrc.org>2004-06-04 17:34:36 +0000
commit01e23ecfb80aab00041a3b05874357107ea70be8 (patch)
tree2c33b684ce0ed932f5b3b6b148f741b68d70a434 /lang
parent31acee7abcbb33669026b8cefbdbbde31b749422 (diff)
downloadpkgsrc-01e23ecfb80aab00041a3b05874357107ea70be8.tar.gz
Allow this to build and install on Linux.
While here, be explicit as to why we can not build and install the package in separate steps instead of silently setting NO_BUILD.
Diffstat (limited to 'lang')
-rw-r--r--lang/ezm3/Makefile18
-rw-r--r--lang/ezm3/PLIST.Linux28
-rw-r--r--lang/ezm3/distinfo5
-rw-r--r--lang/ezm3/patches/patch-ab12
4 files changed, 59 insertions, 4 deletions
diff --git a/lang/ezm3/Makefile b/lang/ezm3/Makefile
index 8f996ea1bf6..427e26d53ca 100644
--- a/lang/ezm3/Makefile
+++ b/lang/ezm3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2004/01/24 13:51:14 grant Exp $
+# $NetBSD: Makefile,v 1.8 2004/06/04 17:34:36 jschauma Exp $
DISTNAME= ezm3-1.1
CATEGORIES= lang
@@ -11,7 +11,6 @@ COMMENT= Easier, more portable Modula-3 distribution for building CVSup
DIST_SUBDIR= ezm3
USE_GNU_TOOLS+= make
-NO_BUILD= yes
INSTALL_TARGET= all
MAKE_ARGS+= M3OPTIONS="-DBUILD_ALL -DSHIP_ALL"
PLIST_SUBST+= TARGET=${TARGET} TARGETDIR=${TARGETDIR}
@@ -23,7 +22,8 @@ PLIST_SUBST+= TARGET=${TARGET} TARGETDIR=${TARGETDIR}
CFLAGS:=
EZM3ROOT= ${PREFIX}/ezm3
-ONLY_FOR_PLATFORM= FreeBSD-*-i386 NetBSD-*-i386
+# XXX: This may well work for some others.
+ONLY_FOR_PLATFORM= FreeBSD-*-i386 NetBSD-*-i386 Linux-*-i386
.if ${OPSYS} == "FreeBSD"
BOOTSTRAP= ${DISTNAME}-FreeBSD4-boot.tar.bz2
@@ -33,6 +33,10 @@ TARGETDIR= freebsd-1
BOOTSTRAP= ${DISTNAME}-NetBSDi386-boot.tar.bz2
TARGET= NetBSDi386
TARGETDIR= netbsd-1
+.elif ${OPSYS} == "Linux"
+BOOTSTRAP= ${DISTNAME}-LINUXLIBC6-boot.tar.bz2
+TARGET= LINUXLIBC6
+TARGETDIR= linux-libc6
.endif
do-configure:
@@ -45,4 +49,12 @@ do-configure:
pre-build:
${RM} -rf ${WRKSRC}/${TARGET}
+do-build:
+ @${ECHO}
+ @${ECHO} "======================================================================";
+ @${ECHO} "As per the website, it is NOT possible to separate the build process"
+ @${ECHO} "from the installation process."
+ @${ECHO} "'${MAKE} install' will build AND install the package."
+ @${ECHO} "======================================================================";
+
.include "../../mk/bsd.pkg.mk"
diff --git a/lang/ezm3/PLIST.Linux b/lang/ezm3/PLIST.Linux
new file mode 100644
index 00000000000..007aaf8445d
--- /dev/null
+++ b/lang/ezm3/PLIST.Linux
@@ -0,0 +1,28 @@
+@comment $NetBSD: PLIST.Linux,v 1.1 2004/06/04 17:34:36 jschauma Exp $
+ezm3/lib/m3/pkg/m3core/src/runtime/LINUXLIBC6/socketcall.h
+ezm3/lib/m3/pkg/m3core/src/unix/${LOWER_OPSYS}-libc6/Uresource.i3
+ezm3/lib/m3/pkg/m3core/src/unix/${LOWER_OPSYS}-libc6/Uexec.i3
+ezm3/lib/m3/pkg/m3core/src/unix/${LOWER_OPSYS}-libc6/Utime.i3
+ezm3/lib/m3/pkg/m3core/src/unix/${LOWER_OPSYS}-libc6/Unetdb.i3
+ezm3/lib/m3/pkg/m3core/src/unix/${LOWER_OPSYS}-libc6/Usignal.i3
+ezm3/lib/m3/pkg/m3core/src/unix/${LOWER_OPSYS}-libc6/Uugid.i3
+ezm3/lib/m3/pkg/m3core/src/unix/${LOWER_OPSYS}-libc6/Uprocess.i3
+ezm3/lib/m3/pkg/m3core/src/unix/${LOWER_OPSYS}-libc6/Udir.i3
+ezm3/lib/m3/pkg/m3core/src/unix/${LOWER_OPSYS}-libc6/Usocket.i3
+ezm3/lib/m3/pkg/m3core/src/unix/${LOWER_OPSYS}-libc6/Umsg.i3
+ezm3/lib/m3/pkg/m3core/src/unix/${LOWER_OPSYS}-libc6/Upaths.i3
+ezm3/lib/m3/pkg/m3core/src/unix/${LOWER_OPSYS}-libc6/Usem.i3
+ezm3/lib/m3/pkg/m3core/src/unix/${LOWER_OPSYS}-libc6/Ugrp.i3
+ezm3/lib/m3/pkg/m3core/src/unix/${LOWER_OPSYS}-libc6/Utypes.i3
+ezm3/lib/m3/pkg/m3core/src/unix/${LOWER_OPSYS}-libc6/Uipc.i3
+ezm3/lib/m3/pkg/m3core/src/unix/${LOWER_OPSYS}-libc6/Uuio.i3
+ezm3/lib/m3/pkg/m3core/src/unix/${LOWER_OPSYS}-libc6/Upwd.i3
+ezm3/lib/m3/pkg/m3core/src/unix/${LOWER_OPSYS}-libc6/Uerror.i3
+ezm3/lib/m3/pkg/m3core/src/unix/${LOWER_OPSYS}-libc6/Usyslog.i3
+ezm3/lib/m3/pkg/m3core/src/unix/${LOWER_OPSYS}-libc6/Ushm.i3
+ezm3/lib/m3/pkg/m3core/src/unix/${LOWER_OPSYS}-libc6/Uin.i3
+ezm3/lib/m3/pkg/m3core/src/unix/${LOWER_OPSYS}-libc6/Unix.i3
+ezm3/lib/m3/pkg/m3core/src/unix/${LOWER_OPSYS}-libc6/Ustat.i3
+ezm3/lib/m3/pkg/m3core/src/unix/${LOWER_OPSYS}-libc6/Umman.i3
+ezm3/lib/m3/pkg/m3core/src/unix/${LOWER_OPSYS}-libc6/Uutmp.i3
+@dirrm ezm3/lib/m3/pkg/m3core/src/unix/${LOWER_OPSYS}-libc6
diff --git a/lang/ezm3/distinfo b/lang/ezm3/distinfo
index e9b545034b1..41eb8d7645d 100644
--- a/lang/ezm3/distinfo
+++ b/lang/ezm3/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2004/01/05 23:54:19 xtraeme Exp $
+$NetBSD: distinfo,v 1.2 2004/06/04 17:34:36 jschauma Exp $
SHA1 (ezm3/ezm3-1.1-src.tar.bz2) = fbca999ef121c7893d3bb7480b538a54f72fad0e
Size (ezm3/ezm3-1.1-src.tar.bz2) = 10705295 bytes
@@ -6,4 +6,7 @@ SHA1 (ezm3/ezm3-1.1-FreeBSD4-boot.tar.bz2) = db12938fb76f6e8187b30c9c9db6ccf0291
Size (ezm3/ezm3-1.1-FreeBSD4-boot.tar.bz2) = 1365809 bytes
SHA1 (ezm3/ezm3-1.1-NetBSDi386-boot.tar.bz2) = 1a8c10544fadc618012bd0efd7d9267f7b210ccc
Size (ezm3/ezm3-1.1-NetBSDi386-boot.tar.bz2) = 1375659 bytes
+SHA1 (ezm3/ezm3-1.1-LINUXLIBC6-boot.tar.bz2) = 602d37277e8c94743fa9a6ac79e4e7a46f9c9234
+Size (ezm3/ezm3-1.1-LINUXLIBC6-boot.tar.bz2) = 1444815 bytes
SHA1 (patch-aa) = fac6afee90c6d5518ccaf4a02e4846917a24136e
+SHA1 (patch-ab) = d7ca4b997caacdd9a6eb16d13530dc1e9343ea1a
diff --git a/lang/ezm3/patches/patch-ab b/lang/ezm3/patches/patch-ab
new file mode 100644
index 00000000000..57e1a52c5d6
--- /dev/null
+++ b/lang/ezm3/patches/patch-ab
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1 2004/06/04 17:34:36 jschauma Exp $
+
+--- m3config/src/LINUXLIBC6.orig 2004-06-04 13:05:30.000000000 -0400
++++ m3config/src/LINUXLIBC6 2004-06-04 13:05:47.000000000 -0400
+@@ -5,6 +5,7 @@
+
+ INSTALL_ROOT = "/usr/local"
+ X11ROOT = "/usr/X11R6/lib"
++GNU_MAKE = "make"
+
+ % The internal back end is disabled in ezm3.
+ %PLATFORM_SUPPORTS_INTERNAL_BACKEND = "T"