Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Mar 2016 18:19:22 +0000 (UTC)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r411010 - head/devel/ds2
Message-ID:  <201603131819.u2DIJMuV006423@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rakuco
Date: Sun Mar 13 18:19:22 2016
New Revision: 411010
URL: https://svnweb.freebsd.org/changeset/ports/411010

Log:
  Only build on amd64.
  
  Sources/Host/FreeBSD only has an X86_64 directory, so make configure failed on
  all other architectures:
  
  CMake Error at CMakeLists.txt:199 (add_executable):
    Cannot find source file:
  
      Sources/Host/FreeBSD/X86/PTraceX86.cpp
  
    Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
      .hxx .in .txx
  
  CMake Error: CMake can not determine linker language for target: ds2
  CMake Error: Cannot determine link language for target "ds2".

Modified:
  head/devel/ds2/Makefile

Modified: head/devel/ds2/Makefile
==============================================================================
--- head/devel/ds2/Makefile	Sun Mar 13 18:18:03 2016	(r411009)
+++ head/devel/ds2/Makefile	Sun Mar 13 18:19:22 2016	(r411010)
@@ -14,6 +14,9 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	facebook
 GH_TAGNAME=	52c45f3
 
+ONLY_FOR_ARCHS=		amd64
+ONLY_FOR_ARCHS_REASON=	the ptrace code only has an amd64 backend
+
 USES=		cmake compiler
 
 PLIST_FILES=	bin/ds2



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