Fossil

Check-in [9ef38b6b]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:In the Makefile, use a more standard syntax for setting a variable to the output of a shell command. Fixes building on Solaris, seems OK on other platforms.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | solaris10
Files: files | file ages | folders
SHA1: 9ef38b6b6d8ac5daa0e01c93199cc72a4174a879
User & Date: ben 2011-05-22 07:49:02
References
2011-05-31
13:00 Fixed ticket [5a96dd5f]: non-portable Makefile plus 2 other changes (artifact: f1d5901a user: drh)
2011-05-30
07:21 Ticket [5a96dd5f]: 1 change (artifact: 78b84968 user: ben)
2011-05-23
03:01 Ticket [9ae4043d] Please merge fixes for Solaris 10 into trunk status still Open with 2 other changes (artifact: bbec9995 user: anonymous)
Context
2011-05-22
07:53
Fix for passwords > 8 chars long on Solaris. getpass() silently truncates to 8 chars, use getpassphrase() instead. (Closed-Leaf check-in: 3e61ada7 user: ben tags: solaris10)
07:49
In the Makefile, use a more standard syntax for setting a variable to the output of a shell command. Fixes building on Solaris, seems OK on other platforms. (check-in: 9ef38b6b user: ben tags: solaris10)
07:33
Create new branch named "solaris10" (check-in: eb4b5e3b user: ben tags: solaris10)
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to Makefile.

56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#
TCLSH = tclsh

# You should not need to change anything below this line
###############################################################################
#
# Automatic platform-specific options.
HOST_OS!= uname -s

LIB.SunOS= -lsocket -lnsl
LIB += $(LIB.$(HOST_OS))

TCC.DragonFly += -DUSE_PREAD
TCC.FreeBSD += -DUSE_PREAD
TCC.NetBSD += -DUSE_PREAD
TCC.OpenBSD += -DUSE_PREAD
TCC += $(TCC.$(HOST_OS))

include $(SRCDIR)/main.mk







|











56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#
TCLSH = tclsh

# You should not need to change anything below this line
###############################################################################
#
# Automatic platform-specific options.
HOST_OS :sh = uname -s

LIB.SunOS= -lsocket -lnsl
LIB += $(LIB.$(HOST_OS))

TCC.DragonFly += -DUSE_PREAD
TCC.FreeBSD += -DUSE_PREAD
TCC.NetBSD += -DUSE_PREAD
TCC.OpenBSD += -DUSE_PREAD
TCC += $(TCC.$(HOST_OS))

include $(SRCDIR)/main.mk