aboutsummaryrefslogtreecommitdiff
path: root/databases/tarantool
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2015-11-01 21:25:50 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2015-11-01 21:25:50 +0000
commit94d4d7fdbe9f50ea3ac15eca64bd2dac72a2eae6 (patch)
tree1836beb6c4f3fd0053b59ff86c8a3e7ad61f405e /databases/tarantool
parentf9eb7af7c7fa841ff904d3a3fbfc2ae6dca9a208 (diff)
downloadports-94d4d7fdbe9f50ea3ac15eca64bd2dac72a2eae6.tar.gz
ports-94d4d7fdbe9f50ea3ac15eca64bd2dac72a2eae6.zip
Notes
Diffstat (limited to 'databases/tarantool')
-rw-r--r--databases/tarantool/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/databases/tarantool/Makefile b/databases/tarantool/Makefile
index 3d3d87b56b9a..cfa817688e74 100644
--- a/databases/tarantool/Makefile
+++ b/databases/tarantool/Makefile
@@ -47,14 +47,15 @@ PLIST_SUB+= TT_USER=${USERS} \
OPTIONS_DEFINE= DEBUG
DEBUG_DESC= Enable debug
-.if defined(USE_GCC) && ${USE_GCC:S/+//} == 4.8
-EXTRA_PATCHES= ${FILESDIR}/extra-patch-src_trivia_config.h.cmake
-.endif
-
NOT_FOR_ARCHS= sparc64
NOT_FOR_ARCHS_REASON= not yet ported to this architecture
-.include <bsd.port.options.mk>
+.include <bsd.port.pre.mk>
+
+# XXX we rely on USES=perl5 to load bsd.default-versions.mk
+.if defined(USE_GCC) && ${USE_GCC} == yes && ${GCC_DEFAULT} == 4.8
+EXTRA_PATCHES= ${FILESDIR}/extra-patch-src_trivia_config.h.cmake
+.endif
.if ${PORT_OPTIONS:MDEBUG}
CMAKE_BUILD_TYPE= RelWithDebugInfo
@@ -70,4 +71,4 @@ post-install:
${STAGEDIR}${TT_RUNDIR} \
${STAGEDIR}${ETCDIR}/instances.enabled
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>