1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

Fix build on amd64/ia64

This commit is contained in:
Tilman Keskinoz 2007-03-17 21:32:05 +00:00
parent 266cff94b3
commit f2af09fcce
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=187600
2 changed files with 12 additions and 4 deletions

View File

@ -27,10 +27,6 @@ MAKEFILE= ${FILESDIR}/Makefile.bsd
.include <bsd.port.pre.mk>
.if ${ARCH} == "ia64" || ${ARCH} == "amd64"
BROKEN= "Does not compile on ia64 or amd64"
.endif
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}

View File

@ -0,0 +1,12 @@
--- bytesex.h.orig Sat Mar 17 22:27:18 2007
+++ bytesex.h Sat Mar 17 22:30:35 2007
@@ -5,7 +5,8 @@
#if defined(__i386__) \
|| defined(__alpha__) \
- || (defined(__mips__) && (defined(MIPSEL) || defined (__MIPSEL__)))
+ || (defined(__mips__) && (defined(MIPSEL) || defined (__MIPSEL__))) \
+ || defined(__amd64__) || defined(__ia64__)
#define BYTE_ORDER_LITTLE_ENDIAN
#elif defined(__mc68000__) \
|| defined (__sparc__) \