aboutsummaryrefslogtreecommitdiffstats
path: root/lang/ezm3
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>2003-10-09 00:43:14 +0800
committerjdp <jdp@FreeBSD.org>2003-10-09 00:43:14 +0800
commitcf68aa2e859db712cd4a5f1f376e0c995d4a6e00 (patch)
tree0bc3e47414c1475eb6a719402fdafbe0087ddf30 /lang/ezm3
parent349350378d2b3c3d953d0bbb88c9d1ab4b72d912 (diff)
downloadfreebsd-ports-gnome-cf68aa2e859db712cd4a5f1f376e0c995d4a6e00.tar.gz
freebsd-ports-gnome-cf68aa2e859db712cd4a5f1f376e0c995d4a6e00.tar.zst
freebsd-ports-gnome-cf68aa2e859db712cd4a5f1f376e0c995d4a6e00.zip
Parameterize the target's byte ordering in the packing list. This
fixes the package builds for sparc64. PR: ports/57265 Submitted by: Marius Strobl <marius@alchemy.franken.de>
Diffstat (limited to 'lang/ezm3')
-rw-r--r--lang/ezm3/Makefile6
-rw-r--r--lang/ezm3/pkg-plist6
2 files changed, 8 insertions, 4 deletions
diff --git a/lang/ezm3/Makefile b/lang/ezm3/Makefile
index da37e8b67cbc..64832cf90e46 100644
--- a/lang/ezm3/Makefile
+++ b/lang/ezm3/Makefile
@@ -20,7 +20,8 @@ DIST_SUBDIR= ezm3
INSTALL_TARGET= all
MAKE_ARGS+= M3OPTIONS="-DBUILD_ALL -DSHIP_ALL"
MAN1= m3bundle.1
-PLIST_SUB+= ARCH=${ARCH} TARGET=${TARGET} WORDSIZE=${WORDSIZE}
+PLIST_SUB+= ARCH=${ARCH} TARGET=${TARGET} WORDSIZE=${WORDSIZE} \
+ ENDIANESS=${ENDIANESS}
SCRIPTS_ENV+= TARGET=${TARGET}
USE_BZIP2= yes
USE_GMAKE= yes
@@ -41,14 +42,17 @@ BROKEN= Not supported on versions earlier than 4.1-RELEASE
.if ${ARCH} == "alpha"
TARGET= FBSD_ALPHA
WORDSIZE= 64
+ENDIANESS= le
BOOTSTRAP= ezm3-${PORTVERSION}a-${TARGET}-boot.tar.bz2
.elif ${ARCH} == "i386"
TARGET= FreeBSD4
WORDSIZE= 32
+ENDIANESS= le
BOOTSTRAP= ezm3-${PORTVERSION}-${TARGET}-boot.tar.bz2
.elif ${ARCH} == "sparc64"
TARGET= FBSD_SPARC64
WORDSIZE= 64
+ENDIANESS= be
BOOTSTRAP= ezm3-${PORTVERSION}-${TARGET}-boot.tar.bz2
.endif
diff --git a/lang/ezm3/pkg-plist b/lang/ezm3/pkg-plist
index 73c640313ed8..69739836818b 100644
--- a/lang/ezm3/pkg-plist
+++ b/lang/ezm3/pkg-plist
@@ -299,8 +299,8 @@ lib/m3/pkg/m3core/src/float/Common/LongFloat.i3
lib/m3/pkg/m3core/src/float/Common/RealFloat.i3
lib/m3/pkg/m3core/src/float/IEEE-default/FPU.i3
lib/m3/pkg/m3core/src/float/IEEE-default/FloatMode.i3
-lib/m3/pkg/m3core/src/float/IEEE-le/LongRealRep.i3
-lib/m3/pkg/m3core/src/float/IEEE-le/RealRep.i3
+lib/m3/pkg/m3core/src/float/IEEE-%%ENDIANESS%%/LongRealRep.i3
+lib/m3/pkg/m3core/src/float/IEEE-%%ENDIANESS%%/RealRep.i3
lib/m3/pkg/m3core/src/float/IEEE/Extended.i3
lib/m3/pkg/m3core/src/float/IEEE/LongReal.i3
lib/m3/pkg/m3core/src/float/IEEE/Real.i3
@@ -971,7 +971,7 @@ share/ezm3/COPYRIGHT
@dirrm lib/m3/pkg/m3core/src/C
@dirrm lib/m3/pkg/m3core/src/float/IEEE-default
@dirrm lib/m3/pkg/m3core/src/float/IEEE
-@dirrm lib/m3/pkg/m3core/src/float/IEEE-le
+@dirrm lib/m3/pkg/m3core/src/float/IEEE-%%ENDIANESS%%
@dirrm lib/m3/pkg/m3core/src/float/Common
@dirrm lib/m3/pkg/m3core/src/float
@dirrm lib/m3/pkg/m3core/src/convert