Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Dec 2016 09:10:10 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r428914 - head/devel/creduce
Message-ID:  <201612190910.uBJ9AAvx070376@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Dec 19 09:10:10 2016
New Revision: 428914
URL: https://svnweb.freebsd.org/changeset/ports/428914

Log:
  - Mark broken on 9.x
  - Always check OPSYS along with OSVERSION
  
  Approved by:	portmgr blanket

Modified:
  head/devel/creduce/Makefile

Modified: head/devel/creduce/Makefile
==============================================================================
--- head/devel/creduce/Makefile	Mon Dec 19 09:07:45 2016	(r428913)
+++ head/devel/creduce/Makefile	Mon Dec 19 09:10:10 2016	(r428914)
@@ -19,6 +19,8 @@ RUN_DEPENDS=	llvm-config38:devel/llvm38 
 		devel/p5-Sys-Cpu>=0:devel/p5-Sys-Cpu \
 		p5-Getopt-Tabular>=0:devel/p5-Getopt-Tabular
 
+BROKEN_FreeBSD_9=	does not build (configure: error: cannot compile and link test program with selected LLVM)
+
 GNU_CONFIGURE=	yes
 CONFIGURE_FLAGS=	--with-llvm=${LOCALBASE}
 CONFIGURE_ENV=	LLVM_CONFIG=${LOCALBASE}/bin/llvm-config38 \
@@ -26,11 +28,11 @@ CONFIGURE_ENV=	LLVM_CONFIG=${LOCALBASE}/
 		CXX=${LOCALBASE}/bin/clang++38 \
 		CPP=${LOCALBASE}/bin/clang-cpp38
 
-USES=	autoreconf gmake libtool perl5
+USES=		autoreconf gmake libtool perl5
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} < 1000000
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000
 CONFIGURE_ENV+=	CPPFLAGS="-stdlib=libstdc++ -I${LOCALBASE}/lib/gcc48/include/c++/ -I${LOCALBASE}/lib/gcc48/include/ -I${LOCALBASE}/lib/gcc48/include/c++/${ARCH:C/amd64/x86_64/}-portbld-${OPSYS:tl}${OSREL}/ -L${LOCALBASE}/lib -L${LOCALBASE}/lib/gcc48" \
 		LDFLAGS="-L/usr/local/lib/gcc48 -lstdc++"
 .endif



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