aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-09-14 19:16:55 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-09-14 19:16:55 +0800
commit7ee9c4d18c5dd8cddc8e55b8cf1a8fb516614a83 (patch)
tree7f45812e8d016b221ce4f01317df38095446baf7 /comms
parentc41e7f70bc47e80fcf79afb60212a67a9ead7726 (diff)
downloadfreebsd-ports-gnome-7ee9c4d18c5dd8cddc8e55b8cf1a8fb516614a83.tar.gz
freebsd-ports-gnome-7ee9c4d18c5dd8cddc8e55b8cf1a8fb516614a83.tar.zst
freebsd-ports-gnome-7ee9c4d18c5dd8cddc8e55b8cf1a8fb516614a83.zip
- Fix build on 10.x: you can't use gcc when boost is built with clang; and it builds with clang just fine
Approved by: portmgr blanket
Diffstat (limited to 'comms')
-rw-r--r--comms/gnuradio/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/comms/gnuradio/Makefile b/comms/gnuradio/Makefile
index 078c6592b3ef..f26f6bbc024c 100644
--- a/comms/gnuradio/Makefile
+++ b/comms/gnuradio/Makefile
@@ -36,7 +36,6 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= cmake:outsource iconv perl5 python:2.7 shebangfix
SHEBANG_FILES= grc/freedesktop/grc_setup_freedesktop.in
-CONFIGURE_ENV+= LD_PRELOAD="${GCC_LIBS}/libstdc++.so:${GCC_LIBS}/libgcc_s.so.1"
CMAKE_ARGS+= -DSWIG_EXECUTABLE:STRING="${LOCALBASE}/bin/swig2.0"
CMAKE_ARGS+= -DICONV_PREFIX:STRING="${ICONV_PREFIX}" \
-DICONV_LIB:STRING="X${ICONV_LIB}" \
@@ -46,7 +45,6 @@ CMAKE_ARGS+= -DICONV_PREFIX:STRING="${ICONV_PREFIX}" \
MAJOR_SUB_VER= 3.7.7
DOCSDIR= share/doc/${PORTNAME}-${MAJOR_SUB_VER}
USE_GNOME= pygtk2
-USE_GCC= yes
USE_WX= 3.0+
USE_QT4= gui xml qmake moc rcc uic
WX_COMPS= wx wx:build wx:run python:build python:run
@@ -64,8 +62,6 @@ USRP_DESC= Include USRP support (UHD) from Ettus
TESTING_DESC= Include testing support
PLIST_SUB+= PORTVERSION=${PORTVERSION}
-VP= ${GCC_DEFAULT:S/.//}
-GCC_LIBS= ${LOCALBASE}/lib/gcc${VP}
DOCS_BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen \
${LOCALBASE}/bin/sphinx-apidoc:${PORTSDIR}/textproc/py-sphinx \
@@ -88,6 +84,12 @@ TESTING_CMAKE_ON= -DENABLE_TESTING:STRING="ON"
TESTING_CMAKE_OFF= -DENABLE_TESTING:STRING="OFF"
TESTING_BUILD_DEPENDS= cppunit-config:${PORTSDIR}/devel/cppunit
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000
+USE_GCC= yes
+.endif
+
post-patch:
@${FIND} ${WRKSRC}/.. -name CMakeLists.txt | \
${XARGS} ${REINPLACE_CMD} -e \