svn commit: r564974 - in head/x11/nvidia-settings: . files
Alexey Dokuchaev
danfe at FreeBSD.org
Thu Feb 11 18:35:55 UTC 2021
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"; \
More information about the svn-ports-all
mailing list