Hi,

I would like to propose setting PKGSPEC for games/love/{0.8,0.10,11}
such that a port like games/indierunner can enumerate multiple versions
to install as dependencies. The reason is that the different versions
of love are not (backwards-)compatible. In the current form, installing
indierunner only has love-11 installed because of the default PKGSPEC.
The attached diff sets PKGSPEC to avoid this and allow indierunner to
install all 3 versions.

The only other port that depends on love/* is games/orthorobot
(love-0.10).

ok?
Index: 0.10/Makefile
===================================================================
RCS file: /cvs/ports/games/love/0.10/Makefile,v
diff -u -p -r1.5 Makefile
--- 0.10/Makefile	23 Oct 2024 12:28:33 -0000	1.5
+++ 0.10/Makefile	26 Dec 2025 00:31:10 -0000
@@ -1,6 +1,7 @@
 VERSION =		0.10.2
 USE_LUAJIT =		No
 REVISION =		3
+PKGSPEC =		love->=${VERSION},<0.11
 
 SHARED_LIBS=		love-${VERSION}	0.0
 
Index: 0.8/Makefile
===================================================================
RCS file: /cvs/ports/games/love/0.8/Makefile,v
diff -u -p -r1.6 Makefile
--- 0.8/Makefile	7 Sep 2025 16:33:45 -0000	1.6
+++ 0.8/Makefile	26 Dec 2025 00:31:10 -0000
@@ -1,6 +1,7 @@
 VERSION =		0.8.0
 USE_LUAJIT =		No
 REVISION =		19
+PKGSPEC =		love->=${VERSION},<0.9
 
 WANTLIB += ${COMPILER_LIBCXX} GL IL Iex-3_4 IlmThread-3_4 Imath-3_2
 WANTLIB += OpenEXR-3_4 OpenEXRCore-3_4 OpenEXRUtil-3_4 SDL X11
Index: 11/Makefile
===================================================================
RCS file: /cvs/ports/games/love/11/Makefile,v
diff -u -p -r1.8 Makefile
--- 11/Makefile	23 Oct 2024 12:28:33 -0000	1.8
+++ 11/Makefile	26 Dec 2025 00:31:10 -0000
@@ -4,6 +4,7 @@ NOT_FOR_ARCHS =		${BE_ARCHS}
 
 VERSION =		11.5
 REVISION =		2
+PKGSPEC =		love->=${VERSION},<12
 
 SHARED_LIBS =		love-${VERSION}	0.0
 

Reply via email to