pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/git-lfs git-lfs: adjust GOPATH to be compatible ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/bd352881d5a9
branches: trunk
changeset: 459552:bd352881d5a9
user: tnn <tnn%pkgsrc.org@localhost>
date: Sat Oct 09 09:24:29 2021 +0000
description:
git-lfs: adjust GOPATH to be compatible with go-module.mk:pre-clean target
Also remove manual do-install target which can be handled by go-module.mk.
diffstat:
devel/git-lfs/Makefile | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diffs (22 lines):
diff -r a9c8949f0ba0 -r bd352881d5a9 devel/git-lfs/Makefile
--- a/devel/git-lfs/Makefile Sat Oct 09 08:45:47 2021 +0000
+++ b/devel/git-lfs/Makefile Sat Oct 09 09:24:29 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2021/10/08 18:55:10 bsiegert Exp $
+# $NetBSD: Makefile,v 1.40 2021/10/09 09:24:29 tnn Exp $
DISTNAME= git-lfs-2.13.3
PKGREVISION= 7
@@ -21,10 +21,8 @@
cp ${WRKSRC}/lfshttp/certs_openbsd.go ${WRKSRC}/lfshttp/certs_netbsd.go
# generate content for "git-lfs --help"
ln -sf ${GO} ${BUILDLINK_DIR}/bin/go
- cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} GOPATH=${WRKDIR} ${GO} generate ./commands
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKDIR}/.gopath/bin/git-lfs ${DESTDIR}${PREFIX}/bin/git-lfs
+ cd ${WRKSRC} && ${PKGSRC_SETENV} ${MAKE_ENV} \
+ GOPATH=${WRKDIR}/.gopath ${GO} generate ./commands
.include "go-modules.mk"
Home |
Main Index |
Thread Index |
Old Index