svn commit: r428914 - head/devel/creduce
Dmitry Marakasov
amdmi3 at FreeBSD.org
Mon Dec 19 09:10:12 UTC 2016
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
More information about the svn-ports-head
mailing list