Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jan 2018 12:07:04 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r458624 - head/lang/gauche
Message-ID:  <201801101207.w0AC74wA081790@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Wed Jan 10 12:07:03 2018
New Revision: 458624
URL: https://svnweb.freebsd.org/changeset/ports/458624

Log:
  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.

Modified:
  head/lang/gauche/Makefile

Modified: head/lang/gauche/Makefile
==============================================================================
--- head/lang/gauche/Makefile	Wed Jan 10 12:04:31 2018	(r458623)
+++ head/lang/gauche/Makefile	Wed Jan 10 12:07:03 2018	(r458624)
@@ -19,7 +19,6 @@ BROKEN_armv6=	Fails to build: unknown attribute __allo
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801101207.w0AC74wA081790>