pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/git-lfs



Module Name:    pkgsrc
Committed By:   tnn
Date:           Sat Oct  9 09:24:29 UTC 2021

Modified Files:
        pkgsrc/devel/git-lfs: Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 pkgsrc/devel/git-lfs/Makefile

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

Modified files:

Index: pkgsrc/devel/git-lfs/Makefile
diff -u pkgsrc/devel/git-lfs/Makefile:1.39 pkgsrc/devel/git-lfs/Makefile:1.40
--- pkgsrc/devel/git-lfs/Makefile:1.39  Fri Oct  8 18:55:10 2021
+++ pkgsrc/devel/git-lfs/Makefile       Sat Oct  9 09:24:29 2021
@@ -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 @@ pre-build:
        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