pkgsrc-WIP-changes archive

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

go-mobius: Silly way to avoid installing the client



Module Name:	pkgsrc-wip
Committed By:	Charlotte Koch <charlotte%NetBSD.org@localhost>
Pushed By:	cfkoch
Date:		Mon Jun 3 12:52:21 2024 -0700
Changeset:	c903799c6284915dbf12ebd791d2de516e8e29a0

Modified Files:
	go-mobius/Makefile
	go-mobius/PLIST
	go-mobius/TODO

Log Message:
go-mobius: Silly way to avoid installing the client

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

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

diffstat:
 go-mobius/Makefile | 2 ++
 go-mobius/PLIST    | 1 -
 go-mobius/TODO     | 4 +++-
 3 files changed, 5 insertions(+), 2 deletions(-)

diffs:
diff --git a/go-mobius/Makefile b/go-mobius/Makefile
index b3cf2fdbe6..e083b38ba4 100644
--- a/go-mobius/Makefile
+++ b/go-mobius/Makefile
@@ -18,7 +18,9 @@ GO_DIST_BASE=		${GITHUB_PROJECT}-${PKGVERSION_NOREV}
 
 INSTALLATION_DIRS+=	share/mobius/config
 
+# XXX Better to just not build the mobius-hotline-client in the first place.
 post-install:
+	rm -f ${DESTDIR}${PREFIX}/bin/mobius-hotline-client
 	cd ${WRKSRC}/cmd/mobius-hotline-server/mobius/config && \
 		${PAX} -r -w . ${DESTDIR}${PREFIX}/share/mobius/config
 
diff --git a/go-mobius/PLIST b/go-mobius/PLIST
index b5e0d8261d..5e5b586cfc 100644
--- a/go-mobius/PLIST
+++ b/go-mobius/PLIST
@@ -1,5 +1,4 @@
 @comment $NetBSD$
-bin/mobius-hotline-client
 bin/mobius-hotline-server
 share/mobius/config/Agreement.txt
 share/mobius/config/Files/hello.txt
diff --git a/go-mobius/TODO b/go-mobius/TODO
index 906a183fc7..9d02121768 100644
--- a/go-mobius/TODO
+++ b/go-mobius/TODO
@@ -1 +1,3 @@
-- This installs both a client and a server, but I really only want the server
+- This installs both a client and a server, but I really only want the server.
+  The current strategy in the Makefile (delete the client in post-install) is
+  really dumb and I don't like it.


Home | Main Index | Thread Index | Old Index