aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Mk/Uses/compiler.mk24
-rw-r--r--Mk/Uses/objc.mk8
-rw-r--r--Mk/bsd.gnustep.mk8
-rw-r--r--lang/libobjc2/Makefile6
-rw-r--r--net/belle-sip/Makefile7
5 files changed, 29 insertions, 24 deletions
diff --git a/Mk/Uses/compiler.mk b/Mk/Uses/compiler.mk
index 819e86ec3a4a..a5bb4cb8d480 100644
--- a/Mk/Uses/compiler.mk
+++ b/Mk/Uses/compiler.mk
@@ -150,10 +150,10 @@ CC= clang
CXX= clang++
CHOSEN_COMPILER_TYPE= clang
.else
-BUILD_DEPENDS+= ${LOCALBASE}/bin/clang33:${PORTSDIR}/lang/clang33
-CPP= ${LOCALBASE}/bin/clang-cpp33
-CC= ${LOCALBASE}/bin/clang33
-CXX= ${LOCALBASE}/bin/clang++33
+BUILD_DEPENDS+= ${LOCALBASE}/bin/clang34:${PORTSDIR}/lang/clang34
+CPP= ${LOCALBASE}/bin/clang-cpp34
+CC= ${LOCALBASE}/bin/clang34
+CXX= ${LOCALBASE}/bin/clang++34
CHOSEN_COMPILER_TYPE= clang
.if ${OSVERSION} < 900033
USE_BINUTILS= yes
@@ -176,11 +176,11 @@ CC= clang
CXX= clang++
CHOSEN_COMPILER_TYPE= clang
.else
-BUILD_DEPENDS+= ${LOCALBASE}/bin/clang33:${PORTSDIR}/lang/clang33
+BUILD_DEPENDS+= ${LOCALBASE}/bin/clang34:${PORTSDIR}/lang/clang34
CHOSEN_COMPILER_TYPE= clang
-CPP= ${LOCALBASE}/bin/clang-cpp33
-CC= ${LOCALBASE}/bin/clang33
-CXX= ${LOCALBASE}/bin/clang++33
+CPP= ${LOCALBASE}/bin/clang-cpp34
+CC= ${LOCALBASE}/bin/clang34
+CXX= ${LOCALBASE}/bin/clang++34
.if ${OSVERSION} < 900033
USE_BINUTILS= yes
LDFLAGS+= -B${LOCALBASE}/bin
@@ -202,11 +202,11 @@ CC= clang
CXX= clang++
CHOSEN_COMPILER_TYPE= clang
.else
-BUILD_DEPENDS+= ${LOCALBASE}/bin/clang33:${PORTSDIR}/lang/clang33
+BUILD_DEPENDS+= ${LOCALBASE}/bin/clang34:${PORTSDIR}/lang/clang34
CHOSEN_COMPILER_TYPE= clang
-CPP= ${LOCALBASE}/bin/clang-cpp33
-CC= ${LOCALBASE}/bin/clang33
-CXX= ${LOCALBASE}/bin/clang++33
+CPP= ${LOCALBASE}/bin/clang-cpp34
+CC= ${LOCALBASE}/bin/clang34
+CXX= ${LOCALBASE}/bin/clang++34
.if ${OSVERSION} < 900033
USE_BINUTILS= yes
LDFLAGS+= -B${LOCALBASE}/bin
diff --git a/Mk/Uses/objc.mk b/Mk/Uses/objc.mk
index c49977317019..e22f00785f27 100644
--- a/Mk/Uses/objc.mk
+++ b/Mk/Uses/objc.mk
@@ -45,10 +45,10 @@ CC= /usr/bin/clang
CPP= /usr/bin/clang-cpp
CXX= /usr/bin/clang++
.else
-BUILD_DEPENDS+= ${LOCALBASE}/bin/clang33:${PORTSDIR}/lang/clang33
-CPP= ${LOCALBASE}/bin/clang-cpp33
-CC= ${LOCALBASE}/bin/clang33
-CXX= ${LOCALBASE}/bin/clang++33
+BUILD_DEPENDS+= ${LOCALBASE}/bin/clang34:${PORTSDIR}/lang/clang34
+CPP= ${LOCALBASE}/bin/clang-cpp34
+CC= ${LOCALBASE}/bin/clang34
+CXX= ${LOCALBASE}/bin/clang++34
.if ${OSVERSION} < 900033
USE_BINUTILS= yes
LDFLAGS+= -B${LOCALBASE}/bin
diff --git a/Mk/bsd.gnustep.mk b/Mk/bsd.gnustep.mk
index 2cd64b4c6bb4..ca6965798c87 100644
--- a/Mk/bsd.gnustep.mk
+++ b/Mk/bsd.gnustep.mk
@@ -173,10 +173,10 @@ _CLANG= 0
.endif
.if ${_CLANG} < 33
-BUILD_DEPENDS+= ${LOCALBASE}/bin/clang33:${PORTSDIR}/lang/clang33
-CPP= ${LOCALBASE}/bin/clang-cpp33
-CC= ${LOCALBASE}/bin/clang33
-CXX= ${LOCALBASE}/bin/clang++33
+BUILD_DEPENDS+= ${LOCALBASE}/bin/clang34:${PORTSDIR}/lang/clang34
+CPP= ${LOCALBASE}/bin/clang-cpp34
+CC= ${LOCALBASE}/bin/clang34
+CXX= ${LOCALBASE}/bin/clang++34
.else
CPP= /usr/bin/clang-cpp
CC= /usr/bin/clang
diff --git a/lang/libobjc2/Makefile b/lang/libobjc2/Makefile
index 9452ff5c246b..92a230e5969a 100644
--- a/lang/libobjc2/Makefile
+++ b/lang/libobjc2/Makefile
@@ -21,9 +21,9 @@ _CLANG!= if [ -f /usr/bin/clang ] ; then /usr/bin/clang --version | head -1 | \
${SED} -e 's/.*clang version \([0-9]\)\.\([0-9]\).*/\1\2/' ; else ${ECHO} 0 ; fi
.if ${_CLANG} < 33
-BUILD_DEPENDS+= ${LOCALBASE}/bin/clang33:${PORTSDIR}/lang/clang33
-CC= ${LOCALBASE}/bin/clang33
-CXX= ${LOCALBASE}/bin/clang++33
+BUILD_DEPENDS+= ${LOCALBASE}/bin/clang34:${PORTSDIR}/lang/clang34
+CC= ${LOCALBASE}/bin/clang34
+CXX= ${LOCALBASE}/bin/clang++34
.else
CC= /usr/bin/clang
CXX= /usr/bin/clang++
diff --git a/net/belle-sip/Makefile b/net/belle-sip/Makefile
index f491d28a0f5c..de68600a93b1 100644
--- a/net/belle-sip/Makefile
+++ b/net/belle-sip/Makefile
@@ -38,10 +38,15 @@ POLARSSL_LIB_DEPENDS= libpolarssl.so:${PORTSDIR}/security/polarssl
post-extract:
@${CP} ${DISTDIR}/antlr-3.4-complete.jar ${WRKDIR}/antlr-complete.jar
+.include <bsd.port.pre.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's|%%WRKDIR%%|${WRKDIR}|' -e 's|-lrt||' \
${WRKSRC}/configure
+.if ${CHOSEN_COMPILER_TYPE} == clang && (${OSVERSION} < 902512 || (${OSVERSION} >= 1000000 && ${OSVERSION} < 1000707))
+ @${REINPLACE_CMD} 's, -fms-extensions,,' ${WRKSRC}/configure
+.endif
@${REINPLACE_CMD} -e 's|-timezone||' \
${WRKSRC}/src/belle_sip_headers_impl.c
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>