freebsd-ports/devel/ds2/Makefile
Raphael Kubo da Costa cf8806d486 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".
2016-03-13 18:19:22 +00:00

33 lines
615 B
Makefile

# $FreeBSD$
PORTNAME= ds2
PORTVERSION= 20151028
CATEGORIES= devel
MAINTAINER= wg@FreeBSD.org
COMMENT= Debug server for lldb
LICENSE= NCSA
LICENSE_FILE= ${WRKSRC}/LICENSE
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
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ds2 ${STAGEDIR}${PREFIX}/bin/
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 1002000 || ${COMPILER_TYPE} == "gcc"
IGNORE= builds only on greater than 10.1 and with clang
.endif
.include <bsd.port.post.mk>