pkgsrc-WIP-changes archive

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

vlang: some cleanups.



Module Name:	pkgsrc-wip
Committed By:	Olaf Seibert <rhialto%falu.nl@localhost>
Pushed By:	rhialto
Date:		Sat Jul 1 19:35:03 2023 +0200
Changeset:	1d6d88e977a5625ec976abdd100d57be9e61cf19

Modified Files:
	vlang/Makefile
Removed Files:
	vlang/example
	vlang/example.v

Log Message:
vlang: some cleanups.

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

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

diffstat:
 vlang/Makefile  |   7 +------
 vlang/example   | Bin 235992 -> 0 bytes
 vlang/example.v |   7 -------
 3 files changed, 1 insertion(+), 13 deletions(-)

diffs:
diff --git a/vlang/Makefile b/vlang/Makefile
index 6ae4f5d4fc..01ef266dd2 100644
--- a/vlang/Makefile
+++ b/vlang/Makefile
@@ -16,7 +16,6 @@ COMMENT=	The V Programming Language
 LICENSE=	mit
 
 USE_TOOLS+=	gmake
-USE_TOOLS+=	libtool
 
 MAKE_FILE=	GNUmakefile
 MAKE_FLAGS+=	local=1
@@ -44,17 +43,13 @@ pre-configure:
 
 SUBST_CLASSES+=		hashbang
 SUBST_STAGE.hashbang=	pre-install
-SUBST_FILES.hashbang+=	cmd/tools/git_pre_commit_hook.vsh
-SUBST_FILES.hashbang+=	cmd/tools/install_binaryen.vsh
-SUBST_FILES.hashbang+=	cmd/tools/install_wabt.vsh
+SUBST_FILES.hashbang+=	cmd/tools/*.vsh
 SUBST_SED.hashbang=	-e '1s,\#!.*,\#!${INSTALLDIR}/v,'
 
 SUBST_CLASSES+=		prefix
 SUBST_STAGE.prefix=	post-patch
-#SUBST_STAGE.prefix=	pre-build
 SUBST_FILES.prefix+=	vlib/builtin/builtin_d_gcboehm.c.v
 SUBST_VARS.prefix=	PREFIX
-#SUBST_SHOW_DIFF.prefix = yes
 
 # Maybe not all of this is needed, but the upstream simply uses
 # the whole source tree.
diff --git a/vlang/example b/vlang/example
deleted file mode 100755
index 67ca95dd94..0000000000
Binary files a/vlang/example and /dev/null differ
diff --git a/vlang/example.v b/vlang/example.v
deleted file mode 100644
index 16c8f72b1d..0000000000
--- a/vlang/example.v
+++ /dev/null
@@ -1,7 +0,0 @@
-fn main() {
-    areas := ['game', 'web', 'tools', 'science', 'systems',
-              'embedded', 'drivers', 'GUI', 'mobile']
-    for area in areas {
-        println('Hello, $area developers!')
-    }
-}


Home | Main Index | Thread Index | Old Index