- Unbreak on amd64

- While I'm here: pet runConfigure script

PR:		ports/77023
Submitted by:	Johan van Selst <johans(at)stack.nl>
This commit is contained in:
Sergey Matveychuk 2005-02-08 19:23:11 +00:00
parent 046854c1d8
commit b61a2154e4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=128308
2 changed files with 26 additions and 5 deletions

View file

@ -33,7 +33,7 @@ CONFIGURE_SCRIPT= runConfigure
CONFIGURE_ENV+= XERCESCROOT=${WRKSRC} TRANSCODER="IconvFBSD" \
PTHREAD_LIBS="${PTHREAD_LIBS}" \
PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"
CONFIGURE_ARGS= -p freebsd -n socket -P ${PREFIX}
CONFIGURE_ARGS= -p freebsd -n socket -P ${PREFIX} -c ${CC} -x ${CXX}
.if defined(NO_THREADS)
CONFIGURE_ARGS+= -r none
.endif
@ -42,10 +42,6 @@ PLIST_SUB+= XERCESC_VER=${PORTVERSION:S/./_/g} \
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64"
BROKEN= "Does not build on amd64"
.endif
pre-configure:
${CHMOD} 700 ${CONFIGURE_WRKSRC}/runConfigure
${CHMOD} 700 ${CONFIGURE_WRKSRC}/configure

View file

@ -0,0 +1,25 @@
Include the following patch (files/patch-src::xercesc::config.sub)
--- src/xercesc/config.sub.orig Wed Feb 2 18:29:07 2005
+++ src/xercesc/config.sub Wed Feb 2 18:29:02 2005
@@ -218,7 +218,7 @@
| mips64vr4300 | mips64vr4300el | mips64vr4100 | mips64vr4100el \
| mips64vr5000 | miprs64vr5000el | mcore \
| sparc | sparclet | sparclite | sparc64 | sparcv9 | v850 | c4x \
- | thumb | d10v | d30v | fr30 | avr)
+ | thumb | d10v | d30v | fr30 | avr | amd64)
basic_machine=$basic_machine-unknown
;;
m6811 | m68hc11 | m6812 | m68hc12)
@@ -262,7 +262,7 @@
| f301-* | armv*-* | s390-* | sv1-* | t3e-* \
| m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \
| thumb-* | v850-* | d30v-* | tic30-* | c30-* | fr30-* \
- | bs2000-* | tic54x-* | c54x-* | x86_64-*)
+ | bs2000-* | tic54x-* | c54x-* | x86_64-* | amd64-*)
;;
# Recognize the various machine names and aliases which stand
# for a CPU type and a company and sometimes even an OS.