ports/145382: [maintainer] lang/petite-chez: add support for amd64
Vitaly Magerya
vmagerya at gmail.com
Sun Apr 4 18:00:25 UTC 2010
>Number: 145382
>Category: ports
>Synopsis: [maintainer] lang/petite-chez: add support for amd64
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sun Apr 04 18:00:23 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Vitaly Magerya
>Release: FreeBSD 8.0-RC2 amd64
>Organization:
>Environment:
>Description:
As I recently learned, Petite Chez 8.0 adds support for FreeBSD/amd64.
The attached patch enables the port to do the same.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -ruN petite-chez.orig/Makefile petite-chez/Makefile
--- petite-chez.orig/Makefile 2010-04-04 20:11:57.000000000 +0300
+++ petite-chez/Makefile 2010-04-04 20:29:22.000000000 +0300
@@ -15,7 +15,7 @@
MAINTAINER= vmagerya at gmail.com
COMMENT= Free interpreter for Chez Scheme system
-ONLY_FOR_ARCHS= i386
+ONLY_FOR_ARCHS= i386 amd64
NO_PACKAGE= user must accept license terms before installation
@@ -42,10 +42,14 @@
.include <bsd.port.pre.mk>
-.if defined(WITH_THREADS)
-CHEZ_MACHTYPE= ti3fb
-.else
+.if ${ARCH} == "i386"
CHEZ_MACHTYPE= i3fb
+.elif ${ARCH} == "amd64"
+CHEZ_MACHTYPE= a6fb
+.endif
+
+.if defined(WITH_THREADS)
+CHEZ_MACHTYPE:= t${CHEZ_MACHTYPE}
.endif
post-extract:
diff -ruN petite-chez.orig/distinfo petite-chez/distinfo
--- petite-chez.orig/distinfo 2010-04-04 20:11:57.000000000 +0300
+++ petite-chez/distinfo 2010-04-04 20:27:06.000000000 +0300
@@ -4,3 +4,9 @@
MD5 (pcsv8.0-ti3fb.tar.gz) = 95c8d008fb6cab2b818fc0b5430eb56f
SHA256 (pcsv8.0-ti3fb.tar.gz) = 70d980ce342ba0738f83717996d3f9666fed9c6da8c54264b80359ddaa64c73c
SIZE (pcsv8.0-ti3fb.tar.gz) = 1293716
+MD5 (pcsv8.0-a6fb.tar.gz) = f032344517a7028eae6bf8dbf2b31522
+SHA256 (pcsv8.0-a6fb.tar.gz) = 33a03d9eae7d91738aebdb53e0d4f31aac610b11fef153e7e0eef607fa837989
+SIZE (pcsv8.0-a6fb.tar.gz) = 1269145
+MD5 (pcsv8.0-ta6fb.tar.gz) = c3f8831acea4212c04e504f57266e0b9
+SHA256 (pcsv8.0-ta6fb.tar.gz) = 7b1346ea4d9390729e5db53ce16c19a86dc899b475b69e90527f33d6b7be90bb
+SIZE (pcsv8.0-ta6fb.tar.gz) = 1296150
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list