Fix build for amd64, ia64 and sparc64; thus, remove BROKEN

This commit is contained in:
Mario Sergio Fujikawa Ferreira 2005-11-28 01:39:34 +00:00
parent 9bc0142a9c
commit b51f95b7f9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=149714
4 changed files with 36 additions and 8 deletions

View file

@ -83,10 +83,6 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
BROKEN= "Does not compile on ${ARCH}"
.endif
# Fix build on 4.x
.if ${OSVERSION} < 500000
USE_GCC= 3.4

View file

@ -0,0 +1,18 @@
--- src/utils/lib/sha1new_c.c.orig Sun Nov 27 21:34:48 2005
+++ src/utils/lib/sha1new_c.c Sun Nov 27 22:10:11 2005
@@ -152,6 +152,7 @@
#if defined( __alpha__ ) || defined( __alpha ) || defined( i386 ) || \
defined( __i386__ ) || defined( _M_I86 ) || defined( _M_IX86 ) || \
+ defined(__amd64__) || defined(__ia64__) || \
defined( __OS2__ ) || defined( sun386 ) || defined( __TURBOC__ ) || \
defined( vax ) || defined( vms ) || defined( VMS ) || \
defined( __VMS )
@@ -162,6 +163,7 @@
defined( ibm370 ) || defined( mc68000 ) || defined( m68k ) || \
defined( __MRC__ ) || defined( __MVS__ ) || defined( __MWERKS__ ) || \
defined( sparc ) || defined( __sparc) || defined( SYMANTEC_C ) || \
+ defined(__sparc64__) || \
defined( __TANDEM ) || defined( THINK_C ) || defined( __VMCMS__ )
# define PLATFORM_BYTE_ORDER BRG_BIG_ENDIAN

View file

@ -83,10 +83,6 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
BROKEN= "Does not compile on ${ARCH}"
.endif
# Fix build on 4.x
.if ${OSVERSION} < 500000
USE_GCC= 3.4

View file

@ -0,0 +1,18 @@
--- src/utils/lib/sha1new_c.c.orig Sun Nov 27 21:34:48 2005
+++ src/utils/lib/sha1new_c.c Sun Nov 27 22:10:11 2005
@@ -152,6 +152,7 @@
#if defined( __alpha__ ) || defined( __alpha ) || defined( i386 ) || \
defined( __i386__ ) || defined( _M_I86 ) || defined( _M_IX86 ) || \
+ defined(__amd64__) || defined(__ia64__) || \
defined( __OS2__ ) || defined( sun386 ) || defined( __TURBOC__ ) || \
defined( vax ) || defined( vms ) || defined( VMS ) || \
defined( __VMS )
@@ -162,6 +163,7 @@
defined( ibm370 ) || defined( mc68000 ) || defined( m68k ) || \
defined( __MRC__ ) || defined( __MVS__ ) || defined( __MWERKS__ ) || \
defined( sparc ) || defined( __sparc) || defined( SYMANTEC_C ) || \
+ defined(__sparc64__) || \
defined( __TANDEM ) || defined( THINK_C ) || defined( __VMCMS__ )
# define PLATFORM_BYTE_ORDER BRG_BIG_ENDIAN