Aurelien Larcher
2020-06-05 1418b76f4f4a4d79c466f9d9a4c4cce671f8fc34
depend.mk: unship old infrastructure and use required packages
6 files deleted
32 files modified
148 ■■■■ changed files
components/archiver/zip/Makefile 4 ●●●● patch | view | raw | blame | history
components/common-lisp/chunga/Makefile 2 ●●●●● patch | view | raw | blame | history
components/common-lisp/cl-base64/Makefile 2 ●●●●● patch | view | raw | blame | history
components/common-lisp/cl-json/Makefile 2 ●●●●● patch | view | raw | blame | history
components/common-lisp/cl-ppcre/Makefile 2 ●●●●● patch | view | raw | blame | history
components/common-lisp/cl-qprint/Makefile 2 ●●●●● patch | view | raw | blame | history
components/common-lisp/drakma/Makefile 2 ●●●●● patch | view | raw | blame | history
components/common-lisp/flexi-streams/Makefile 2 ●●●●● patch | view | raw | blame | history
components/common-lisp/ironclad/Makefile 2 ●●●●● patch | view | raw | blame | history
components/common-lisp/nibbles/Makefile 2 ●●●●● patch | view | raw | blame | history
components/common-lisp/puri/Makefile 2 ●●●●● patch | view | raw | blame | history
components/common-lisp/trivial-gray-streams/Makefile 2 ●●●●● patch | view | raw | blame | history
components/common-lisp/usocket/Makefile 2 ●●●●● patch | view | raw | blame | history
components/desktop/notion-3/Makefile 2 ●●●●● patch | view | raw | blame | history
components/desktop/xscreensaver/depend.mk 1 ●●●● patch | view | raw | blame | history
components/developer/help2man/Makefile 4 ●●●● patch | view | raw | blame | history
components/fonts/gnu-gs-fonts-other/Makefile 2 ●●●●● patch | view | raw | blame | history
components/fonts/gnu-gs-fonts-std/Makefile 2 ●●●●● patch | view | raw | blame | history
components/foomatic/fppd/Makefile 2 ●●●●● patch | view | raw | blame | history
components/games/openttd/opengfx/Makefile 4 ●●●● patch | view | raw | blame | history
components/games/openttd/openmsx/Makefile 4 ●●●● patch | view | raw | blame | history
components/games/openttd/opensfx/Makefile 4 ●●●● patch | view | raw | blame | history
components/library/openssl/openssl-0.9.8/Makefile 4 ●●●● patch | view | raw | blame | history
components/library/zeromq/zeromq-3.2/Makefile 4 ●●●● patch | view | raw | blame | history
components/multimedia/sound-theme-freedesktop/Makefile 4 ●●●● patch | view | raw | blame | history
components/perl/xml-simple/depend.mk 1 ●●●● patch | view | raw | blame | history
components/ruby/puppet/depend.mk 1 ●●●● patch | view | raw | blame | history
components/shell/which/Makefile 4 ●●●● patch | view | raw | blame | history
components/sysutils/iperf3/Makefile 4 ●●●● patch | view | raw | blame | history
components/tcl/expect/depend.mk 1 ●●●● patch | view | raw | blame | history
components/tcl/tk/depend.mk 1 ●●●● patch | view | raw | blame | history
components/x11/tigervnc/depend.mk 1 ●●●● patch | view | raw | blame | history
components/x11/xcb-util-errors/Makefile 5 ●●●●● patch | view | raw | blame | history
components/x11/xcb-util-keysyms/Makefile 5 ●●●●● patch | view | raw | blame | history
components/x11/xcb-util-renderutil/Makefile 5 ●●●●● patch | view | raw | blame | history
components/x11/xcb-util-wm/Makefile 5 ●●●●● patch | view | raw | blame | history
components/x11/xcb-util/Makefile 5 ●●●●● patch | view | raw | blame | history
make-rules/depend.mk 45 ●●●●● patch | view | raw | blame | history
components/archiver/zip/Makefile
@@ -61,9 +61,5 @@
test:        $(NO_TESTS)
BUILD_PKG_DEPENDENCIES =    $(BUILD_TOOLS)
include $(WS_TOP)/make-rules/depend.mk
REQUIRED_PACKAGES += compress/bzip2
REQUIRED_PACKAGES += system/library
components/common-lisp/chunga/Makefile
@@ -34,5 +34,3 @@
build:        $(BUILD_32)
install:    $(INSTALL_32)
include ../../../make-rules/depend.mk
components/common-lisp/cl-base64/Makefile
@@ -34,5 +34,3 @@
build:        $(BUILD_32)
install:    $(INSTALL_32)
include ../../../make-rules/depend.mk
components/common-lisp/cl-json/Makefile
@@ -35,5 +35,3 @@
build:        $(BUILD_32)
install:    $(INSTALL_32)
include ../../../make-rules/depend.mk
components/common-lisp/cl-ppcre/Makefile
@@ -34,5 +34,3 @@
build:        $(BUILD_32)
install:    $(INSTALL_32)
include ../../../make-rules/depend.mk
components/common-lisp/cl-qprint/Makefile
@@ -34,5 +34,3 @@
build:        $(BUILD_32)
install:    $(INSTALL_32)
include ../../../make-rules/depend.mk
components/common-lisp/drakma/Makefile
@@ -34,5 +34,3 @@
build:        $(BUILD_32)
install:    $(INSTALL_32)
include ../../../make-rules/depend.mk
components/common-lisp/flexi-streams/Makefile
@@ -34,5 +34,3 @@
build:        $(BUILD_32)
install:    $(INSTALL_32)
include ../../../make-rules/depend.mk
components/common-lisp/ironclad/Makefile
@@ -34,5 +34,3 @@
build:        $(BUILD_32)
install:    $(INSTALL_32)
include ../../../make-rules/depend.mk
components/common-lisp/nibbles/Makefile
@@ -34,5 +34,3 @@
build:        $(BUILD_32)
install:    $(INSTALL_32)
include ../../../make-rules/depend.mk
components/common-lisp/puri/Makefile
@@ -34,5 +34,3 @@
build:        $(BUILD_32)
install:    $(INSTALL_32)
include ../../../make-rules/depend.mk
components/common-lisp/trivial-gray-streams/Makefile
@@ -35,5 +35,3 @@
build:        $(BUILD_32)
install:    $(INSTALL_32)
include ../../../make-rules/depend.mk
components/common-lisp/usocket/Makefile
@@ -34,5 +34,3 @@
build:        $(BUILD_32)
install:    $(INSTALL_32)
include ../../../make-rules/depend.mk
components/desktop/notion-3/Makefile
@@ -56,5 +56,3 @@
# notion uses xmessage to display errors at run time
REQUIRED_PACKAGES += x11/xmessage
include ../../../make-rules/depend.mk
components/desktop/xscreensaver/depend.mk
File was deleted
components/developer/help2man/Makefile
@@ -36,9 +36,5 @@
test:        $(NO_TESTS)
BUILD_PKG_DEPENDENCIES =    $(BUILD_TOOLS)
include $(WS_TOP)/make-rules/depend.mk
# Auto-generated dependencies
REQUIRED_PACKAGES += runtime/perl-522
components/fonts/gnu-gs-fonts-other/Makefile
@@ -53,5 +53,3 @@
clean::
    $(RM) -r $(BUILD_DIR)
include $(WS_TOP)/make-rules/depend.mk
components/fonts/gnu-gs-fonts-std/Makefile
@@ -53,5 +53,3 @@
clean::
    $(RM) -r $(BUILD_DIR)
include $(WS_TOP)/make-rules/depend.mk
components/foomatic/fppd/Makefile
@@ -59,5 +59,3 @@
clean::
    $(RM) -r $(BUILD_DIR)
include ../../../make-rules/depend.mk
components/games/openttd/opengfx/Makefile
@@ -41,7 +41,3 @@
build: prep
install: build
BUILD_PKG_DEPENDENCIES =    $(BUILD_TOOLS)
include $(WS_TOP)/make-rules/depend.mk
components/games/openttd/openmsx/Makefile
@@ -38,7 +38,3 @@
build: prep
install: build
BUILD_PKG_DEPENDENCIES =    $(BUILD_TOOLS)
include $(WS_TOP)/make-rules/depend.mk
components/games/openttd/opensfx/Makefile
@@ -38,7 +38,3 @@
build: prep
install: build
BUILD_PKG_DEPENDENCIES =    $(BUILD_TOOLS)
include $(WS_TOP)/make-rules/depend.mk
components/library/openssl/openssl-0.9.8/Makefile
@@ -92,7 +92,3 @@
install:    $(INSTALL_32_and_64)
test:        $(NO_TESTS)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include $(WS_TOP)/make-rules/depend.mk
components/library/zeromq/zeromq-3.2/Makefile
@@ -82,10 +82,6 @@
test: $(TEST_32_and_64)
BUILD_PKG_DEPENDENCIES =    $(BUILD_TOOLS)
include $(WS_MAKE_RULES)/depend.mk
REQUIRED_PACKAGES += system/library
REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
components/multimedia/sound-theme-freedesktop/Makefile
@@ -39,7 +39,3 @@
install:    $(INSTALL_32)
test:        $(NO_TESTS)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include $(WS_MAKE_RULES)/depend.mk
components/perl/xml-simple/depend.mk
File was deleted
components/ruby/puppet/depend.mk
File was deleted
components/shell/which/Makefile
@@ -51,9 +51,5 @@
test:        $(NO_TESTS)
BUILD_PKG_DEPENDENCIES =    $(BUILD_TOOLS)
include $(WS_TOP)/make-rules/depend.mk
# Auto-generated dependencies
REQUIRED_PACKAGES += system/library
components/sysutils/iperf3/Makefile
@@ -52,8 +52,4 @@
test:        $(NO_TESTS)
BUILD_PKG_DEPENDENCIES =    $(BUILD_TOOLS)
include $(WS_MAKE_RULES)/depend.mk
REQUIRED_PACKAGES += system/library
components/tcl/expect/depend.mk
File was deleted
components/tcl/tk/depend.mk
File was deleted
components/x11/tigervnc/depend.mk
File was deleted
components/x11/xcb-util-errors/Makefile
@@ -45,10 +45,5 @@
test: $(NO_TESTS)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include $(WS_TOP)/make-rules/depend.mk
REQUIRED_PACKAGES += system/library
REQUIRED_PACKAGES += x11/library/libxcb
components/x11/xcb-util-keysyms/Makefile
@@ -45,10 +45,5 @@
test: $(NO_TESTS)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include $(WS_TOP)/make-rules/depend.mk
REQUIRED_PACKAGES += system/library
REQUIRED_PACKAGES += x11/library/libxcb
components/x11/xcb-util-renderutil/Makefile
@@ -45,10 +45,5 @@
test: $(NO_TESTS)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include $(WS_TOP)/make-rules/depend.mk
REQUIRED_PACKAGES += system/library
REQUIRED_PACKAGES += x11/library/libxcb
components/x11/xcb-util-wm/Makefile
@@ -45,10 +45,5 @@
test: $(NO_TESTS)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include $(WS_TOP)/make-rules/depend.mk
REQUIRED_PACKAGES += system/library
REQUIRED_PACKAGES += x11/library/libxcb
components/x11/xcb-util/Makefile
@@ -45,10 +45,5 @@
test: $(NO_TESTS)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include $(WS_TOP)/make-rules/depend.mk
REQUIRED_PACKAGES += system/library
REQUIRED_PACKAGES += x11/library/libxcb
make-rules/depend.mk
@@ -1,32 +1,25 @@
#
# CDDL HEADER START
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
# Copyright (c) 2010, Oracle and/or it's affiliates.  All rights reserved.
# A full copy of the text of the CDDL should have accompanied this
# source.  A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
DEPENDS +=    $(REQUIRED_TOOL)
DEPENDS +=    $(REQUIRED_FILE)
#
# Copyright 2018 Adam Stevko
#
depend::    $(DEPENDS)
print-required-packages::
    @for package in $(REQUIRED_PACKAGES) ; do \
        echo $$package ;  \
    done | sort -u
print-required-paths::
    @for path in $(DEPENDS) ; do \
        echo $$path ; \
     done
# update the metadata for current component
update-metadata:
    @echo "Generating component metadata..."
    @$(BASS_O_MATIC) --workspace=$(WS_TOP) --pkg5