aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm/walcommander/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-fm/walcommander/Makefile')
-rw-r--r--x11-fm/walcommander/Makefile18
1 files changed, 14 insertions, 4 deletions
diff --git a/x11-fm/walcommander/Makefile b/x11-fm/walcommander/Makefile
index 984024d46fec..ba5b32e8d366 100644
--- a/x11-fm/walcommander/Makefile
+++ b/x11-fm/walcommander/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= walcommander
-PORTVERSION= 0.18.0
+PORTVERSION= 0.18.1
CATEGORIES= x11-fm
MAINTAINER= amdmi3@FreeBSD.org
@@ -15,9 +15,9 @@ USE_GITHUB= yes
GH_ACCOUNT= corporateshark
GH_PROJECT= WalCommander
GH_TAGNAME= release-${PORTVERSION}
-GH_COMMIT= 362ad22
+GH_COMMIT= 3103626
-USES= compiler:c++11-lib cmake
+USES= compiler:c++11-lib cmake:outsource
USE_XORG= x11
PORTDOCS= CHANGELOG CHANGELOG.GitHub README.md readme_eng.txt
@@ -39,10 +39,20 @@ SSH_LIB_DEPENDS= libssh2.so:${PORTSDIR}/security/libssh2
SSH_CMAKE_ON= -DWITH_LIBSSH2=ON
SSH_CMAKE_OFF= -DWITH_LIBSSH2=OFF
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 900000
+BROKEN= does not build on 8.x (lack of long long support)
+.endif
+
+.if ${COMPILER_TYPE} == gcc
+CXXFLAGS+= -D_GLIBCXX_USE_C99 # gcc c++11 support is broken on FreeBSD
+.endif
+
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
.endfor
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>