pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pharo-vm: Add ALTERNATIVES



Module Name:	pkgsrc-wip
Committed By:	Atsushi Toyokura <asteria.at%gmail.com@localhost>
Pushed By:	steleto
Date:		Sun Oct 29 20:24:15 2023 +0900
Changeset:	3f623a0541d4b9f3cc69d36dc67928dd9f5be2e7

Modified Files:
	pharo-vm/Makefile
	pharo-vm/PLIST
Added Files:
	pharo-vm/ALTERNATIVES

Log Message:
pharo-vm: Add ALTERNATIVES

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3f623a0541d4b9f3cc69d36dc67928dd9f5be2e7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 pharo-vm/ALTERNATIVES |  1 +
 pharo-vm/Makefile     | 12 ++++++------
 pharo-vm/PLIST        | 40 ++++++++++++++++++++--------------------
 3 files changed, 27 insertions(+), 26 deletions(-)

diffs:
diff --git a/pharo-vm/ALTERNATIVES b/pharo-vm/ALTERNATIVES
new file mode 100644
index 0000000000..f1573f703d
--- /dev/null
+++ b/pharo-vm/ALTERNATIVES
@@ -0,0 +1 @@
+bin/pharo @PREFIX@/bin/pharo9
diff --git a/pharo-vm/Makefile b/pharo-vm/Makefile
index 7f7d4ccb93..ddf30346d3 100644
--- a/pharo-vm/Makefile
+++ b/pharo-vm/Makefile
@@ -23,7 +23,7 @@ USE_CMAKE=	yes
 CMAKE_ARGS+=	-DFLAVOUR=CoInterpreter
 CMAKE_ARGS+=	-DALWAYS_INTERACTIVE=1
 CMAKE_ARGS+=	-DGENERATE_SOURCES=OFF
-CMAKE_ARGS+=	-DPHARO_BIN_LOCATION=${PREFIX}/lib/pharo
+CMAKE_ARGS+=	-DPHARO_BIN_LOCATION=${PREFIX}/lib/pharo9
 
 SUBST_CLASSES+=			fix-paths
 SUBST_STAGE.fix-paths=		pre-build
@@ -31,20 +31,20 @@ SUBST_MESSAGE.fix-paths=	Fixing absolute paths.
 SUBST_FILES.fix-paths=		packaging/linux/bin/launch.sh.in
 SUBST_SED.fix-paths=		-e "s,@pkglibdir@,${PREFIX}/lib,g"
 
-NOT_PAX_MPROTECT_SAFE+=	lib/pharo/pharo
+NOT_PAX_MPROTECT_SAFE+=	lib/pharo9/pharo
 
-INSTALLATION_DIRS=	bin lib/pharo
+INSTALLATION_DIRS=	bin lib/pharo9
 
 pre-configure:
 	${CP} ${WRKSRC}/cmake/OpenBSD.cmake ${WRKSRC}/cmake/NetBSD.cmake
 
 do-install:
 	cd ${WRKSRC}/build/packaging/linux/bin && \
-		${INSTALL_SCRIPT} pharo ${DESTDIR}${PREFIX}/bin
+		${INSTALL_SCRIPT} pharo ${DESTDIR}${PREFIX}/bin/pharo9
 	cd ${WRKSRC}/build/vm/ && \
-		${INSTALL_PROGRAM} pharo ${DESTDIR}${PREFIX}/lib/pharo
+		${INSTALL_PROGRAM} pharo ${DESTDIR}${PREFIX}/lib/pharo9
 	cd ${WRKSRC}/build/vm/ && find . -type f -name "*.so" | while read file; do \
-		${INSTALL_LIB} $$file ${DESTDIR}${PREFIX}/lib/pharo; \
+		${INSTALL_LIB} $$file ${DESTDIR}${PREFIX}/lib/pharo9; \
 	done
 
 .include "../../devel/SDL2/buildlink3.mk"
diff --git a/pharo-vm/PLIST b/pharo-vm/PLIST
index 8e7cfd1fc0..f0a64ab389 100644
--- a/pharo-vm/PLIST
+++ b/pharo-vm/PLIST
@@ -1,21 +1,21 @@
 @comment $NetBSD$
-bin/pharo
-lib/pharo/libB2DPlugin.so
-lib/pharo/libBitBltPlugin.so
-lib/pharo/libDSAPrims.so
-lib/pharo/libFileAttributesPlugin.so
-lib/pharo/libFilePlugin.so
-lib/pharo/libFloatArrayPlugin.so
-lib/pharo/libJPEGReadWriter2Plugin.so
-lib/pharo/libJPEGReaderPlugin.so
-lib/pharo/libLargeIntegers.so
-lib/pharo/libLocalePlugin.so
-lib/pharo/libMiscPrimitivePlugin.so
-lib/pharo/libPharoVMCore.so
-lib/pharo/libSocketPlugin.so
-lib/pharo/libSqueakSSL.so
-lib/pharo/libSurfacePlugin.so
-lib/pharo/libTestLibrary.so
-lib/pharo/libUUIDPlugin.so
-lib/pharo/libUnixOSProcessPlugin.so
-lib/pharo/pharo
+bin/pharo9
+lib/pharo9/libB2DPlugin.so
+lib/pharo9/libBitBltPlugin.so
+lib/pharo9/libDSAPrims.so
+lib/pharo9/libFileAttributesPlugin.so
+lib/pharo9/libFilePlugin.so
+lib/pharo9/libFloatArrayPlugin.so
+lib/pharo9/libJPEGReadWriter2Plugin.so
+lib/pharo9/libJPEGReaderPlugin.so
+lib/pharo9/libLargeIntegers.so
+lib/pharo9/libLocalePlugin.so
+lib/pharo9/libMiscPrimitivePlugin.so
+lib/pharo9/libPharoVMCore.so
+lib/pharo9/libSocketPlugin.so
+lib/pharo9/libSqueakSSL.so
+lib/pharo9/libSurfacePlugin.so
+lib/pharo9/libTestLibrary.so
+lib/pharo9/libUUIDPlugin.so
+lib/pharo9/libUnixOSProcessPlugin.so
+lib/pharo9/pharo


Home | Main Index | Thread Index | Old Index