diff options
author | Guido Falsi <madpilot@FreeBSD.org> | 2013-09-12 11:34:39 +0000 |
---|---|---|
committer | Guido Falsi <madpilot@FreeBSD.org> | 2013-09-12 11:34:39 +0000 |
commit | 644b855b6e840b913b6f7403737e5528527f7dcf (patch) | |
tree | 4e8cbfc1bed925addde70b69dd1d8c8441cacc72 /x11-toolkits/scintilla/Makefile | |
parent | 9518965c2157ea68db1e58608deac0c3d7463bbb (diff) | |
download | ports-644b855b6e840b913b6f7403737e5528527f7dcf.tar.gz ports-644b855b6e840b913b6f7403737e5528527f7dcf.zip |
- Update scintilla and scite to 3.3.5
- The update fixes build on recent head
PR: ports/182014
Submitted by: me
Approved by: Naram Qashat <cyberbotx@cyberbotx.com> (maintainer)
Notes
Notes:
svn path=/head/; revision=327053
Diffstat (limited to 'x11-toolkits/scintilla/Makefile')
-rw-r--r-- | x11-toolkits/scintilla/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/x11-toolkits/scintilla/Makefile b/x11-toolkits/scintilla/Makefile index 6f2b4a5f4e5d..1889bbb6c308 100644 --- a/x11-toolkits/scintilla/Makefile +++ b/x11-toolkits/scintilla/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= scintilla -PORTVERSION= 3.3.3 +PORTVERSION= 3.3.5 CATEGORIES= x11-toolkits MASTER_SITES= SF/scintilla/SciTE/${PORTVERSION} DISTNAME= scite${PORTVERSION:S/.//g} @@ -28,8 +28,17 @@ PICFLAG?= -fPIC PICFLAG?= -fpic .endif +CCISCLANG!= ${CC} --version + +.if empty(CCISCLANG:M*clang*) +CPPSTDRE= -e 's|--std=c++0x||' +.else +CPPSTDRE= +.endif + post-patch: @${REINPLACE_CMD} -e 's|[(]CC[)]|(CXX)|g ; s|[(]CCOMP[)]|(CC)|g' \ + ${CPPSTDRE} \ ${WRKSRC}/makefile do-install: |