From 3684501415003df1618cb4f0345d93eb7d26d2f8 Mon Sep 17 00:00:00 2001 From: John Polstra Date: Wed, 8 Oct 2003 16:43:14 +0000 Subject: [PATCH] Parameterize the target's byte ordering in the packing list. This fixes the package builds for sparc64. PR: ports/57265 Submitted by: Marius Strobl --- lang/ezm3/Makefile | 6 +++++- lang/ezm3/pkg-plist | 6 +++--- 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