From 27e0b92655a727a40ab23b371fece1504053ce8b Mon Sep 17 00:00:00 2001 From: Maho Nakata Date: Tue, 19 Aug 2003 00:31:42 +0000 Subject: a) add a possible patch to build on Alpha. b) however, for safety, set ONLY_FOR_ARCHS= i386 Submitted by: kris via bento Christian Gusenbauer (maitainer) --- graphics/inventor/Makefile | 3 ++- graphics/inventor/files/patch-machine.h | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 graphics/inventor/files/patch-machine.h (limited to 'graphics/inventor') diff --git a/graphics/inventor/Makefile b/graphics/inventor/Makefile index ac988135f0b3..b99be067de69 100644 --- a/graphics/inventor/Makefile +++ b/graphics/inventor/Makefile @@ -26,7 +26,8 @@ USE_MOTIF= yes USE_MESA= yes INSTALLS_SHLIB= yes USE_REINPLACE= yes -PREFIX= ${X11BASE} # not a good manner +ONLY_FOR_ARCHES= i386 +PREFIX= ${X11BASE} # not a good manner WRKSRC= ${WRKDIR}/${PORTNAME} MAKE_ENV= LD_LIBRARY_PATH=${WRKSRC}/lib:${WRKSRC}/libSoXt diff --git a/graphics/inventor/files/patch-machine.h b/graphics/inventor/files/patch-machine.h new file mode 100644 index 000000000000..4e85ee3b2efb --- /dev/null +++ b/graphics/inventor/files/patch-machine.h @@ -0,0 +1,23 @@ +*** lib/database/include/machine.h.orig Mon Aug 18 18:36:50 2003 +--- lib/database/include/machine.h Mon Aug 18 18:48:17 2003 +*************** +*** 152,157 **** +--- 152,169 ---- + + + /* ++ * Alpha under FreeBSD ++ */ ++ ++ #if __alpha__ && __FreeBSD__ ++ ++ #define MACHINE_WORD_FORMAT DGL_LITTLE_ENDIAN ++ #define MACHINE_FLOAT_FORMAT DGL_NON_IEEE ++ ++ #endif /* __alpha__ && __FreeBSD__ */ ++ ++ ++ /* + * Apple Darwin (Mac OS X) machine dependent setup + */ + -- cgit v1.2.3