View | Details | Raw Unified | Return to bug 213250 | Differences between
and this patch

Collapse All | Expand All

(-)b/comms/Makefile (+1 lines)
Lines 168-173 Link Here
168
    SUBDIR += spandsp
168
    SUBDIR += spandsp
169
    SUBDIR += splat
169
    SUBDIR += splat
170
    SUBDIR += sredird
170
    SUBDIR += sredird
171
    SUBDIR += sunxi-tools
171
    SUBDIR += svxlink
172
    SUBDIR += svxlink
172
    SUBDIR += syncterm
173
    SUBDIR += syncterm
173
    SUBDIR += tcpser
174
    SUBDIR += tcpser
(-)b/comms/sunxi-tools/Makefile (+31 lines)
Added Link Here
1
# $FreeBSD$
2
3
PORTNAME=		sunxi-tools
4
PORTVERSION=		1.4.2
5
DISTVERSIONPREFIX=	v
6
CATEGORIES=		comms
7
8
MAINTAINER=	manu@freebsd.org
9
COMMENT=	Tools to help hacking Allwinner devices
10
11
LICENSE=	GPLv2+
12
13
USE_GITHUB=	yes
14
GH_ACCOUNT=	linux-sunxi
15
16
USES=	gmake pkgconfig
17
18
PLIST_FILES=	bin/sunxi-fexc \
19
		bin/sunxi-bootinfo \
20
		bin/sunxi-fel \
21
		bin/sunxi-nand-part \
22
		bin/sunxi-pio
23
24
do-install:
25
	$(INSTALL_PROGRAM) ${WRKSRC}/sunxi-fexc ${STAGEDIR}${PREFIX}/bin
26
	$(INSTALL_PROGRAM) ${WRKSRC}/sunxi-bootinfo ${STAGEDIR}${PREFIX}/bin
27
	$(INSTALL_PROGRAM) ${WRKSRC}/sunxi-fel ${STAGEDIR}${PREFIX}/bin
28
	$(INSTALL_PROGRAM) ${WRKSRC}/sunxi-nand-part ${STAGEDIR}${PREFIX}/bin
29
	$(INSTALL_PROGRAM) ${WRKSRC}/sunxi-pio ${STAGEDIR}${PREFIX}/bin
30
31
.include <bsd.port.mk>
(-)b/comms/sunxi-tools/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1499609673
2
SHA256 (linux-sunxi-sunxi-tools-v1.4.2_GH0.tar.gz) = 81f48014a520cb83cac4e17f5ae627a637c4d6a422b60c693c5a705c92e43822
3
SIZE (linux-sunxi-sunxi-tools-v1.4.2_GH0.tar.gz) = 84090
(-)b/comms/sunxi-tools/files/patch-Makefile (+29 lines)
Added Link Here
1
--- Makefile.orig	2016-11-29 13:07:51 UTC
2
+++ Makefile
3
@@ -17,7 +17,7 @@
4
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
5
 
6
 CC ?= gcc
7
-DEFAULT_CFLAGS := -std=c99
8
+DEFAULT_CFLAGS += -std=c99
9
 DEFAULT_CFLAGS += -Wall -Wextra -Wno-unused-result
10
 
11
 DEFAULT_CFLAGS += -D_POSIX_C_SOURCE=200112L
12
@@ -63,7 +63,7 @@ BINDIR  ?= $(PREFIX)/bin
13
 tools: $(TOOLS) $(FEXC_LINKS)
14
 target-tools: $(TARGET_TOOLS)
15
 
16
-all: tools target-tools
17
+all: tools
18
 
19
 misc: $(MISC_TOOLS)
20
 
21
@@ -75,7 +75,7 @@ install-all: install-tools install-target-tools
22
 install-tools: $(TOOLS)
23
 	install -d $(DESTDIR)$(BINDIR)
24
 	@set -ex ; for t in $^ ; do \
25
-		install -m0755 $$t $(DESTDIR)$(BINDIR)/$$t ; \
26
+		$(INSTALL_PROGRAM) -m0755 $$t $(DESTDIR)$(BINDIR)/$$t ; \
27
 	done
28
 	@set -ex ; for l in $(FEXC_LINKS) ; do \
29
 		ln -nfs sunxi-fexc $(DESTDIR)$(BINDIR)/$$l ; \
(-)b/comms/sunxi-tools/pkg-descr (+4 lines)
Added Link Here
1
Tools to help hacking Allwinner A10 (aka sun4i) based devices and possibly
2
it's successors, that's why the 'x' in the package name.
3
4
WWW: https://github.com/linux-sunxi/sunxi-tools

Return to bug 213250