pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

brain-mesh-builder: Fix deps for creating bin and obj



Module Name:	pkgsrc-wip
Committed By:	Jason Bacon <bacon%NetBSD.org@localhost>
Pushed By:	outpaddling
Date:		Sun Nov 13 11:26:05 2022 -0600
Changeset:	2ae8a08bad721054357125a2596551767fd581db

Modified Files:
	brain-mesh-builder/distinfo
	brain-mesh-builder/patches/patch-Makefile

Log Message:
brain-mesh-builder: Fix deps for creating bin and obj

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2ae8a08bad721054357125a2596551767fd581db

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 brain-mesh-builder/distinfo               | 2 +-
 brain-mesh-builder/patches/patch-Makefile | 9 +++++----
 2 files changed, 6 insertions(+), 5 deletions(-)

diffs:
diff --git a/brain-mesh-builder/distinfo b/brain-mesh-builder/distinfo
index 564b68a86a..e6f3cccc5b 100644
--- a/brain-mesh-builder/distinfo
+++ b/brain-mesh-builder/distinfo
@@ -3,7 +3,7 @@ $NetBSD$
 BLAKE2s (brain-mesh-builder-1.1.tar.gz) = 122811b4221702aad58ef5c5fd9f7fdd7fb73f1b703f9646d36192c05cb5a2b6
 SHA512 (brain-mesh-builder-1.1.tar.gz) = d71dbcde369313ccd0f86c571cd6c12f0b5babd096a5847097de8eb66c53e9e53dea74e1a9ea6656956113c529c14e07629a95dfe045cf38ed6e3e85e323f0e0
 Size (brain-mesh-builder-1.1.tar.gz) = 24984078 bytes
-SHA1 (patch-Makefile) = cd1fff26d79d2a0d6d4b3111817884a5a37dfb07
+SHA1 (patch-Makefile) = e09b21f8d61a139379c3729a6064cc54a16ee3ed
 SHA1 (patch-src_bead.cpp) = aa60fef2612162a9816db6b7e9fb11f46c2a7395
 SHA1 (patch-src_bead3d.cpp) = 31b2ad4c35837bd10a7c15bae4b27c000af27a7e
 SHA1 (patch-src_fnet.cpp) = 34fab18fed492330d9394a9fec0f7b1efc155ff9
diff --git a/brain-mesh-builder/patches/patch-Makefile b/brain-mesh-builder/patches/patch-Makefile
index 198553057f..507aa43897 100644
--- a/brain-mesh-builder/patches/patch-Makefile
+++ b/brain-mesh-builder/patches/patch-Makefile
@@ -1,8 +1,8 @@
 $NetBSD$
 
-# Clean up and create bin and obj dirs
+# Create bin and obj dirs
 
---- Makefile.orig	2022-11-12 14:21:36 UTC
+--- Makefile.orig	2022-11-12 14:21:36.000000000 +0000
 +++ Makefile
 @@ -9,42 +9,48 @@ TARGET = $(BINDIR)/dodri
  
@@ -60,11 +60,12 @@ $NetBSD$
 +$(OBJDIR)/io:
 +	$(MKDIR) -p $(OBJDIR)/io
 +
-+$(TARGET): $(BINDIR) $(OBJDIR)/io $(OBJECTS) $(INCLUDES)
++$(TARGET): $(BINDIR) $(OBJECTS) $(INCLUDES)
  	$(CXX) $(OBJECTS) $(LDFLAGS) -o $@
  
- $(OBJDIR)/%.o: $(SRCDIR)/%.cpp $(INCLUDES)
+-$(OBJDIR)/%.o: $(SRCDIR)/%.cpp $(INCLUDES)
 -	       $(CXX) $(CXXFLAGS) -c $< -o $@
++$(OBJDIR)/%.o: $(SRCDIR)/%.cpp $(INCLUDES) $(OBJDIR)/io
 +	$(CXX) $(CXXFLAGS) -c $< -o $@
  
  .PHONY:


Home | Main Index | Thread Index | Old Index