nvie / gitflow

Git extensions to provide high-level repository operations for Vincent Driessen's branching model.
http://nvie.com/posts/a-successful-git-branching-model/
Other
26.68k stars 2.67k forks source link

Makefile broken for FreeBSD #150

Open akruijff opened 13 years ago

akruijff commented 13 years ago

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 commented 13 years ago

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 commented 11 years ago

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.