Ignore:
Timestamp:
May 22, 2014 2:48:27 PM (9 years ago)
Author:
ldelgass
Message:

Fix for exported source package build: svnversion will return "Unversioned
directory" when run on an exported source tree, but the space causes a compiler
error. Replace this string with 'unknown'. A better fix would be to capture
the svn revision at the time the tree is exported. See nanohub ticket
#265649 for a report of the problem on Mac OS X (that was with clang, but I
verified it occurs with gcc on Linux as well).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lang/tcl/src/Makefile.in

    r4146 r4364  
    4040  -I$(includedir)
    4141RAPPTURE_VERSION = @PACKAGE_VERSION@
    42 SVN_VERSION     := $(shell svnversion $(srcdir))
     42SVN_VERSION     := $(shell svnversion $(srcdir) | sed 's/Unversioned directory/unknown/')
    4343DEFINES         = -DSVN_VERSION=\"$(SVN_VERSION)\" \
    4444                  -DRAPPTURE_VERSION=\"$(RAPPTURE_VERSION)\"
Note: See TracChangeset for help on using the changeset viewer.