sysutils/dtc: Update to 1.4.7

This commit is contained in:
Emmanuel Vadot 2019-02-25 12:13:16 +00:00
parent d2816f8759
commit 1f5d8a746c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=493851
5 changed files with 8 additions and 58 deletions

View File

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= dtc
PORTVERSION= 1.4.6
PORTVERSION= 1.4.7
DISTVERSIONPREFIX= v
CATEGORIES= sysutils

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1515034018
SHA256 (dgibson-dtc-v1.4.6_GH0.tar.gz) = 394d2fb852c326b070e9d7732b396f5d57da86cac728fe58a519a505cfb01837
SIZE (dgibson-dtc-v1.4.6_GH0.tar.gz) = 176882
TIMESTAMP = 1551032373
SHA256 (dgibson-dtc-v1.4.7_GH0.tar.gz) = 603d6f4f5f34921b368e6febe6690c89022d098edda77187a758b8eeeeff53ea
SIZE (dgibson-dtc-v1.4.7_GH0.tar.gz) = 191568

View File

@ -1,39 +0,0 @@
--- Makefile.orig 2018-01-04 03:37:52 UTC
+++ Makefile
@@ -26,6 +26,10 @@ SWIG = swig
PKG_CONFIG ?= pkg-config
INSTALL = /usr/bin/install
+INSTALL_PROGRAM = $(INSTALL)
+INSTALL_LIB = $(INSTALL)
+INSTALL_DATA = $(INSTALL) -m 644
+INSTALL_SCRIPT = $(INSTALL)
DESTDIR =
PREFIX = $(HOME)
BINDIR = $(PREFIX)/bin
@@ -191,20 +195,21 @@ endif
install-bin: all $(SCRIPTS)
@$(VECHO) INSTALL-BIN
$(INSTALL) -d $(DESTDIR)$(BINDIR)
- $(INSTALL) $(BIN) $(SCRIPTS) $(DESTDIR)$(BINDIR)
+ $(INSTALL_PROGRAM) $(BIN) $(DESTDIR)$(BINDIR)
+ $(INSTALL_SCRIPT) $(SCRIPTS) $(DESTDIR)$(BINDIR)
install-lib: all
@$(VECHO) INSTALL-LIB
$(INSTALL) -d $(DESTDIR)$(LIBDIR)
- $(INSTALL) $(LIBFDT_lib) $(DESTDIR)$(LIBDIR)
+ $(INSTALL_LIB) $(LIBFDT_lib) $(DESTDIR)$(LIBDIR)
ln -sf $(notdir $(LIBFDT_lib)) $(DESTDIR)$(LIBDIR)/$(LIBFDT_soname)
ln -sf $(LIBFDT_soname) $(DESTDIR)$(LIBDIR)/libfdt.$(SHAREDLIB_EXT)
- $(INSTALL) -m 644 $(LIBFDT_archive) $(DESTDIR)$(LIBDIR)
+ $(INSTALL_DATA) $(LIBFDT_archive) $(DESTDIR)$(LIBDIR)
install-includes:
@$(VECHO) INSTALL-INC
$(INSTALL) -d $(DESTDIR)$(INCLUDEDIR)
- $(INSTALL) -m 644 $(LIBFDT_include) $(DESTDIR)$(INCLUDEDIR)
+ $(INSTALL_DATA) $(LIBFDT_include) $(DESTDIR)$(INCLUDEDIR)
install: install-bin install-lib install-includes

View File

@ -1,11 +0,0 @@
--- tests/Makefile.tests.orig 2018-01-03 06:04:32 UTC
+++ tests/Makefile.tests
@@ -56,7 +56,7 @@ $(LIB_TESTS): %: $(TESTS_PREFIX)testutils.o util.o $(L
$(DL_LIB_TESTS): %: %.o $(TESTS_PREFIX)testutils.o util.o $(LIBFDT_archive)
@$(VECHO) LD [libdl] $@
- $(LINK.c) -o $@ $^ -ldl
+ $(LINK.c) -o $@ $^
$(LIBTREE_TESTS): %: $(TESTS_PREFIX)testutils.o $(TESTS_PREFIX)trees.o \
util.o $(LIBFDT_archive)

View File

@ -5,10 +5,10 @@ bin/fdtdump
bin/fdtget
bin/fdtoverlay
bin/fdtput
lib/libfdt-1.4.6.so
lib/libfdt.a
lib/libfdt.so
lib/libfdt.so.1
include/fdt.h
include/libfdt.h
include/libfdt_env.h
lib/libfdt-1.4.7.so
lib/libfdt.a
lib/libfdt.so
lib/libfdt.so.1