aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2005-02-09 03:23:11 +0800
committersem <sem@FreeBSD.org>2005-02-09 03:23:11 +0800
commita23043f504cd2c8a862548fbfc886f0309669de0 (patch)
tree13a56959cf95b092baf30ca872c80e67dca10256 /textproc
parentd6fc90fd0f35066f3016cc66495545a1e193f9de (diff)
downloadfreebsd-ports-gnome-a23043f504cd2c8a862548fbfc886f0309669de0.tar.gz
freebsd-ports-gnome-a23043f504cd2c8a862548fbfc886f0309669de0.tar.zst
freebsd-ports-gnome-a23043f504cd2c8a862548fbfc886f0309669de0.zip
- Unbreak on amd64
- While I'm here: pet runConfigure script PR: ports/77023 Submitted by: Johan van Selst <johans(at)stack.nl>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/xerces-c/Makefile6
-rw-r--r--textproc/xerces-c/files/patch-src::xercesc::config.sub25
2 files changed, 26 insertions, 5 deletions
diff --git a/textproc/xerces-c/Makefile b/textproc/xerces-c/Makefile
index cc3607046b80..393244fdd0de 100644
--- a/textproc/xerces-c/Makefile
+++ b/textproc/xerces-c/Makefile
@@ -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
diff --git a/textproc/xerces-c/files/patch-src::xercesc::config.sub b/textproc/xerces-c/files/patch-src::xercesc::config.sub
new file mode 100644
index 000000000000..ae994d62e434
--- /dev/null
+++ b/textproc/xerces-c/files/patch-src::xercesc::config.sub
@@ -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.