pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/syncthing syncthing: Just build the binary we inst...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4f63b3e272d5
branches:  trunk
changeset: 374469:4f63b3e272d5
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Jan 23 13:58:46 2018 +0000

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

diffstat:

 net/syncthing/Makefile |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r 3100e9cb4264 -r 4f63b3e272d5 net/syncthing/Makefile
--- a/net/syncthing/Makefile    Tue Jan 23 12:57:04 2018 +0000
+++ b/net/syncthing/Makefile    Tue Jan 23 13:58:46 2018 +0000
@@ -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 @@
 
 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 @@
        ${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