pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/syncthing



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Tue Jan 23 13:58:47 UTC 2018

Modified Files:
        pkgsrc/net/syncthing: Makefile

Log Message:
syncthing: Just build the binary we install, fixes some archs.


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 pkgsrc/net/syncthing/Makefile

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

Modified files:

Index: pkgsrc/net/syncthing/Makefile
diff -u pkgsrc/net/syncthing/Makefile:1.63 pkgsrc/net/syncthing/Makefile:1.64
--- pkgsrc/net/syncthing/Makefile:1.63  Wed Jan 10 15:43:10 2018
+++ pkgsrc/net/syncthing/Makefile       Tue Jan 23 13:58:46 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.63 2018/01/10 15:43:10 wiz Exp $
+# $NetBSD: Makefile,v 1.64 2018/01/23 13:58:46 jperkin Exp $
 
 # Upstream regularly breaks protocol compatibility.  While users of
 # pkgsrc syncthing on multiple systems can update synchronously, an
@@ -31,7 +31,8 @@ GITHUB_TAG=   v${PKGVERSION_NOREV}
 
 BUILD_DEPENDS+=                go-[0-9]*:../../lang/go
 
-USE_LANGUAGES=         # go
+# The 'zillode' dependency calls the compiler on certain archs.
+USE_LANGUAGES=         c
 NO_CONFIGURE=          yes
 
 INSTALLATION_DIRS=     bin
@@ -82,10 +83,10 @@ post-extract:
        ${LN} -s ${WRKPLACE} ${WRKSRC}
 
 do-build:
-       cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/go run build.go
+       cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/go run build.go build syncthing
 
 # Binaries other than syncthing proper should perhaps be installed.
 do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/bin/syncthing ${DESTDIR}/${PREFIX}/bin
+       ${INSTALL_PROGRAM} ${WRKSRC}/syncthing ${DESTDIR}/${PREFIX}/bin
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index