mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
Allow building with any MODTCL_VERSION.
ok sthen@
This commit is contained in:
@@ -20,7 +20,9 @@ WANTLIB += GL GLEW SDL2 SDL2_ttf c freetype m ogg png
|
||||
WANTLIB += pthread ${COMPILER_LIBCXX} theoradec vorbis z
|
||||
|
||||
SITES = https://github.com/openMSX/openMSX/releases/download/RELEASE_${V:S/./_/g}/
|
||||
CONFIGURE_STYLE = simple
|
||||
|
||||
CONFIGURE_STYLE =simple
|
||||
CONFIGURE_ENV = TCL_CONFIG=${MODTCL_LIBDIR}
|
||||
|
||||
MAKE_ENV += INSTALL_BASE=${PREFIX}/share/openmsx \
|
||||
INSTALL_BINARY_DIR=${PREFIX}/bin \
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
Use only the provided config location instead of searching and selecting
|
||||
the config of the lowest version of Tcl that can be found.
|
||||
https://github.com/openMSX/openMSX/commit/88f68f4d375818df38c449f106933e8f7c8f236e
|
||||
|
||||
|
||||
Index: build/libraries.py
|
||||
--- build/libraries.py.orig
|
||||
+++ build/libraries.py
|
||||
@@ -357,6 +357,7 @@ class TCL(Library):
|
||||
tclpath = environ.get('TCL_CONFIG')
|
||||
if tclpath is not None:
|
||||
yield tclpath
|
||||
+ return
|
||||
|
||||
if distroRoot is None or cls.isSystemLibrary(platform):
|
||||
if msysActive():
|
||||
Reference in New Issue
Block a user