aboutsummaryrefslogtreecommitdiffhomepage
path: root/freebsd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/Makefile')
-rw-r--r--freebsd/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/freebsd/Makefile b/freebsd/Makefile
index f4f0423..1dcd194 100644
--- a/freebsd/Makefile
+++ b/freebsd/Makefile
@@ -1,5 +1,5 @@
PORTNAME= sciteco
-DISTVERSION= 2.4.0
+DISTVERSION= 2.5.0
CATEGORIES= editors textproc devel
MASTER_SITES= https://sciteco.fmsbw.de/downloads/v${DISTVERSION}/ \
SOURCEFORGE/${PORTNAME}/v${DISTVERSION}/
@@ -33,10 +33,6 @@ CONFIGURE_OUTSOURCE= yes
MAKEFILE= GNUmakefile
TEST_TARGET= check
-# SciTECO uses an install-exec-hook to fix up hash-bang lines.
-# This is broken by the default 0555 mode.
-BINMODE= 755
-
# NOTE: Unlike on Debian, we cannot build a sciteco-common package.
# FreeBSD does not yet support subpackages.
# Therefore both flavors will install totally independant
@@ -65,19 +61,23 @@ PLIST_SUB+= GTK="" \
PROGRAM_PREFIX=g
.endif
-OPTIONS_DEFINE= LEXILLA MALLOC_REPLACEMENT TECO_INTEGER_32
+OPTIONS_DEFINE= LEXILLA MALLOC_REPLACEMENT TECO_INTEGER_32 LTO
OPTIONS_DEFAULT= LEXILLA MALLOC_REPLACEMENT
OPTIONS_SUB= yes
LEXILLA_DESC= Build with Lexilla lexer support (larger)
MALLOC_REPLACEMENT_DESC= Replace system malloc() for memory limiting
TECO_INTEGER_32_DESC= Use 32-bit TECO integers
+LTO_DESC= Apply Link-Time Optimizations (significantly faster)
LEXILLA_CONFIGURE_OFF= --without-lexilla
MALLOC_REPLACEMENT_CONFIGURE_ON= --enable-malloc-replacement
TECO_INTEGER_32_CONFIGURE_ON= --with-teco-integer=32
-WITH_LTO= yes
+# Once we support an --enable-lto site-config-option, we should rather use that.
+LTO_CFLAGS= -flto=thin
+LTO_CXXFLAGS= -flto=thin
+LTO_LDFLAGS= -flto=thin
.include <bsd.port.pre.mk>