From owner-svn-ports-all@freebsd.org Thu Feb 11 18:35:55 2021 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CF7A1531496; Thu, 11 Feb 2021 18:35:55 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dc5175Wnqz4dVR; Thu, 11 Feb 2021 18:35:55 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B04171586D; Thu, 11 Feb 2021 18:35:55 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 11BIZt4d068452; Thu, 11 Feb 2021 18:35:55 GMT (envelope-from danfe@FreeBSD.org) Received: (from danfe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 11BIZtH4068451; Thu, 11 Feb 2021 18:35:55 GMT (envelope-from danfe@FreeBSD.org) Message-Id: <202102111835.11BIZtH4068451@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danfe set sender to danfe@FreeBSD.org using -f From: Alexey Dokuchaev Date: Thu, 11 Feb 2021 18:35:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r564974 - in head/x11/nvidia-settings: . files X-SVN-Group: ports-head X-SVN-Commit-Author: danfe X-SVN-Commit-Paths: in head/x11/nvidia-settings: . files X-SVN-Commit-Revision: 564974 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2021 18:35:55 -0000 Author: danfe Date: Thu Feb 11 18:35:55 2021 New Revision: 564974 URL: https://svnweb.freebsd.org/changeset/ports/564974 Log: When listing a directory as a target's order-only-prerequisite, there must be a target to handle this dependency, which I've wrongly assumed there is. Switch to explicit directory creation as part of the target recipe for now. Reported by: leres Added: head/x11/nvidia-settings/files/ head/x11/nvidia-settings/files/patch-src_Makefile (contents, props changed) Modified: head/x11/nvidia-settings/Makefile Modified: head/x11/nvidia-settings/Makefile ============================================================================== --- head/x11/nvidia-settings/Makefile Thu Feb 11 18:11:06 2021 (r564973) +++ head/x11/nvidia-settings/Makefile Thu Feb 11 18:35:55 2021 (r564974) @@ -50,8 +50,6 @@ post-patch: .SILENT ${WRKSRC}/doc/nvidia-settings.desktop ${REINPLACE_CMD} -e 's|/usr/share/nvidia/|${LOCALBASE}/share/doc/NVIDIA_GLX-1.0/|' \ ${WRKSRC}/src/gtk+-2.x/ctkappprofile.c - ${REINPLACE_CMD} -e 's,notdir $$(1)).h:,& | $$$$(OUTPUTDIR),' \ - ${WRKSRC}/src/Makefile post-install: .SILENT ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libnvidia-gtk2.so.${PORTVERSION} Added: head/x11/nvidia-settings/files/patch-src_Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/nvidia-settings/files/patch-src_Makefile Thu Feb 11 18:35:55 2021 (r564974) @@ -0,0 +1,10 @@ +--- src/Makefile.orig 2021-01-26 17:16:45 UTC ++++ src/Makefile +@@ -242,6 +242,7 @@ endif + + define BINARY_DATA_HEADER_RULE + $$(OUTPUTDIR)/$(notdir $(1)).h: ++ $(at_if_quiet)$(MKDIR) $$(OUTPUTDIR) + $(at_if_quiet){ \ + $$(PRINTF) "extern const char _binary_$(subst .,_,$(notdir $(1)))_start[];\n"; \ + $$(PRINTF) "extern const char _binary_$(subst .,_,$(notdir $(1)))_end[];\n"; \