Makefile broken for FreeBSD #150

Open
akruijff opened this Issue Aug 27, 2011 · 2 comments

Projects

None yet

3 participants

@akruijff

Hi,

The Makefile failed to install on FreeBSD. I've fixed this and have included a patch.

diff --git a/Makefile b/Makefile
index 764bd23..587c9f7 100644
--- a/Makefile
+++ b/Makefile
@@ -28,11 +28,11 @@

Determine if we're inside a debian build ..

-ifdef DEB_BUILD_ARCH
+.ifdef DEB_BUILD_ARCH
prefix=$(DESTDIR)/usr/
-else
+.else
prefix=/usr/local
-endif
+.endif

files that need mode 755

EXEC_FILES=git-flow

@algernon

This will brake the Makefile on systems where make is GNU make. It would be better to just remove the DEB_BUILD_ARCH stuff (my pull request #149 does this too, which makes the Makefile work on both BSDs and Linuxen alike).

@xmj
xmj commented May 3, 2013

Compiles fine with GNU Make (gmake) on 10.0-CURRENT FreeBSD 10.0-CURRENT #5 r249506M: Mon Apr 15 20:35:58 EEST 2013.
Should be closed.

@asnowfix asnowfix pushed a commit to asnowfix/gitflow that referenced this issue Apr 23, 2014
@petervanderdoes petervanderdoes 'git-flow-support' sets wrong arguments
Fixes #150
775b9ed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment