summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-09-18 19:06:00 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-09-18 19:08:11 (EDT)
commit7457b74e7ce067611691b4b9b25858d6864f9b53 (patch)
tree52a9d12a1be9da414fc87a57129d5d57e7775e56
parente81428648395a7309cdc2d1306fbe45af9e573f7 (diff)
build: Move definition of TCL_LIBRARY.
configure overwrites it. Debian patched it to not do that, but we'll just work around it.
-rwxr-xr-xbuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/build b/build
index 1fa2d49..d55b15d 100755
--- a/build
+++ b/build
@@ -8,7 +8,6 @@ nop:
@:
configure:
- TCL_LIBRARY='/usr/share/$(OPK_SOURCE)' \
TCL_PACKAGE_PATH='$${TCL_LIBRARY}' \
TCL_SHLIB_LD_EXTRAS='-Wl,-soname,$${TCL_LIB_FILE}' \
oh-autoconfigure -s src/unix -B src/unix -- \
@@ -20,11 +19,13 @@ configure:
touch $@
build: configure
- oh-autobuild -s src/unix -B src/unix
+ oh-autobuild -s src/unix -B src/unix -- \
+ TCL_LIBRARY='/usr/share/$(OPK_SOURCE)'
touch $@
install: build
oh-autoinstall -s src/unix -B src/unix -- \
+ TCL_LIBRARY='/usr/share/$(OPK_SOURCE)' \
MANN_INSTALL_DIR='$$(MAN_INSTALL_DIR)/man3'
for dir in generic unix compat libtommath; do \
mkdir -p dest/usr/include/$(OPK_SOURCE)/tcl-private/$${dir}; \