openbsd-ports/games/scummvm/patches/patch-Makefile_common
2010-10-17 19:59:51 +00:00

32 lines
1.3 KiB
Plaintext

$OpenBSD: patch-Makefile_common,v 1.4 2010/10/17 19:59:51 jsg Exp $
--- Makefile.common.orig Sun Oct 17 15:47:53 2010
+++ Makefile.common Sun Oct 17 15:48:25 2010
@@ -156,27 +156,6 @@ VER_MINOR = $(shell echo $(VERSION) | cut -d. -f 2)
VER_PATCH = $(shell echo $(VERSION) | cut -d. -f 3 | cut -c1)
VER_EXTRA = $(shell echo $(VERSION) | cut -d. -f 3 | cut -c2-)
-
-######################################################################
-# Get Subversion's working copy information
-######################################################################
-
-ifneq ($(shell svn info $(srcdir) 1>/dev/null 2>&1 || echo "error"),error)
-SVNROOT := $(srcdir)
-ifeq ($(origin VER_SVNREV), undefined)
-# Get the working copy base revision
-VER_SVNREV := $(shell LANG=C svn info $(SVNROOT) | grep "^Revision" | cut -d ' ' -f 2)
-endif
-else
-SVNROOT := https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk/
-endif
-
-# Define the Subversion revision if available, either autodetected or
-# specified by the user, but only for base/version.cpp.
-ifneq ($(origin VER_SVNREV), undefined)
-base/version.o: CXXFLAGS:=$(CXXFLAGS) -DSCUMMVM_SVN_REVISION=\"$(VER_SVNREV)\"
-endif
-
######################################################################
# Distribution settings
######################################################################