Skip to content

Commit

Permalink
docker-machine-parallels: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
mascguy committed Feb 27, 2025
1 parent d2fd34c commit 40ce422
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
6 changes: 5 additions & 1 deletion devel/docker-machine-parallels/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ PortSystem 1.0
PortGroup github 1.0

github.setup Parallels docker-machine-parallels 2.0.1 v
revision 0
revision 1
github.tarball_from archive

# stealth update; remove for next version
dist_subdir ${name}/${version}_1

platforms {darwin >= 17}
categories devel
license Apache-2
maintainers {danchr @danchr} openmaintainer
Expand All @@ -21,6 +22,9 @@ checksums rmd160 b020e17f6d5dabec0031663bdcb9338da1ad006f \
sha256 af52903482bff0f13200cc5aca39037cd8625cc663120e1e4d3be13aeda2720d \
size 17425

# Fix go build args; ultimately port should be simplified via pg golang
patchfiles-append patch-makefile.diff

depends_build-append \
port:go

Expand Down
11 changes: 11 additions & 0 deletions devel/docker-machine-parallels/files/patch-makefile.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- Makefile.orig 2025-02-27 16:26:18.000000000 -0500
+++ Makefile 2025-02-27 16:26:31.000000000 -0500
@@ -4,7 +4,7 @@
default: build

bin/docker-machine-driver-parallels:
- go build -i -ldflags "$(GO_LDFLAGS)" \
+ go build -ldflags "$(GO_LDFLAGS)" \
-o ./bin/docker-machine-driver-parallels ./bin

build: clean bin/docker-machine-driver-parallels

0 comments on commit 40ce422

Please sign in to comment.