git: 5bb8cbf07656 - main - devel/upp: Remove port

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sun, 08 Mar 2026 23:34:50 UTC
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5bb8cbf07656c9e3f73a23063c9873356d333da9

commit 5bb8cbf07656c9e3f73a23063c9873356d333da9
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2026-03-08 22:40:40 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2026-03-08 23:16:59 +0000

    devel/upp: Remove port
    
    Broken for months and no patches submitted  for the last two years
    updating it to a recent version
---
 MOVED                                        |   1 +
 devel/Makefile                               |   1 -
 devel/upp/Makefile                           | 115 ---------------------------
 devel/upp/distinfo                           |   3 -
 devel/upp/files/patch-uppsrc_Core_Cpu.cpp    |  11 ---
 devel/upp/files/patch-uppsrc_Core_config.h   |  19 -----
 devel/upp/files/patch-uppsrc_Draw_FontFc.cpp |  28 -------
 devel/upp/pkg-descr                          |   3 -
 8 files changed, 1 insertion(+), 180 deletions(-)

diff --git a/MOVED b/MOVED
index 79fa178094c3..744485acbf45 100644
--- a/MOVED
+++ b/MOVED
@@ -5159,3 +5159,4 @@ net/unison240||2026-02-28|Has expired: Legacy release unsupported by upstream
 security/owasp-dependency-check||2026-02-28|Has expired: This port is 9 major versions and almost 8 years behind on upstream. No maintainer. No users in the ports tree. Does not compile with jdk11+
 lang/go-devel|lang/go|2026-03-01|Has expired: Old version of Go. Use the go package (lang/go) instead
 devel/tbb|devel/onetbb|2026-03-01|Has expired: Project moved to devel/onetbb
+devel/upp||2026-03-08|Fails to build with freetype 2.14+
diff --git a/devel/Makefile b/devel/Makefile
index bf4f1c2b21b7..681866ad95d8 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -8549,7 +8549,6 @@
     SUBDIR += universal-ctags
     SUBDIR += unordered-dense
     SUBDIR += upnp
-    SUBDIR += upp
     SUBDIR += urjtag
     SUBDIR += ut
     SUBDIR += utf8cpp
diff --git a/devel/upp/Makefile b/devel/upp/Makefile
deleted file mode 100644
index 5f48209bcb78..000000000000
--- a/devel/upp/Makefile
+++ /dev/null
@@ -1,115 +0,0 @@
-PORTNAME=	upp
-DISTVERSION=	15260
-PORTREVISION=	3
-CATEGORIES=	devel x11-toolkits
-MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/2020.2/
-DISTNAME=	${PORTNAME}-posix-${PORTVERSION}
-
-MAINTAINER=	m.sund@arcor.de
-COMMENT=	Ultimate++, a BSD-licensed, cross-platform, C/C++ RAD suite
-WWW=		http://upp.sourceforge.net/
-
-LICENSE=	BSD2CLAUSE
-LICENSE_FILE=	${WRKSRC}/uppsrc/Core/Copying
-
-BROKEN=		Fails to build with freetype 2.14+
-#BROKEN_powerpc=		Does not compile on ${ARCH}: error Unknown CPU architecture
-#BROKEN_powerpc64=	Does not compile on ${ARCH}: error Unknown CPU architecture
-EXPIRATION_DATE=2026-01-31
-
-USES=		compiler:c++14-lang dos2unix pkgconfig:both tar:xz
-DOS2UNIX_FILES=	uppsrc/Core/config.h
-
-WRKSRC=		${WRKDIR}/${PORTNAME}
-
-MACRO_FLAGS=	-DflagBSD -Dflag${OPSYS:tu}
-
-PORTDATA=	bazaar examples reference tutorial uppsrc
-
-OPTIONS_DEFINE=	MYSQL OPENGL PGSQL SDL UDC USEMALLOC
-OPTIONS_DEFAULT=	IDE UDC UMK
-OPTIONS_MULTI=	BUILD
-OPTIONS_MULTI_BUILD=	IDE UMK
-BUILD_DESC=	Build/install
-IDE_DESC=	Build/install TheIDE (integrated development environment)
-IDE_DESKTOP_ENTRIES=	"TheIDE" "IDE for cross-platform C++ development" \
-		"${DATADIR}/uppsrc/ide/theide-48.png" "theide" \
-		"Development;IDE;GTK;" false
-IDE_LIB_DEPENDS=	libfreetype.so:print/freetype2 \
-		libfontconfig.so:x11-fonts/fontconfig \
-		libnotify.so:devel/libnotify \
-		libpng.so:graphics/png
-IDE_PLIST_FILES=	bin/theide ${PREFIX}/share/man/man1/theide.1.gz
-IDE_USES=	gnome xorg
-IDE_USE=	XORG=x11 GNOME=cairo,gdkpixbuf,gtk30
-UDC_DESC=	Install spelling dictionaries (*.udc files)
-UDC_VARS=	PORTDATA+=*.udc
-UMK_DESC=	Build/install UMK (U++ MaKe command line utility)
-UMK_PLIST_FILES=	bin/umk ${PREFIX}/share/man/man1/umk.1.gz
-USEMALLOC_DESC=	Compile without U++ heap allocator
-USEMALLOC_VARS=	MACRO_FLAGS+=-DflagUSEMALLOC
-# SDL/OPENGL/MYSQL/PGSQL dependencies are only for run-time for use by executables built by the IDE
-SDL_USES=	sdl
-SDL_USE=	SDL=sdl
-OPENGL_USES=	gl
-OPENGL_USE=	GL=gl,glu
-MYSQL_USES=	mysql
-PGSQL_USES=	pgsql
-LLD_UNSAFE=	yes
-
-.include <bsd.port.pre.mk>
-
-.if ${CHOSEN_COMPILER_TYPE} == clang
-# Disable some warnings for Clang
-CXXFLAGS+=	-Wno-logical-op-parentheses
-.endif
-
-CXXFLAGS_i386+=	-msse2
-
-post-patch: .SILENT
-	${REINPLACE_CMD} -e '/^CXX[[:blank:]]*=/d ; \
-		/^LDFLAGS[[:blank:]]*=/d ; /^LIBPATH[[:blank:]]*=/d ; \
-		/^Macro[[:blank:]]*=/s|-DflagLINUX|${MACRO_FLAGS}| ; \
-		/^CFLAGS[[:blank:]]*=/s|= -O3|+=| ; \
-		/^CXXFLAGS[[:blank:]]*=/s|= -O3|+=| ; \
-		/^OutDir_/s|-Linux|| ; \
-		s|-ldl|-lexecinfo|' \
-		${WRKSRC}/Makefile \
-		${WRKSRC}/umkMakefile
-	${REINPLACE_CMD} -i '' -E '/^OutDir_/s|-Gui|| ; \
-		s/[[:blank:]]?`pkg-config --(cflags|libs) (freetype2|xcb|expat|xinerama|xrender|xft|xdmcp|xext)`//g' \
-		${WRKSRC}/Makefile
-# Add ${DATADIR} as an additional path to search for *.upp files
-# on first TheIDE launch before automatic configuration of assemblies
-	${REINPLACE_CMD} -e '/Scan(GetHomeDirFile("\*"/s|$$|\${.newline}		Scan("${DATADIR}/uppsrc");\${.newline}		Scan("${DATADIR}/*");|' \
-		${WRKSRC}/uppsrc/ide/Install.cpp
-
-do-build:
-
-do-build-IDE-on:
-	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \
-		${MAKE_FLAGS} Makefile ${_MAKE_JOBS} OutFile="theide")
-
-do-build-UMK-on:
-	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \
-		${MAKE_FLAGS} umkMakefile ${_MAKE_JOBS} OutFile="umk")
-
-do-install:
-	(cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDATA}" ${STAGEDIR}${DATADIR} \
-		"-not ( -type d -empty ) -o -name '*.orig'")
-	(cd ${STAGEDIR}${DATADIR} && ${RMDIR} uppsrc/ide/SrcUpdater uppsrc/Web \
-		bazaar/plugin/sundials/src/nvector/mpiplusx \
-		bazaar/plugin/sundials/src/nvector/openmp \
-		bazaar/plugin/sundials/src/nvector/parallel \
-		bazaar/plugin/sundials/src/nvector/pthreads \
-		bazaar/plugin/sundials/src/sunlinsol/klu)
-
-do-install-IDE-on:
-	${INSTALL_PROGRAM} ${WRKSRC}/theide ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/uppsrc/ide/theide.1 ${STAGEDIR}${PREFIX}/share/man/man1
-
-do-install-UMK-on:
-	${INSTALL_PROGRAM} ${WRKSRC}/umk ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/uppsrc/umk/umk.1 ${STAGEDIR}${PREFIX}/share/man/man1
-
-.include <bsd.port.post.mk>
diff --git a/devel/upp/distinfo b/devel/upp/distinfo
deleted file mode 100644
index 61e0858308cf..000000000000
--- a/devel/upp/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1602841898
-SHA256 (upp-posix-15260.tar.xz) = 3d5c4db9b6f06c7eba738baad1bd2bf516c5e08791bd49e48c5c05e052aa95bb
-SIZE (upp-posix-15260.tar.xz) = 81138948
diff --git a/devel/upp/files/patch-uppsrc_Core_Cpu.cpp b/devel/upp/files/patch-uppsrc_Core_Cpu.cpp
deleted file mode 100644
index 8ae7f2ab576a..000000000000
--- a/devel/upp/files/patch-uppsrc_Core_Cpu.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- uppsrc/Core/Cpu.cpp.orig	2021-09-25 19:55:51 UTC
-+++ uppsrc/Core/Cpu.cpp
-@@ -10,6 +10,8 @@
- 
- #ifdef PLATFORM_FREEBSD
- #include <sys/vmmeter.h>
-+#include <sys/types.h>
-+#include <sys/sysctl.h>
- #endif
- #ifdef PLATFORM_MACOS
- #include <mach/mach.h>
diff --git a/devel/upp/files/patch-uppsrc_Core_config.h b/devel/upp/files/patch-uppsrc_Core_config.h
deleted file mode 100644
index 475ac86a8fff..000000000000
--- a/devel/upp/files/patch-uppsrc_Core_config.h
+++ /dev/null
@@ -1,19 +0,0 @@
---- uppsrc/Core/config.h.orig	2023-08-19 14:40:16 UTC
-+++ uppsrc/Core/config.h
-@@ -139,6 +139,16 @@
- 		#define _HAVE_NO_STDWSTRING 1
- 		//BF toolchain has no support for __thread (TLS), so U++ Heap not possible
- 		#define flagUSEMALLOC
-+	#elif __powerpc64__
-+		#define CPU_64 1
-+		#define CPU_UNALIGNED 1
-+		#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
-+			#define CPU_LE 1
-+			#define CPU_LITTLE_ENDIAN 1
-+		#else
-+			#define CPU_BE 1
-+			#define CPU_BIG_ENDIAN 1
-+		#endif
- 	#else
- 		#error Unknown CPU architecture
- 	#endif
diff --git a/devel/upp/files/patch-uppsrc_Draw_FontFc.cpp b/devel/upp/files/patch-uppsrc_Draw_FontFc.cpp
deleted file mode 100644
index a0d96a2e1110..000000000000
--- a/devel/upp/files/patch-uppsrc_Draw_FontFc.cpp
+++ /dev/null
@@ -1,28 +0,0 @@
-# Draw: Workaround for backwards incompatibility of FT_Outline
-# https://github.com/ultimatepp/ultimatepp/commit/68139e354876013046aac0d1699d7b61ce055d53
-
---- uppsrc/Draw/FontFc.cpp.orig	2020-10-16 9:28:02 UTC
-+++ uppsrc/Draw/FontFc.cpp
-@@ -290,10 +290,9 @@
- 	FT_Vector   v_start;
- 	FT_Vector*  point;
- 	FT_Vector*  limit;
--	char*       tags;
- 	int   n;         // index of contour in outline
--	char  tag;       // current point's state
- 	int   first = 0; // index of first point in contour
-+
- 	for(n = 0; n < outline.n_contours; n++) {
- 		int  last = outline.contours[n];
- 		limit = outline.points + last;
-@@ -301,8 +300,8 @@
- 		v_last  = outline.points[last];
- 		v_control = v_start;
- 		point = outline.points + first;
--		tags  = outline.tags  + first;
--		tag   = FT_CURVE_TAG(tags[0]);
-+		const auto *tags  = outline.tags  + first;
-+		auto tag   = FT_CURVE_TAG(tags[0]);
- 		if(tag == FT_CURVE_TAG_CUBIC) return false;
- 		if(tag == FT_CURVE_TAG_CONIC) {
- 			if(FT_CURVE_TAG(outline.tags[last]) == FT_CURVE_TAG_ON) {
diff --git a/devel/upp/pkg-descr b/devel/upp/pkg-descr
deleted file mode 100644
index 8de5624af8d1..000000000000
--- a/devel/upp/pkg-descr
+++ /dev/null
@@ -1,3 +0,0 @@
-Ultimate++ is a C++ cross-platform rapid application development suite.
-It includes a set of libraries (GUI, SQL, etc..), and an integrated
-development environment.