openbsd-ports/x11/fluxbox/patches/patch-src_Makefile_in
dcoppa de1a79ce07 Update to fluxbox-1.3.3.
Tested on sparc64.
Tested by bcallah@ on amd64 and loongson.

OK bcallah@
2013-01-11 08:11:26 +00:00

28 lines
859 B
Plaintext

$OpenBSD: patch-src_Makefile_in,v 1.3 2013/01/11 08:11:26 dcoppa Exp $
Don't check for git revision, this is a stable release
--- src/Makefile.in.orig Thu Jan 10 10:43:17 2013
+++ src/Makefile.in Thu Jan 10 10:45:51 2013
@@ -932,7 +932,6 @@ defaults.hh: Makefile
defaults.cc: force
@( \
- GITDIR=$(top_srcdir)/.git; \
echo '// This file is generated from Makefile. Do not edit!'; \
echo '#include "defaults.hh"'; \
echo ''; \
@@ -941,10 +940,8 @@ defaults.cc: force
echo '}'; \
echo ''; \
echo 'const char* gitrevision() {'; \
- echo ' return "'`cat $$GITDIR/$$(cat $$GITDIR/HEAD | cut -f 2 -d ' ')`'";';\
- echo '}' ) > defaults_tmp.cc
- @if ! cmp defaults_tmp.cc defaults.cc ; then cp defaults_tmp.cc defaults.cc; fi
- @rm defaults_tmp.cc
+ echo ' return "this_is_tar_ball_build";'; \
+ echo '}' ) > defaults.cc
force: ;