git: 670cdb9b4c10 - main - devel/loki: Remove expired port

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Tue, 31 Mar 2026 16:13:49 UTC
The branch main has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=670cdb9b4c10f65ca6674affa4e34fff94127cd1

commit 670cdb9b4c10f65ca6674affa4e34fff94127cd1
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2026-03-31 16:13:44 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2026-03-31 16:13:44 +0000

    devel/loki: Remove expired port
    
    2026-03-31 devel/loki: dead upstream, sole consumer removed from tree long ago
---
 MOVED                                             |  1 +
 devel/Makefile                                    |  1 -
 devel/loki/Makefile                               | 40 --------------
 devel/loki/distinfo                               |  2 -
 devel/loki/files/patch-Makefile.common            |  9 ----
 devel/loki/files/patch-src-Makefile               | 11 ----
 devel/loki/files/patch-test_SingletonDll_Makefile | 22 --------
 devel/loki/pkg-descr                              |  2 -
 devel/loki/pkg-plist                              | 64 -----------------------
 9 files changed, 1 insertion(+), 151 deletions(-)

diff --git a/MOVED b/MOVED
index 8dc15ad12379..17fa4328082d 100644
--- a/MOVED
+++ b/MOVED
@@ -5181,3 +5181,4 @@ www/py-django-tagging|www/py-django-taggit|2026-03-31|Has expired: Upstream inac
 www/py-django-star-ratings||2026-03-31|Has expired: Upstream repository has been archived on May 21, 2025
 lang/cython0|lang/cython|2026-03-31|Has expired
 ftp/ftpsesame||2026-03-31|Has expired: dead upstream, broken on FreeBSD 15
+devel/loki||2026-03-31|Has expired: dead upstream, sole consumer removed from tree long ago
diff --git a/devel/Makefile b/devel/Makefile
index aa57d3b30aad..ce94fe08f6f6 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1611,7 +1611,6 @@
     SUBDIR += log4shib
     SUBDIR += loguru
     SUBDIR += lokalize
-    SUBDIR += loki
     SUBDIR += love
     SUBDIR += love07
     SUBDIR += love08
diff --git a/devel/loki/Makefile b/devel/loki/Makefile
deleted file mode 100644
index 15e581aa758e..000000000000
--- a/devel/loki/Makefile
+++ /dev/null
@@ -1,40 +0,0 @@
-PORTNAME=	loki
-PORTVERSION=	0.1.7
-PORTREVISION=	1
-CATEGORIES=	devel
-MASTER_SITES=	SF/${PORTNAME}-lib/Loki/Loki%20${PORTVERSION}
-
-MAINTAINER=	snnn119@gmail.com
-COMMENT=	C++ library of common design patterns
-WWW=		https://sourceforge.net/projects/loki-lib/
-
-BROKEN=		error: a template argument list is expected after a name prefixed by the template keyword
-DEPRECATED=	dead upstream, sole consumer removed from tree long ago
-EXPIRATION_DATE=	2026-03-31
-
-USES=		gmake dos2unix
-USE_CXXSTD=	c++14
-USE_LDCONFIG=	yes
-
-CXXFLAGS+=	-Wno-return-type
-
-DOCS=		README CHANGES doc/flex/flex_string.html \
-		doc/yasli/Notes.txt \
-		doc/yasli/yasli.html
-
-OPTIONS_DEFINE=	DOCS
-
-post-patch:
-	@${REINPLACE_CMD} 's/bad_function_call/Loki::bad_function_call/g' \
-		${WRKSRC}/test/Function/FunctionTest.cpp
-	@${REINPLACE_CMD} -e '/CXXWARNFLAGS/s/$$/ ${CXXFLAGS}/g' \
-		-e 's/\$${PREFIX}/$${DESTDIR}$${PREFIX}/g' \
-		${WRKSRC}/Makefile.common
-
-post-install-DOCS-on:
-	${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for i in ${DOCS}
-	${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
-.endfor
-
-.include <bsd.port.mk>
diff --git a/devel/loki/distinfo b/devel/loki/distinfo
deleted file mode 100644
index a9fa3d935e8f..000000000000
--- a/devel/loki/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (loki-0.1.7.tar.gz) = 0f185478552009cd3f82a4ef3038fd6080d293308c15a6501284ba6092b21cf6
-SIZE (loki-0.1.7.tar.gz) = 520453
diff --git a/devel/loki/files/patch-Makefile.common b/devel/loki/files/patch-Makefile.common
deleted file mode 100644
index a2a6fd4a6dd0..000000000000
--- a/devel/loki/files/patch-Makefile.common
+++ /dev/null
@@ -1,9 +0,0 @@
---- Makefile.common.orig
-+++ Makefile.common
-@@ -4,4 +4,4 @@
- CXXWARNFLAGS := -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic
- CXXFLAGS := $(CXXWARNFLAGS) -g -O2
-
--prefix := /usr
-+prefix := ${PREFIX}
-
diff --git a/devel/loki/files/patch-src-Makefile b/devel/loki/files/patch-src-Makefile
deleted file mode 100644
index 8abb91995b31..000000000000
--- a/devel/loki/files/patch-src-Makefile
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/Makefile.orig
-+++ src/Makefile
-@@ -20,7 +20,7 @@
-   override LDFLAGS += --shared -Wl,-soname=$(SHARED_LIB_VERSIONED) -fPIC
-   LDLIBS := -lpthread
- else
--ifeq ($(OS), GNU/kFreeBSD)
-+ifeq ($(OS), $(filter $(OS),GNU/kFreeBSD FreeBSD))
-   SHARED_LIB_BASE := libloki.so
-   SHARED_LIB_VERSIONED := libloki.so.$(VERSION)
-   override LDFLAGS += --shared -Wl,-soname=$(SHARED_LIB_VERSIONED) -fPIC
diff --git a/devel/loki/files/patch-test_SingletonDll_Makefile b/devel/loki/files/patch-test_SingletonDll_Makefile
deleted file mode 100644
index 469c23e6499a..000000000000
--- a/devel/loki/files/patch-test_SingletonDll_Makefile
+++ /dev/null
@@ -1,22 +0,0 @@
---- test/SingletonDll/Makefile.orig
-+++ test/SingletonDll/Makefile
-@@ -5,6 +5,11 @@
-   LIB2 := libsingletondll.dylib
-   SHARED_LIB_FLAG := -dynamiclib -fPIC
- else
-+ifeq ($(OS),FreeBSD)
-+  LIB1 := libfoo.so
-+  LIB2 := libsingletondll.so
-+  SHARED_LIB_FLAG := --shared -fPIC
-+else
- ifeq ($(OS),Linux)
-   LIB1 := libfoo.so
-   LIB2 := libsingletondll.so
-@@ -15,6 +20,7 @@
-   SHARED_LIB_FLAG := --shared
- endif
- endif
-+endif
- 
- BIN1 := client$(BIN_SUFFIX)
- SRC1 := client.cpp
diff --git a/devel/loki/pkg-descr b/devel/loki/pkg-descr
deleted file mode 100644
index f658eb540122..000000000000
--- a/devel/loki/pkg-descr
+++ /dev/null
@@ -1,2 +0,0 @@
-A C++ library of designs, containing flexible implementations of
-common design patterns and idioms.
diff --git a/devel/loki/pkg-plist b/devel/loki/pkg-plist
deleted file mode 100644
index c9c636ad432e..000000000000
--- a/devel/loki/pkg-plist
+++ /dev/null
@@ -1,64 +0,0 @@
-include/loki/AbstractFactory.h
-include/loki/Allocator.h
-include/loki/AssocVector.h
-include/loki/CachedFactory.h
-include/loki/CheckReturn.h
-include/loki/Checker.h
-include/loki/ConstPolicy.h
-include/loki/DataGenerators.h
-include/loki/EmptyType.h
-include/loki/Factory.h
-include/loki/Function.h
-include/loki/Functor.h
-include/loki/HierarchyGenerators.h
-include/loki/Key.h
-include/loki/LevelMutex.h
-include/loki/LockingPtr.h
-include/loki/LokiExport.h
-include/loki/LokiTypeInfo.h
-include/loki/MultiMethods.h
-include/loki/NullType.h
-include/loki/OrderedStatic.h
-include/loki/Pimpl.h
-include/loki/RefToValue.h
-include/loki/Register.h
-include/loki/SPCachedFactory.h
-include/loki/SafeBits.h
-include/loki/SafeFormat.h
-include/loki/ScopeGuard.h
-include/loki/Sequence.h
-include/loki/Singleton.h
-include/loki/SmallObj.h
-include/loki/SmartPtr.h
-include/loki/StrongPtr.h
-include/loki/Threads.h
-include/loki/Tuple.h
-include/loki/TypeManip.h
-include/loki/TypeTraits.h
-include/loki/Typelist.h
-include/loki/TypelistMacros.h
-include/loki/Visitor.h
-include/loki/flex/allocatorstringstorage.h
-include/loki/flex/cowstringopt.h
-include/loki/flex/flex_string.h
-include/loki/flex/flex_string_details.h
-include/loki/flex/flex_string_shell.h
-include/loki/flex/simplestringstorage.h
-include/loki/flex/smallstringopt.h
-include/loki/flex/vectorstringstorage.h
-include/loki/static_check.h
-include/loki/yasli/platform.h
-include/loki/yasli/random.h
-include/loki/yasli/yasli_fill_iterator.h
-include/loki/yasli/yasli_memory.h
-include/loki/yasli/yasli_protocols.h
-include/loki/yasli/yasli_traits.h
-include/loki/yasli/yasli_vector.h
-lib/libloki.a
-lib/libloki.so
-lib/libloki.so.0.1.7
-%%PORTDOCS%%%%DOCSDIR%%/CHANGES
-%%PORTDOCS%%%%DOCSDIR%%/Notes.txt
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/flex_string.html
-%%PORTDOCS%%%%DOCSDIR%%/yasli.html