Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Apr 2018 10:20:38 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r467380 - head/editors/kakoune
Message-ID:  <201804151020.w3FAKceT088320@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Sun Apr 15 10:20:38 2018
New Revision: 467380
URL: https://svnweb.freebsd.org/changeset/ports/467380

Log:
  editors/kakoune: Build without debugging support by default

Modified:
  head/editors/kakoune/Makefile

Modified: head/editors/kakoune/Makefile
==============================================================================
--- head/editors/kakoune/Makefile	Sun Apr 15 09:33:40 2018	(r467379)
+++ head/editors/kakoune/Makefile	Sun Apr 15 10:20:38 2018	(r467380)
@@ -2,6 +2,7 @@
 
 PORTNAME=	kakoune
 DISTVERSION=	2018.04.13
+PORTREVISION=	1
 CATEGORIES=	editors
 MASTER_SITES=	https://github.com/mawww/kakoune/releases/download/v${DISTVERSION}/
 
@@ -19,10 +20,14 @@ DATADIR=	${PREFIX}/share/kak
 DOCSDIR=	${PREFIX}/share/doc/kak
 WRKSRC_SUBDIR=	src
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DEBUG DOCS
 
+DEBUG_MAKE_ARGS=	debug=yes
+DEBUG_MAKE_ARGS_OFF=	debug=no
+
 post-patch:
-	@${REINPLACE_CMD} 's,/share/man/,/man/,' ${WRKSRC}/Makefile
+	@${REINPLACE_CMD} -e 's,/share/man/,/man/,' -e '/-O3/d' \
+		${WRKSRC}/Makefile
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/kak



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804151020.w3FAKceT088320>