aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2018-01-10 20:07:03 +0800
committerdanfe <danfe@FreeBSD.org>2018-01-10 20:07:03 +0800
commit8951b5b7246a9938b3e29d7549cc9a2ed7d8b955 (patch)
tree534f1b8b7d4cbed03d9c921c9d1ba4f5d4feef62 /lang
parentef95392ec735ef567e8c29fa94b18d12ca9a53ab (diff)
downloadfreebsd-ports-gnome-8951b5b7246a9938b3e29d7549cc9a2ed7d8b955.tar.gz
freebsd-ports-gnome-8951b5b7246a9938b3e29d7549cc9a2ed7d8b955.tar.zst
freebsd-ports-gnome-8951b5b7246a9938b3e29d7549cc9a2ed7d8b955.zip
Unbreak the build on sparc64: configure script was correctly detecting that
extra MD file is required, but since it is under `src' subdirectory, make(1) was not able to find and make it. While here, remove s|-lpthread|-pthread| gimmick which is no-op these days.
Diffstat (limited to 'lang')
-rw-r--r--lang/gauche/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/gauche/Makefile b/lang/gauche/Makefile
index 8ffa9a99d774..bf5b6d4d5039 100644
--- a/lang/gauche/Makefile
+++ b/lang/gauche/Makefile
@@ -19,7 +19,6 @@ BROKEN_armv6= Fails to build: unknown attribute __alloc_size__; also fails in as
BROKEN_armv7= Fails to build: unknown attribute __alloc_size__; also fails in assembler
BROKEN_mips= Fails to build: redefinition of GC_register_dynamic_libraries
BROKEN_mips64= Fails to build: redefinition of GC_register_dynamic_libraries
-BROKEN_sparc64= Fails to build: do not know how to make sparc_mach_dep.lo
USES= iconv makeinfo tar:tgz
GNU_CONFIGURE= yes
@@ -63,8 +62,9 @@ CONFIGURE_ARGS+= --enable-multibyte=none
.endif
post-patch:
+# required for sparc64, no-op elsewhere
@${REINPLACE_CMD} -e \
- 's|-lpthread|-pthread|' ${WRKSRC}/configure
+ '/^VPATH = /s,$$,/src,' ${WRKSRC}/gc/Makefile.in
post-install:
@${TOUCH} ${STAGEDIR}${PREFIX}/lib/gauche-0.9/site/${CONFIGURE_TARGET}/.keepme