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.
This commit is contained in:
Alexey Dokuchaev 2018-01-10 12:07:03 +00:00
parent 85ff7141a3
commit cf1babb8b4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=458624

View File

@ -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